Last post Dec 29, 2009 12:34 AM by Song-Tian - MSFT
Dec 22, 2009 11:02 PM|ravesoft|LINK
i have a question regarding which is best choice to url re writing with following requriments
1.ASP.NEt 3.5 (or later version
3.this site is commnitity site
Please suggest idea and what are advatanges and disadvantage to both.
Dec 23, 2009 05:55 AM|ravesoft|LINK
No one have idea about this?
Dec 23, 2009 06:11 AM|HerryAtHotmail|LINK
best way is to Inject Custom "HttpModule" in Request path. and register it in web.config.
this is sample implementation.
class RewriteModule : IHttpModule
Dec 23, 2009 08:48 AM|Sonam|LINK
which is best choice to url re writing?
The same thing was in my brain for last few days
Finally I have decided to go through Routing.
I am still implementing these thing with my project.
But its clear to me now I am on the way to get this thing
All The Best
Dec 23, 2009 12:00 PM|ravesoft|LINK
when you have done succesfully, please share with us
Dec 27, 2009 09:39 PM|ravesoft|LINK
any more ideas about my questions?
Dec 27, 2009 11:04 PM|malcolms|LINK
Well since ASP.NET 3.5 SP1 web form apps can now do URL rewritting like ASP.NET MVC, so personally I'd use what's built-in.
Dec 27, 2009 11:15 PM|ravesoft|LINK
Thank you, i have implmented url re writing usign rewritepath, after i see this url routing i have confusion which one is best.can you give me exactlly which one is less security risk and work with good performance.
Normal url rewriting or url routing?
thank you once agian.
Dec 28, 2009 02:29 AM|Song-Tian - MSFT|LINK
URL rewriting can be implemented either with ISAPI filters at the IIS Web server level, or with either HTTP modules or HTTP handlers at the ASP.NET level. However, numerous third-party ISAPI filters available for URL rewriting, such as:
It is up to your scenario which one you decide.
For more details, please refer:http://msdn.microsoft.com/en-us/library/ms972974.aspx .
Dec 28, 2009 02:41 AM|ravesoft|LINK
Thank you for your reply, but i have question in my prevoiuse post
thank you once agian.
Dec 28, 2009 03:25 AM|Song-Tian - MSFT|LINK
I think maybe URL Routing will be better.
Dec 28, 2009 04:44 AM|ravesoft|LINK
Thank you for your reply , do you have any strong points to your suggestions
Dec 29, 2009 12:34 AM|Song-Tian - MSFT|LINK
For more details, please refer:http://learn.iis.net/page.aspx/496/iis-url-rewriting-and-aspnet-routing/ .