SharePoint project structure for Custom Claims Provider

Answered SharePoint project structure for Custom Claims Provider

  • 2012年7月10日 20:16
     
     

    I have been reading the following article to create a Custom Claims Provider: http://technet.microsoft.com/en-us/library/hh487289.aspx

    However, this article provides a manual method to create the SharePoint assembly, register it in the GAC and then manually create a Feature.xml file to register the feature and be able to use it within the site.

    Instead, I would like to be able to properly create a SharePoint project structure containing my Custom Claims Provider class(es) as well as my Custom Claims Feature Receiver so that it deploys directly through Visual Studio and displays amongst my list of available Claims Providers in the SharePoint People Picker.

    Is there a sample Visual Studio project structure someone has created to successfully deploy a Custom Claims Provider without all of this manual effort?

    Essentially, I want to be able to simply right click on my Visual Studio SharePoint project, select Deploy and then be able to begin using my Custom Claims Provider.

    Please advise.

全部回复