I want to use custom extension on my web site.
I mean, I do not want to use "default.aspx", i want to use "default.customext"
How could i do this in web.config or anywhere else?
ps: I have no chance to change the asp.net configuration on IIS
I am using .NET Framework 3.5, Visual Studio 2008 sp1, and target Server is IIS 7
thank you
Best Answer
If you're running on IIS7 integrated mode (which I suggest using), you're good to go. Just map the
customext
toPageHandlerFactory
in<system.webServer>
section of Web.config.IIS7 Classic Mode. Something like: