diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2011-09-28 08:00:57 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2011-09-28 08:38:58 -0700 |
commit | 1e2f941bcdb7bfba15e90b78b19487c8c3e91be3 (patch) | |
tree | 86be80a5300096a9b2560c2851943794daf72ca5 /samples/OAuthClient | |
parent | d1ba5762185773b1f75a4dee03a0a203530b2300 (diff) | |
download | DotNetOpenAuth-1e2f941bcdb7bfba15e90b78b19487c8c3e91be3.zip DotNetOpenAuth-1e2f941bcdb7bfba15e90b78b19487c8c3e91be3.tar.gz DotNetOpenAuth-1e2f941bcdb7bfba15e90b78b19487c8c3e91be3.tar.bz2 |
Reverted part of commit 2704b0fb445.
Reverses some of the Send->Respond changes made that are or may be invoked from ASP.NET web forms, since web forms will render HTML after the end of the protocol message.
Diffstat (limited to 'samples/OAuthClient')
-rw-r--r-- | samples/OAuthClient/OAuthClient.csproj | 2 | ||||
-rw-r--r-- | samples/OAuthClient/SignInWithTwitter.aspx.cs | 2 | ||||
-rw-r--r-- | samples/OAuthClient/Twitter.aspx.cs | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/samples/OAuthClient/OAuthClient.csproj b/samples/OAuthClient/OAuthClient.csproj index 7745c24..e857351 100644 --- a/samples/OAuthClient/OAuthClient.csproj +++ b/samples/OAuthClient/OAuthClient.csproj @@ -15,6 +15,7 @@ <AssemblyName>OAuthClient</AssemblyName> <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> <TargetFrameworkProfile /> + <UseIISExpress>false</UseIISExpress> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> @@ -107,6 +108,7 @@ </Compile> <Compile Include="SampleWcf2.aspx.cs"> <DependentUpon>SampleWcf2.aspx</DependentUpon> + <SubType>ASPXCodeBehind</SubType> </Compile> <Compile Include="GoogleApps2Legged.aspx.cs"> <DependentUpon>GoogleApps2Legged.aspx</DependentUpon> diff --git a/samples/OAuthClient/SignInWithTwitter.aspx.cs b/samples/OAuthClient/SignInWithTwitter.aspx.cs index 4268c7f..04b302c 100644 --- a/samples/OAuthClient/SignInWithTwitter.aspx.cs +++ b/samples/OAuthClient/SignInWithTwitter.aspx.cs @@ -33,7 +33,7 @@ } protected void signInButton_Click(object sender, ImageClickEventArgs e) { - TwitterConsumer.StartSignInWithTwitter(this.forceLoginCheckbox.Checked).Respond(); + TwitterConsumer.StartSignInWithTwitter(this.forceLoginCheckbox.Checked).Send(); } } }
\ No newline at end of file diff --git a/samples/OAuthClient/Twitter.aspx.cs b/samples/OAuthClient/Twitter.aspx.cs index 03824a8..9c0cb9a 100644 --- a/samples/OAuthClient/Twitter.aspx.cs +++ b/samples/OAuthClient/Twitter.aspx.cs @@ -47,7 +47,7 @@ this.AccessToken = accessTokenResponse.AccessToken; } else if (this.AccessToken == null) { // If we don't yet have access, immediately request it. - twitter.Channel.Respond(twitter.PrepareRequestUserAuthorization()); + twitter.Channel.Send(twitter.PrepareRequestUserAuthorization()); } } } |