locked
Existing asp.net project need to have url rewriting feature! RRS feed

  • Question

  • User-786643629 posted

    Existing asp.net project need to have url rewriting feature!

    Should we go thrugh MVC or is there any thing else?

    Please help

    With Best Regard

       Sonam

    Wednesday, December 23, 2009 1:16 AM

Answers

  • User1564875471 posted

    Hi,

    You can use the ASP.NET 3.5 routing features(which is used by MVC) in your web form site and without using MVC.

    See this article.

    http://www.4guysfromrolla.com/articles/051309-1.aspx


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, December 23, 2009 1:57 AM

All replies

  • User1564875471 posted

    Hi,

    You can use the ASP.NET 3.5 routing features(which is used by MVC) in your web form site and without using MVC.

    See this article.

    http://www.4guysfromrolla.com/articles/051309-1.aspx


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, December 23, 2009 1:57 AM
  • User-1963923283 posted

    Hi

    Good poiting, but i'm asking which one is best ? asp.net routing or urlrewriter?


    thank you

    Wednesday, December 23, 2009 4:06 AM
  • User-786643629 posted

    Thank you very much anas

    This is what I was looking for .... To the point approach....

    Excellent Article you have shown me.

    Thanks again for your replay..


    With Best Regard 

      Sonam

    Wednesday, December 23, 2009 4:47 AM
  • User-1963923283 posted

    Hi

    In this way there are some bugs


    1. sessionstate not keeping page

    2.you need handle all not .aspx extension also

    3.search engine issues also have some issues


    i did long research to this, now i move to own httphandler.


    http://todotnet.com/post/2006/07/01/Get-GoogleBot-to-crash-your-NET-20-site.aspx


    http://www.mattcutts.com/blog/asp-net-2-and-url-rewriting-sometimes-harmful/


    http://nayyeri.net/use-fiddler-to-test-restful-wcf-services


    thank you


    Wednesday, December 23, 2009 12:05 PM