Create Silverlight Graphs to use SharePoint 2010 Data

When finished, you will have a Silverlight Pie chat that will be using a SharePoint Tasks list and group by Status like this: Prepare SharePoint to use Silverlight: Need to put the following two files in the root of your SharePoint Web Application: ClientAccessPolicy.xml <?xml version="1.0" encoding="utf-8"?> <access-policy> <cross-domain-access> <policy> …

SharePoint 2010 batch files to install DLLs into the GAC

Instead of manually coping over DLLs into the GAC you can use following bat files: 1.CopyDLLsToHere.bat copy ..\..\bin\Debug\*.dll . 2.Install_DLLs_Application_into_GAC @echo off call GAC_DLLs DLLName iisreset GAC_DLLs.bat ECHO OFF ECHO Adding %1 to GAC Set CurrentFolder=%~dp0% call "%VS100COMNTOOLS%..\..\VC\vcvarsall.bat" x86 cd %currentFolder% GACUTIL -if %1.dll Steps to use: Compile project to …

SharePoint 2010 PowerShell scripts to install Web Parts and Features

For development you can use Visual Studio 2010  features (right click deploy) to install web parts and features, but once you get into testing/staging and production enviornemnts you can use the following script Web Parts POWERSHELL-SharePoint-WebPart.ps1 Add-PsSnapin Microsoft.SharePoint.PowerShell Write-Host "Initializing parameters" $featureAction=$args[3] $CurrentDir=$args[0] $solutionName=$args[1] + ".wsp" $webpartName=$args[1] $SolutionPath=$CurrentDir + "\" + …

How to find out what process is running SharePoint 2010 so you can connect to debug

create a batch file called spr.bat and put following in it @echo off PATH=%PATH%;c:\windows\system32\inetsrv appcmd list wp open cmd window where spr.bat file is and run it Output: WP "9892" (applicationPool:SharePoint – 80) WP "1784" (applicationPool:SecurityTokenServiceApplicationPool) WP "8528" (applicationPool:9ce61ca73f1b467e9220944802480282) WP "9768" (applicationPool:SharePoint Central Administration v4) So I would connect to …