Posts

Showing posts from July, 2011

How to increase Sharepoint Silverlight Webpart Timeout

Often you may see the following message when loading Silverlight webpart on sharepoint. "To re-configure the Web Part or to provide a different Silverlight application (.xap), open the tool pane and then click Configure" You can download SLTimeout webpart and set Timeout property. http://buyevich.blogspot.com/2011/02/setting-time-out-for-silverlight-web.html

Hide Listview webpart Header/Columns

Add Content Editor Webpart to Page and set viewheadertr attribute to none and set Content Editor Webpart as Hidden. <style> .ms-viewheadertr { display: none;} </style> This hides all your list views  header.

Display Images From Database In Silverlight

http://www.dotnetcurry.com/ShowArticle.aspx?ID=220

Modular WPF with MEF (Managed Extensibility Framework) & MVVM

Screencast: Modular WPF with MEF & MVVM Tutorial Part 1 http://mark-dot-net.blogspot.com/2011/07/screencast-modular-wpf-with-mef-mvvm.html Screencast: Modular WPF with MEF & MVVM Tutorial Part 2 http://mark-dot-net.blogspot.com/2011/07/screencast-modular-wpf-with-mef-mvvm_11.html

Data Driven Applications with MVVM

Data Driven Applications with MVVM Part I: The Basics http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-I.-The-Basics.aspx Data Driven Applications with MVVM Part II: Messaging, Unit Testing, and Live Data Sources http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-II.-Messaging-Unit-Testing-and-Live-Data-Sources.aspx  Data Driven Applications with MVVM Part III: Validation, Bringing the UI Closer http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-III.aspx  

Silverlight ViewModel Unit Testing

http://www.timmykokke.com/2010/12/unit-testing-mvvm-in-silverlight-sdn-eventcode-and-slides/ Explains async calls Unit Testing in Silverlight Part1 http://www.silverlightshow.net/items/Silverlight-Testing-Part-1-Testing-the-untested.aspx Part2 http://www.silverlightshow.net/items/Data-Driven-Applications-with-MVVM-Part-II.-Messaging-Unit-Testing-and-Live-Data-Sources.aspx

Creating FAST Managed Properties using Power shell

Add-PSSnapin Microsoft.SharePoint.PowerShell if([Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")-eq$null){throw "Unable to load Microsoft.SharePoint.dll";} Add-PSSnapin Microsoft.FASTSearch.PowerShell if([Reflection.Assembly]::LoadWithPartialName("Microsoft.FASTSearch.PowerShell")-eq$null){throw "Unable to load Microsoft.FASTSearch.dll";} function SetManagedProperties([string]$mpName, [int]$mpType = 0, [string]$cpName, [int]$sortableType = 0, [bool]$isQueryable = $false, [bool]$isRefiner = $false, [string]$ftiName, [int]$indexMapping = 1){     if($mpName -eq $null){         Write-Host "Error: Managed Property Name is null"         return;     }     if($mpType -eq 0){         Write-Host "Error: Managed Property Type should be grater than zero"         return;     }  ...

Power Shell Operators

http://www.computerperformance.co.uk/powershell/powershell_syntax.htm#Operators_