Re: Hide ASPX Extension

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



How about this, if I can't do this then I loose a 500K contract, is that underlying issue good enough to require the hiding of an extension!
"gerry" <germ@xxxxxxxxxxxxx> wrote in message news:OqvzSn6eGHA.2456@xxxxxxxxxxxxxxxxxxxxxxx
configure iis to have all requests ( * ) handled by asp.net
configure the appropriate static resource handlers in your web.config - .gif , .js , .css etc
in Application_BeginRequest use url rewriting to send the remaining requests to the proper handler

ie
requests for http://www.mysite.com sent to default.aspx
requests for http://www.mysite.com/products sent to products.aspx
requests for http://www.mysite.com/support sent to support.aspx
...


Gerry

"Matt" <mdframe@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:%23ESWgh5eGHA.4976@xxxxxxxxxxxxxxxxxxxxxxx
Does anyone know how to hide the ASPX extension of web pages in ASP.Net 2.0?

Thanks,

Matt



Relevant Pages

  • Re: Hide ASPX Extension
    ... That method not only hides the extension, ... reducing the throughput for the server where that "solution" is implemented. ... >> requests for http://www.mysite.com sent to default.aspx ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Hide ASPX Extension
    ... reducing the throughput for the server where that "solution" is implemented. ... second frame, with * specified in the default frameset for the number of its rows. ... That will, effectively, hide the extension for the default page but won't overload the server. ... requests for http://www.mysite.com sent to default.aspx ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Hide ASPX Extension
    ... That method not only hides the extension, ... reducing the throughput for the server where that "solution" is implemented. ... >> requests for http://www.mysite.com sent to default.aspx ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Send page requset of page.txt to IIS.ASP
    ... and pass it to ASP.NET runtime engine. ... While for IIS hosted scenario, all the requests first arrive IIS and IIS ... You need to add the extension mapping for those particular ...
    (microsoft.public.dotnet.framework.aspnet)
  • .htaccess for file extensions?
    ... Is there a way to configure .htaccess so that requests for files ending in ... Requests for .htm pages are showing up in my error logs. ... right but the extension should be .html. ...
    (alt.html)