CopyPastor

Detecting plagiarism made easy.

Score: -1; Reported for: Open both answers

Possible Plagiarism

Plagiarized on 2014-06-25

Original Post

Original - Posted on 2009-03-04



            
Present in both answers; Present only in the new answer; Present only in the old answer;

Add a wildcard mapping, which will route all requests through ASP.NET:
**http://professionalaspnet.com/archive/2007/07/27/Configure-IIS-for-Wildcard-Extensions-in-ASP.NET.aspx**
You'll also need to do some URL rewriting, to allow the incoming request **http://pcname.com/soap/MyWebService to map to http://pcname.com/soap/MyWebService.asmx.**
**http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx**
Basically, you could add something like the following to your `Application_BeginRequest` method:
string path = Request.Path; if (path.Contains("/soap/") && !path.EndsWith(".asmx")) Context.RewritePath(path + ".asmx");
I haven't tested it (and it's a HACK) but it should get you started.
this may help. thanks
Add a wildcard mapping, which will route all requests through ASP.NET:
<http://professionalaspnet.com/archive/2007/07/27/Configure-IIS-for-Wildcard-Extensions-in-ASP.NET.aspx>
You'll also need to do some URL rewriting, to allow the incoming request `http://localhost/soap/MyWebService` to map to `http://localhost/soap/MyWebService.asmx`.
<http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx>
Basically, you could add something like the following to your `Application_BeginRequest` method:
string path = Request.Path; if (path.Contains("/soap/") && !path.EndsWith(".asmx")) Context.RewritePath(path + ".asmx");
I haven't tested it (and it's a HACK) but it should get you started.

        
Present in both answers; Present only in the new answer; Present only in the old answer;