web.config.transform 1.5 KB

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