Monday, February 28, 2011

Working with the ContosoClaimsProviders project

If you have downloaded the sample Contoso Claims Provider from MSDN Code Gallery from here:

You will probably notice that there is no associated documentation with the sample code.  Instead, you are pretty much left to your own devices in terms of understanding how to deploy the code.

Fortunately, once you figure out the elements that you have to alter, the deployment of this code is far more straightforward than the source code download for the SqlClaimProvider (also downloadable from MSDN Code Gallery).

  1. Open Visual Studio
  2. Open the Contoso Claims Provider Visual Studio project
  3. Right click on the Properties for the Visual Studio project
  4. You should now see a set of properties for the deployment
  5. Look at the property for Site URL
  6. By default, this will be populated with a value such as
  7. Change this to your SharePoint 2010 installation URL such as http://localhost
  8. Save the Visual Studio project
  9. Right click on the Visual Studio project and select Deploy
  10. If all goes well, at the end of the deployment operation, you should see a status message stating "Deploy succeeded"

No comments:

Post a Comment