Need to deploy without physical ASPX pages

  • Thread starter Thread starter joe
  • Start date Start date
J

joe

Is there a way to deploy a web site with several physical aspx pages left out?

Say the client requests ABC.aspx. I want to intercept the request (which I already do with a custom HttpModule) and then Server.Transfer() to another page. Everything works, except that at this point I still have to deploy a meaningless and empty ABC.aspx page.

BTW: I do this to assist Search Engines to better index our site without name/value pairs on the URL.

Thanks,
Joe
 
Hi Joe:

At what point are you intercepting the request? Using
Application_BeginRequest should be early enough to avoid needing
ABC.aspx to exist.

Also, in the IIS script mappings for your application (Home Directory
-> Configuration -> Mappings in the MMC), verify that ASPX has "Verify
that file exists" unchecked.
 
Back
Top