The WIF SDK offers built-in Visual Studio Project Templates for creating new claims-aware ASP.Net applications. The topics in this section provide more information about these templates:
- How to: Build an ASP.NET
Relying Party Application
- How to: Build a WCF
Relying Party Application
- How to: Build an ASP.NET
STS
- How to: Build a WCF
STS
You can access these templates from within Visual Studio. For example, open the File menu, select New / Web site, and select the “Claims-aware ASP.NET Web Site” template. You now have a typical ASP.NET Web Site preconfigured with WIF. All the configuration settings covered in previous sections are already done for you and the Web site has forms authentication enabled.
Note that these templates are available only for C# and hence the Language selection must be set to “Visual CSharp” and also these templates are only IIS based Web sites. These templates are intended to be used as a starting point for building your claims-aware application and due care needs to be taken while building a production claims-aware application against your business needs.
Caution: |
---|
Do not right-click on your project and select “Add STS Reference...” in an ASP.NET STS project. Doing so will overwrite your STS’s metadata. |