Visual Studio Templates

[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]

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:

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.

Warning

Do not right-click your project and select “Add STS Reference...” in an ASP.NET STS project. Doing so will overwrite your STS’s metadata.