diff options
-rw-r--r-- | lib/System.Web.Abstractions.dll | bin | 84800 -> 77824 bytes | |||
-rw-r--r-- | lib/System.Web.Mvc.dll | bin | 187200 -> 186176 bytes | |||
-rw-r--r-- | lib/System.Web.Routing.dll | bin | 68416 -> 61440 bytes | |||
-rw-r--r-- | samples/OAuthConsumer/SampleWcf.aspx.cs | 2 | ||||
-rw-r--r-- | samples/OAuthConsumer/Web.config | 25 | ||||
-rw-r--r-- | src/DotNetOpenAuth/Messaging/Channel.cs | 5 |
6 files changed, 5 insertions, 27 deletions
diff --git a/lib/System.Web.Abstractions.dll b/lib/System.Web.Abstractions.dll Binary files differindex 317242e..d3920a5 100644 --- a/lib/System.Web.Abstractions.dll +++ b/lib/System.Web.Abstractions.dll diff --git a/lib/System.Web.Mvc.dll b/lib/System.Web.Mvc.dll Binary files differindex 10b038f..fb88363 100644 --- a/lib/System.Web.Mvc.dll +++ b/lib/System.Web.Mvc.dll diff --git a/lib/System.Web.Routing.dll b/lib/System.Web.Routing.dll Binary files differindex 93f0ff8..3879747 100644 --- a/lib/System.Web.Routing.dll +++ b/lib/System.Web.Routing.dll diff --git a/samples/OAuthConsumer/SampleWcf.aspx.cs b/samples/OAuthConsumer/SampleWcf.aspx.cs index db58cea..e733970 100644 --- a/samples/OAuthConsumer/SampleWcf.aspx.cs +++ b/samples/OAuthConsumer/SampleWcf.aspx.cs @@ -98,7 +98,7 @@ public partial class SampleWcf : System.Web.UI.Page { Session["WcfTokenManager"] = tokenManager; } MessageReceivingEndpoint oauthEndpoint = new MessageReceivingEndpoint( - new Uri("http://localhost:65169/ServiceProvider/OAuth.ashx"), + new Uri("http://localhost:65169/OAuthServiceProvider/OAuth.ashx"), HttpDeliveryMethods.PostRequest); WebConsumer consumer = new WebConsumer( new ServiceProviderDescription { diff --git a/samples/OAuthConsumer/Web.config b/samples/OAuthConsumer/Web.config index 60efcee..7d7f6aa 100644 --- a/samples/OAuthConsumer/Web.config +++ b/samples/OAuthConsumer/Web.config @@ -148,24 +148,6 @@ algorithmSuite="Default" establishSecurityContext="true" /> </security> </binding> - <binding name="WSHttpBinding_IDataApi1" closeTimeout="00:01:00" - openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" - bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" - maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" - textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> - <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" - maxBytesPerRead="4096" maxNameTableCharCount="16384" /> - <reliableSession ordered="true" inactivityTimeout="00:10:00" - enabled="false" /> - <security mode="Message"> - <transport clientCredentialType="Windows" proxyCredentialType="None" - realm=""> - <extendedProtectionPolicy policyEnforcement="Never" /> - </transport> - <message clientCredentialType="Windows" negotiateServiceCredential="true" - algorithmSuite="Default" establishSecurityContext="true" /> - </security> - </binding> </wsHttpBinding> </bindings> <client> @@ -176,13 +158,6 @@ <dns value="localhost" /> </identity> </endpoint> - <endpoint address="http://localhost:65169/OAuthServiceProvider/DataApi.svc" - binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IDataApi1" - contract="SampleServiceProvider.IDataApi" name="WSHttpBinding_IDataApi1"> - <identity> - <dns value="localhost" /> - </identity> - </endpoint> </client> </system.serviceModel> </configuration> diff --git a/src/DotNetOpenAuth/Messaging/Channel.cs b/src/DotNetOpenAuth/Messaging/Channel.cs index 2c5752d..de6b5ec 100644 --- a/src/DotNetOpenAuth/Messaging/Channel.cs +++ b/src/DotNetOpenAuth/Messaging/Channel.cs @@ -746,11 +746,14 @@ namespace DotNetOpenAuth.Messaging { message.EnsureValidMessage(); if (Logger.Channel.IsInfoEnabled) { + var directedMessage = message as IDirectedProtocolMessage; + string recipient = (directedMessage != null && directedMessage.Recipient != null) ? directedMessage.Recipient.AbsoluteUri : "<response>"; var messageAccessor = this.MessageDescriptions.GetAccessor(message); Logger.Channel.InfoFormat( - "Prepared outgoing {0} ({1}) message: {2}{3}", + "Prepared outgoing {0} ({1}) message for {2}: {3}{4}", message.GetType().Name, message.Version, + recipient, Environment.NewLine, messageAccessor.ToStringDeferred()); } |