SharePoint 2010
From Richard's Wiki
Contents
- mssharepointdeveloper.com
- SharePoint 2010 MSDN Reference pages
- SharePoint 2010 (Beta) Developer Center
- Sharepoint 2010 Beta (OBSOLETE) Developer Training Kit
- Sharepoint 2010 Developer Training Kit
- Microsoft SharePoint Server 2010: Deprecated Types and Methods
- SharePoint 2010 Dev Center Ramps Up, Adds BCS Resources (Visual Studio Magazine)
- Setting Up the Development Environment for SharePoint Server (MSDN, for SP2010) http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx
- SharePoint 2010 Training (Arpan Shah's blogs.msdn.com)
- SharePoint 2010: Professional Developer Evaluation Guide and Walkthroughs (Microsoft Document Download)
- SharePoint 2010 Books list
BCS
- If you get an IIS error "HTTP Error 503. The service is unavailable" and Application Log in event viewer contains "The Module DLL 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\owssvr.dll' could not be loaded due to a configuration problem", ensure that the enable32BitAppOnWin64 (Enable 32-Bit Applications) setting for the SharePoint webapp app pool is set to False, and the same for the "SharePoint Web Services Root" app pool
- Common problem with SharePoint 2010: System.Security.Cryptography.CryptographicException - Keyset does not exist
- Fix the SharePoint DCOM 10016 error on Windows Server 2008 R2 (AppId 61738644-F196-11D0-9953-00C04FD919C1) and DCOM Fun with SharePoint Event Log error:
Description: The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID {61738644-F196-11D0-9953-00C04FD919C1} to the user l SID (S-1-5-21-573225893-205518295-00000000000-00000). This security permission can be modified using the Component Services administrative tool.
- SharePoint GUID Collision Avoidance
- Connect Web Parts in SharePoint 2010 (MSDN)
- Connect to SQL Server, .Net Objects & WCF Services using BCS in SP2010
- Save as Template URL: /_layouts/savetmpl.aspx
- Solution Gallery Solutions URL: /_catalogs/solutions
- SharePoint 2010 Won't Open PDFs - Select Manage Web Applications in Central Administration. Select the web application you want to change from the list and click General Settings from the Ribbon. There is a setting called Browser File Handling and by default it is set to strict. This causes additional HTTP headers to be injected which in my case blocks the opening of PDF files. Switching that to permissive will allow things to function like they did in SharePoint 2007, specifically PDFs will open up in browser instead of having to save them.
- Easily show a Favicon in SharePoint 2010
- Programmatically work with External Lists (BCS) in SharePoint 2010
- Having fun with the new LINQ to SharePoint on SharePoint 2010 (SP2010)
- Deploying an External List via Feature Using CAML (SP2010)
- Creating a Web Part with Custom Properties
- To add a custom property to an SP2010 web part, add the following to the WebPart.cs source code file, the one which extends System.Web.UI.WebControls.WebParts.WebPart (see SharePoint 2010 Visual Web Parts
[System.Web.UI.WebControls.WebParts.WebBrowsable(true)] [System.Web.UI.WebControls.WebParts.WebDisplayName("Custom Property")] [System.Web.UI.WebControls.WebParts.WebDescription("A test Custom property.")] [System.Web.UI.WebControls.WebParts.Personalizable(PersonalizationScope.User)] [System.ComponentModel.Category("Settings")] [System.ComponentModel.DefaultValue("Default String Value")] public string CustomProp { get; set; }
- Deploying a Silverlight application to SharePoint 2010
- Getting Started With Silverlight and SharePoint 2010
- Modify WebPart menu (Understanding and working with Web Part Verbs)
- SharePoint 2010 Silverlight Client Object Model - How to use
- In Silverlight, ClientContext.Current is null - how to fix it. In your Silverlight Object Tag, add the following:
"<param name=\"initParams\" value=\"MS.SP.url=" + SPContext.Current.Site.Url + "\" />"
- Turn on the Developer Dashboard by running the following stsadm command:
stsadm -o setproperty -pn developer-dashboard -pv OnDemand
- In VS2010, can make the following changes to
- Elements.xml: change the
<Property Name="Group" Value="Custom" />
to something other than Custom. - Webpart.webpart (webPartIcon is 16x16):
- Elements.xml: change the
<property name="ChromeType" type="chrometype">TitleAndBorder</property> <property name="CatalogIconImageUrl" type="string">_layouts/images/ContosoWebParts/WebPartIcon.gif</property> <property name="TitleIconImageUrl" type="string">_layouts/images/ContosoWebParts/WebPartIcon.gif</property>
- Elements.xml, modify the URL attribute of File element to change the .webpart file name to ensure that it is unique. Do this by prepending the text value of "ContosoWebParts_" (ie Feature project name) to the beginning of the URL property value.