Last post Apr 08, 2006 10:13 PM by SomeNewKid
Apr 04, 2006 03:52 PM|Deepakonwww|LINK
Apr 04, 2006 09:06 PM|SomeNewKid|LINK
Now Whenever I write a url for testing URL Rewriting It giives following output In FireFox.
Apr 05, 2006 06:39 PM|Deepakonwww|LINK
Apr 05, 2006 11:31 PM|SomeNewKid|LINK
First, I would not recommend that you use an HttpHandler to do your URL rewriting. This will mess with your ability to use authentication and authorization to secure your website. I have always used an HttpModule to do the URL rewriting, and it has always
worked without much issue. I've outlined the HttpModule process in the following thread:
URL Rewriting HttpModule.
Second, removing the extension (such as .aspx) cannot be done without making a change in IIS. Without making a change in IIS, then a request for /page/without/extension will not get passed to your ASP.NET application, so you simply do not have the chance
to handle the request. You need to add what's known as a wildcard mapping from IIS to ASP.NET. I've outlined this process in the following thread:
URL rewriting and culture codes - Request for Comments ...
To start with, just get the HttpModule working for pages with an .aspx extension. Then, once the module is working, you can toy with IIS and remove the extension.
I hope that these two threads (they're both extensive) put you on the right path.
Apr 07, 2006 10:10 PM|Deepakonwww|LINK
Apr 08, 2006 10:13 PM|SomeNewKid|LINK
Means I can see the MasterPage but the respective page doesn't load in the ContentPlaceHolder.
However, I recommend that you create for yourself a very simple message log. Create a utility class that will accept a message string, so that every part of your code can submit messages. At the end of the page request, the utility class writes all of
the messages to a text file. Once you have a message log in place, you can update your master page and content page so that they write messages, which will help you pin-point the problem.