When user request for an application. Firstly IIS checks the .aspx extension.
I have one doubt. If IIS only accepts .aspx or any other extension. for suppose i want .santosh extension ie., instead of one.aspx IIS should accept one.santosh. Is it possible.
please help me
thank you.
Loading
Jean PaulPosted Nov 4, 2011, 10:56 AM
It invoked some thoughts and I just verified this with the application by changing the extension to .abcd through http handler and it worked fine. Eg: http://localhost:32971/certificates/100.abcd
Regarding the MIME I did a quick check and found that extensions registered as MIME are considered static files on the server.
So I believe Sreekanth wanted some custom extensions and it is possible through handlers.
Both of you please correct me if I understood it wrongly.
Regards,
Jean Paul
Mahesh ChandPosted Nov 4, 2011, 10:40 AM
http://www.hosting.com/support/iis7/add-a-new-file-extension-or-mime-type-in-iis7--
Jean PaulPosted Nov 4, 2011, 10:39 AM
Eg: http://localhost/test.santhosh POSSIBLE
You an refer the following article;
http://www.c-sharpcorner.com/UploadFile/40e97e/3806/
If happy, please mark as answer