diff options
Diffstat (limited to 'projecttemplates')
-rw-r--r-- | projecttemplates/WebFormsRelyingParty/Web.config | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/projecttemplates/WebFormsRelyingParty/Web.config b/projecttemplates/WebFormsRelyingParty/Web.config index f0b01ff..1d7c29f 100644 --- a/projecttemplates/WebFormsRelyingParty/Web.config +++ b/projecttemplates/WebFormsRelyingParty/Web.config @@ -1,4 +1,12 @@ <?xml version="1.0"?> +<!-- + Note: As an alternative to hand editing this file you can use the + web admin tool to configure settings for your application. Use + the Website->Asp.Net Configuration option in Visual Studio. + A full list of settings and comments can be found in + machine.config.comments usually located in + \Windows\Microsoft.Net\Framework\v2.x\Config +--> <configuration> <configSections> <section name="uri" type="System.Configuration.UriSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> @@ -16,6 +24,7 @@ </sectionGroup> </sectionGroup> </configSections> + <!-- The uri section is necessary to turn on .NET 3.5 support for IDN (international domain names), which is necessary for OpenID urls with unicode characters in the domain/host name. It is also required to put the Uri class into RFC 3986 escaping mode, which OpenID and OAuth require. --> @@ -23,6 +32,7 @@ <idn enabled="All" /> <iriParsing enabled="true" /> </uri> + <system.net> <defaultProxy enabled="true" /> <settings> @@ -32,6 +42,7 @@ <servicePointManager checkCertificateRevocationList="true" /> </settings> </system.net> + <!-- this is an optional configuration section where aspects of dotnetopenauth can be customized --> <dotNetOpenAuth> <messaging> @@ -56,7 +67,10 @@ <store type="RelyingPartyLogic.NonceDbStore, RelyingPartyLogic"/> </serviceProvider> </oauth> + <!-- Allow DotNetOpenAuth to publish usage statistics to library authors to improve the library. --> + <reporting enabled="true" /> </dotNetOpenAuth> + <!-- log4net is a 3rd party (free) logger library that DotNetOpenAuth will use if present but does not require. --> <log4net> <appender name="AdoNetAppender" type="log4net.Appender.AdoNetAppender"> @@ -249,4 +263,4 @@ </authorization> </system.web> </location> -</configuration>
\ No newline at end of file +</configuration> |