diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-04-03 07:56:31 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-04-03 07:56:31 -0700 |
commit | b57b266d009bbb019535202c76b0ab6d730c20b3 (patch) | |
tree | 8b63db114ef58ee1272e9c007a8deb387cbdb2d3 /samples/OpenIdProviderWebForms/Global.asax.cs | |
parent | 94efa56407a1ef7c7b323179c1ca30d51f959c6a (diff) | |
download | DotNetOpenAuth-b57b266d009bbb019535202c76b0ab6d730c20b3.zip DotNetOpenAuth-b57b266d009bbb019535202c76b0ab6d730c20b3.tar.gz DotNetOpenAuth-b57b266d009bbb019535202c76b0ab6d730c20b3.tar.bz2 |
Removed URLRewriter from OP sample, since it just generates confusion and is incomplete when it stops working when the site is hosted in IIS.
Diffstat (limited to 'samples/OpenIdProviderWebForms/Global.asax.cs')
-rw-r--r-- | samples/OpenIdProviderWebForms/Global.asax.cs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/samples/OpenIdProviderWebForms/Global.asax.cs b/samples/OpenIdProviderWebForms/Global.asax.cs index 79aca23..3048b17 100644 --- a/samples/OpenIdProviderWebForms/Global.asax.cs +++ b/samples/OpenIdProviderWebForms/Global.asax.cs @@ -39,13 +39,6 @@ namespace OpenIdProviderWebForms { } protected void Application_BeginRequest(object sender, EventArgs e) { - /* - * The URLRewriter was taken from http://www.codeproject.com/aspnet/URLRewriter.asp and modified slightly. - * It will read the config section called 'urlrewrites' from web.config and process each rule - * The rules are set of url transformations defined using regular expressions with support for substitutions (the ability to extract regex-matched portions of a string). - * There is only one rule currenty defined. It rewrites urls like: user/john ->user.aspx?username=john - */ - //// System.Diagnostics.Debugger.Launch(); Logger.DebugFormat("Processing {0} on {1} ", this.Request.HttpMethod, this.stripQueryString(this.Request.Url)); if (Request.QueryString.Count > 0) { Logger.DebugFormat("Querystring follows: \n{0}", ToString(Request.QueryString)); @@ -53,8 +46,6 @@ namespace OpenIdProviderWebForms { if (Request.Form.Count > 0) { Logger.DebugFormat("Posted form follows: \n{0}", ToString(Request.Form)); } - - URLRewriter.Process(); } protected void Application_AuthenticateRequest(object sender, EventArgs e) { |