Inbound URLs are easy - simply grab a tool like URL Rewriter<http://www.iis.net/download/urlrewrite>, create a rule to map incoming requests that do not have .aspx to include the aspx in the processing of the request and you are done.
The problem, however, is outbound URLs. Your site/app generates URLs everywhere and every one of those contains a link to *something*.aspx and which is the very format you are trying to get away from. You can either rewrite your entire app to not include the .aspx or you can put something in the pipeline to filter those out of the pages before they are sent to the user. Again, URL Rewriter can do this<http://learn.iis.net/page.aspx/657/creating-outbound-rules-for-url-rewrite-module/>, but it takes a while to get the rules right. Another fairly common approach is to simply write your own httpModule<http://msdn.microsoft.com/en-us/library/ms227673.aspx>and do the processing yourself. Bear in mind that any utility that rewrites outbound page content may cause problems with server-side caching. On Mon, Oct 3, 2011 at 11:55 AM, Gourav <[email protected]> wrote: > Dear All, > > I had very much googling to find out. > How to hide Hide .aspx From All Web Pages? > But i didn't get any satisfaction answer.So any body can tell me how > can i do.Or if any one have a small project then please provide me for > better understanding. I'll be waiting for reply.Thanks in advance. > > @All : Please don't provide any google tiny url.Because i know how to > search in Google. :) > > -- > You received this message because you are subscribed to the Google > Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML > Web Services,.NET Remoting" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en > or visit the group website at http://megasolutions.net > -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
