A while ago I posted an entry on how to configure your custom claims provider to replace the out of the box claims provider (http://blogs.technet.com/speschka/archive/2010/04/28/how-to-override-the-default-name-resolution-and-claims-provider-in-sharepoint-2010.aspx). I wanted / need to follow up on that posting, because we found some additional details that you will want to have in hand should you go down this route. …
Tag: Development
How Do I Update my WSP with Visual Studio 2010
I saw this funny little behavior today and thought I would share. You may be building applications for SharePoint 2010 with Visual Studio 2010 now and pretty happy with the solution packages (.wsp files) it creates for you. This is definitely one of the great new features in Visual Studio 2010. I was working on…
How Your Client Application can know when your SharePoint 2010 Farm is Busy
SharePoint 2010 has a number of new features built in to keep your farm up and running as happily and healthy as possible. One of the features it uses to do that is called Http Throttling. It allows you to set thresholds for different performance counters. You decide which counters to use and what thresholds…
Creating Custom Error Pages in SharePoint 2010
SharePoint 2010 now provides the ability to create custom error pages. There are some very good reasons for doing this, especially if you have an externally published site. Todd Carter has written an excellent post that describes some of these reasons in detail, along with sample code to register your own custom error page. I…
Writing a Custom Claims Provider for SharePoint 2010 – Part 4: Supporting Resolve Name
In the first three parts of this series we've implemented just about all of the support needed to do an end-to-end claims provider. In this last post I'll describe how to name resolution support in the type-in control. To add this support we'll need to implement the following property and methods: SupportsResolve and FillResolve. Now…
Writing a Custom Claims Provider for SharePoint 2010 – Part 3: Searching Claims
In the first two parts in this series we've seen how to create a custom provider, do claims augmentation and register the provider, as well as how to add a hierarchy to the people picker. In this post we'll talk about how to implement searching for our claims in the people picker with our custom…
Writing a Custom Claims Provider for SharePoint 2010 – Part 2: Adding Support for Hierarchy Nodes
In Part 1 of this series we showed how to create a custom claims provider, and how to do claims augmentation. In part 2 were going to show a simple way to add a hierarchy to the people picker control. In and of itself this isn't necessarily interesting, but when we get to part 3…
Writing a Custom Claims Provider for SharePoint 2010 – Part 1: Claims Augmentation and Registering Your Provider
This is the first in a series of blogs in which I'll talk about writing a custom claims provider. First, it's probably worth understanding a little background on what a claims provider is and why we might want to use one. A claims provider in SharePoint 2010 is primarily used for two reasons – 1)…
"No User Profile Application Available" Mystery in SharePoint 2010
Here's another in what seems like a growing list of permissions gotchas in SharePoint 2010. Assume if you will, you are a crack developer and building a custom application for SharePoint 2010. You're writing code on your development server, which has a FULLY functioning installation of SharePoint 2010. You want to work with some user…
Getting Search Service Applications and Proxies in SharePoint 2010 Object Model
I've been doing a lot of digging around this topic this morning for my Search Explorer for Developers application (more on that in a future post). In general it can be kind of tough to get search service applications and proxies when working without an HttpContext (like in a winforms app). Even with context, it's…