Groups > Asp .Net > Advanced ASP.NET Architecture > Re: Is ASMX extension required?




Is ASMX extension required?

Is ASMX extension required?
Mon, 24 Mar 2008 17:27:10 +000
Hi, I am new to this forum and have what may be a stupid question, but I can't
find an answer to it. I have an existing Java/Apache Web Service application
which I converted to ASP.Net. I don't want to make any changes to the existing
Java clients and their http request path doesn't end with ASMX. So, is there any
way to configure IIS and/or the web service such the ASMX extension isn't
required?
Post Reply
Re: Is ASMX extension required?
Mon, 24 Mar 2008 17:31:55 +000
sure, but unless you write a custom ISAPI you will have to have SOME extension..


If you want a .IAmCool extention, go right ahead. Just open IIS and go to the
mappings tab and add it....
Post Reply
Re: Is ASMX extension required?
Tue, 25 Mar 2008 14:42:09 +000
Depending on the details of the URL you could have folders, with the
implementation in the default document for that folder.

Otherwise you can map arbitrary extensions to .NET.

If you want to go without extensions it depends on the server. With IIS6 all
requests will go via a wildcard mapping (including for .css, .html and other
static types) so you'll need to provide handlers (or a URL rewriter ISAPI). With
IIS7 the support is better.
Post Reply
about | contact