Managing Document Templates with Content Types and Content Type Hub

Recently I wanted to manage a central set of document templates associated with content types across a number of site collections.  We also wanted to look at using content type syndication with content types that have a document template applied.  Document templates need to either be stored in the site collection where the content type…

0

BCS – developing a .NET assembly connector presentation and demo

I’m attaching a presentation and code for developing an assembly connector for SharePoint 2010 BCS.  I plan to do a series of blogs about different elements of the solution, but wanted to get this posted for those that attended my talk.  It illustrates a connector that supports streaming, configuration, and secure store.  Unfortunately the code…

0

SharePoint 2010 claims and Home Realm Discover – passing whr on the url to SharePoint

Home Realm Discovery is a process to select the trusted identity provider in a federated claims scenario where there is more than one provider that can authenticate users.  The default experience is to have the user select which claims provider to use to authenticate.  Often organizations would like to avoid making their users perform this decision. …

0

SharePoint Guidance Library Hands On Labs Released to Codeplex

The SharePoint Guidance library introduces several components that can be challenging to ramp up on if you aren’t familar with some SharePoint and design concepts like dependency injection.  A great set of HOL’s have been released as a step by step walk through using different components of the SharePoint Guidance Library. SharePoint Guidance 2010 Hands…

0

Handling SharePointServiceLocator failures due to caching

The SharePointServiceLocator in the patterns and practices SharePoint library implements a dependency injection pattern for decoupling service providers from service consumers.  It achieves this by mapping an interface to an implementing class.  The consumer of the implementation only has a dependency on the interface, and the service locator has the responsiblity to construct an instance…

0

Using a SharePoint Timer Job to deploy settings in a farm for registering event sources

Creating the timer job Sometimes you need to deploy settings to every web front end, or have a piece of code execute on every web front end.  Your choices in SharePoint are to either have an administrator run a script on each front end, or use a timer job.  This blog post describes how to…

0

Debugging a FeatureInstalled event handler in SharePoint 2010

Updated: An even easier method to do this is to simply launch the debugger by adding a statement to the beginning of the method for Systems.Diagnostics.Debugger.Launch.  Thanks to the suggestion I received on the topic – I misplaced the email, so the input will need to remain anonymous… Updated: Debugging Feature Activated – so I…

0

PDF version of Developing Applications for SharePoint 2010 available

We posted a PDF version of the patterns and practices guidance release, Developing Applications for SharePoint 2010.  This guidance will really help you understand the architecture and development decisions for SharePoint 2010 custom application development, and has rich code examples as well as a reusable library.  The MSDN release is available at www.microsoft.com/spg, and the…

0

Adding a central admin page for managing applications settings

  You can add a page to central administration and add an entry to the central administration menu to manage application settings for the farm or web application.  As I reviewed in my previous post, Using the Applications Setting Manager with Web App Config (Developing Applications for SharePoint 2010), the settings for a farm or…

0

Using the Applications Setting Manager with Web App Config (Developing Applications for SharePoint 2010)

We got a recent post to our discussion forums about managing settings for a web application from a web part.  I thought this would be a good opportunity to go into some more detail about some of the special handling required for Farm and web application settings, with some example code.  Explanation  Web application and Farm…

0