diff options
-rw-r--r-- | samples/InfoCardRelyingParty/web.config | 5 | ||||
-rw-r--r-- | samples/OAuthConsumer/Web.config | 5 | ||||
-rw-r--r-- | samples/OAuthConsumerWpf/App.config | 5 | ||||
-rw-r--r-- | samples/OAuthServiceProvider/Web.config | 5 | ||||
-rw-r--r-- | samples/OpenIdProviderMvc/Web.config | 18 | ||||
-rw-r--r-- | samples/OpenIdProviderWebForms/Web.config | 7 | ||||
-rw-r--r-- | samples/OpenIdRelyingPartyMvc/Web.config | 9 | ||||
-rw-r--r-- | samples/OpenIdRelyingPartyWebForms/Web.config | 7 |
8 files changed, 51 insertions, 10 deletions
diff --git a/samples/InfoCardRelyingParty/web.config b/samples/InfoCardRelyingParty/web.config index b3b8654..f14d14b 100644 --- a/samples/InfoCardRelyingParty/web.config +++ b/samples/InfoCardRelyingParty/web.config @@ -43,6 +43,11 @@ <appSettings/> <connectionStrings/> + + <system.net> + <defaultProxy enabled="true" /> + </system.net> + <system.web> <!-- Set compilation debug="true" to insert debugging diff --git a/samples/OAuthConsumer/Web.config b/samples/OAuthConsumer/Web.config index 2904174..e0ffcbe 100644 --- a/samples/OAuthConsumer/Web.config +++ b/samples/OAuthConsumer/Web.config @@ -25,6 +25,11 @@ <add key="googleConsumerSecret" value=""/> </appSettings> <connectionStrings/> + + <system.net> + <defaultProxy enabled="true" /> + </system.net> + <system.web> <!-- Set compilation debug="true" to insert debugging diff --git a/samples/OAuthConsumerWpf/App.config b/samples/OAuthConsumerWpf/App.config index 9780370..bfe1c86 100644 --- a/samples/OAuthConsumerWpf/App.config +++ b/samples/OAuthConsumerWpf/App.config @@ -3,6 +3,11 @@ <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler" requirePermission="false" /> </configSections> + + <system.net> + <defaultProxy enabled="true" /> + </system.net> + <log4net> <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender"> <file value="Testing.log" /> diff --git a/samples/OAuthServiceProvider/Web.config b/samples/OAuthServiceProvider/Web.config index f4bd208..8fad999 100644 --- a/samples/OAuthServiceProvider/Web.config +++ b/samples/OAuthServiceProvider/Web.config @@ -19,6 +19,11 @@ <add name="DatabaseConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" /> </connectionStrings> + + <system.net> + <defaultProxy enabled="true" /> + </system.net> + <system.web> <!-- Set compilation debug="true" to insert debugging diff --git a/samples/OpenIdProviderMvc/Web.config b/samples/OpenIdProviderMvc/Web.config index 52a7e4b..208e827 100644 --- a/samples/OpenIdProviderMvc/Web.config +++ b/samples/OpenIdProviderMvc/Web.config @@ -43,6 +43,24 @@ </messaging> </dotNetOpenAuth> <appSettings/> + + <!-- 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. --> + <uri> + <idn enabled="All" /> + <iriParsing enabled="true" /> + </uri> + + <system.net> + <defaultProxy enabled="true" /> + <settings> + <!-- This setting causes .NET to check certificate revocation lists (CRL) + before trusting HTTPS certificates. But this setting tends to not + be allowed in shared hosting environments. --> + <!--<servicePointManager checkCertificateRevocationList="true"/>--> + </settings> + </system.net> + <system.web> <!-- Set compilation debug="true" to insert debugging diff --git a/samples/OpenIdProviderWebForms/Web.config b/samples/OpenIdProviderWebForms/Web.config index 85b3c30..04d0416 100644 --- a/samples/OpenIdProviderWebForms/Web.config +++ b/samples/OpenIdProviderWebForms/Web.config @@ -48,11 +48,12 @@ <iriParsing enabled="true"/> </uri> - <!-- This setting causes .NET to check certificate revocation lists (CRL) - before trusting HTTPS certificates. But this setting tends to not - be allowed in shared hosting environments. --> <system.net> + <defaultProxy enabled="true" /> <settings> + <!-- This setting causes .NET to check certificate revocation lists (CRL) + before trusting HTTPS certificates. But this setting tends to not + be allowed in shared hosting environments. --> <!--<servicePointManager checkCertificateRevocationList="true"/>--> </settings> </system.net> diff --git a/samples/OpenIdRelyingPartyMvc/Web.config b/samples/OpenIdRelyingPartyMvc/Web.config index b051162..d865be1 100644 --- a/samples/OpenIdRelyingPartyMvc/Web.config +++ b/samples/OpenIdRelyingPartyMvc/Web.config @@ -48,12 +48,13 @@ <iriParsing enabled="true" /> </uri> - <!-- This setting causes .NET to check certificate revocation lists (CRL) - before trusting HTTPS certificates. But this setting tends to not - be allowed in shared hosting environments. --> <system.net> + <defaultProxy enabled="true" /> <settings> - <servicePointManager checkCertificateRevocationList="true"/> + <!-- This setting causes .NET to check certificate revocation lists (CRL) + before trusting HTTPS certificates. But this setting tends to not + be allowed in shared hosting environments. --> + <!--<servicePointManager checkCertificateRevocationList="true"/>--> </settings> </system.net> diff --git a/samples/OpenIdRelyingPartyWebForms/Web.config b/samples/OpenIdRelyingPartyWebForms/Web.config index 06ea731..9c281a4 100644 --- a/samples/OpenIdRelyingPartyWebForms/Web.config +++ b/samples/OpenIdRelyingPartyWebForms/Web.config @@ -32,11 +32,12 @@ <iriParsing enabled="true" /> </uri> - <!-- This setting causes .NET to check certificate revocation lists (CRL) - before trusting HTTPS certificates. But this setting tends to not - be allowed in shared hosting environments. --> <system.net> + <defaultProxy enabled="true" /> <settings> + <!-- This setting causes .NET to check certificate revocation lists (CRL) + before trusting HTTPS certificates. But this setting tends to not + be allowed in shared hosting environments. --> <!--<servicePointManager checkCertificateRevocationList="true"/>--> </settings> </system.net> |