web.config.transform 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <configuration>
  2. <configSections>
  3. <section name="uri" type="System.Configuration.UriSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  4. <sectionGroup name="dotNetOpenAuth" type="DotNetOpenAuth.Configuration.DotNetOpenAuthSection, DotNetOpenAuth.Core">
  5. <section name="openid" type="DotNetOpenAuth.Configuration.OpenIdElement, DotNetOpenAuth.OpenId" requirePermission="false" allowLocation="true" />
  6. </sectionGroup>
  7. </configSections>
  8. <uri>
  9. <!-- The uri section is necessary to turn on .NET 3.5 support for IDN (international domain names),
  10. which is necessary for OpenID urls with unicode characters in the domain/host name.
  11. It is also required to put the Uri class into RFC 3986 escaping mode, which OpenID and OAuth require. -->
  12. <idn enabled="All"/>
  13. <iriParsing enabled="true"/>
  14. </uri>
  15. <runtime>
  16. <!-- When targeting ASP.NET MVC 3, this assemblyBinding makes MVC 1 and 2 references relink
  17. to MVC 3 so libraries such as DotNetOpenAuth that compile against MVC 1 will work with it.
  18. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  19. <dependentAssembly>
  20. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  21. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  22. </dependentAssembly>
  23. </assemblyBinding>
  24. -->
  25. </runtime>
  26. <dotNetOpenAuth>
  27. <!-- This is an optional configuration section where aspects of dotnetopenauth can be customized. -->
  28. <!-- For a complete set of configuration options see http://www.dotnetopenauth.net/developers/code-snippets/configuration-options/ -->
  29. <openid>
  30. </openid>
  31. </dotNetOpenAuth>
  32. </configuration>