Skip to content

Instantly share code, notes, and snippets.

@b-tiwari
Created November 6, 2017 04:43
Show Gist options
  • Save b-tiwari/41aad37f36449d2c6ca5fc95eae5e740 to your computer and use it in GitHub Desktop.
Save b-tiwari/41aad37f36449d2c6ca5fc95eae5e740 to your computer and use it in GitHub Desktop.
web.config.xml - Claims based identity in MVC
...
...
<system.web.webPages.razor>
    <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.2.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <strong><pages pageBaseType="csWinAuthWClaims.Views.AppCommonViewUtils"></strong>
      <namespaces>
        <add namespace="System.Web.Mvc" />
        <add namespace="System.Web.Mvc.Ajax" />
        <add namespace="System.Web.Mvc.Html" />
        <add namespace="System.Web.Optimization"/>
        <add namespace="System.Web.Routing" />
        <add namespace="csWinAuthWClaims" />
      </namespaces>
    </pages>
  </system.web.webPages.razor>
...
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment