I am just wondering if you are creating a new ASP.NET web form application in ASP.NET 3.5, which would you recommend for rewriting a URL? UrlRewriter.NET or ASP.NET MVC Routing. I used UrlRewriter.NET before and was very pleased with this.
Anyone opinions?
Routing is far superior to IMHO. Instead of pretending (to rewrite URLs to keep SEO types happy), you do this (by making real URLs to keep SEO types happy). Another huge advantage is that routing is reversible - you can easily get the URL from the parameters, which is very convenient.
No, they do very different things. Rewriting URLs accepts the incoming URL and rewrites it before submitting an ASP.NET (or IIS) processing request. URL routing takes the URL in ASP.NET and displays the handler using the parameters found in the URL. Url itself never changes.
UrlRewriter.NET - -, . ASP.NET MVC MVC.
IIS7, URL Rewrite Module.
, .
Asp.Net MVC webform? , , , , , ?
Asp.Net MVC - WebForms, . , , , , , .
Web forms ASP.NET 4.0 (I believe it was introduced in version 3.5 SP1) has built-in routing. It has an advantage over rewriting the modules that it is built in natively within ASP.NET, and therefore does not require the hacks to work correctly.
Thus, you should not look for MVC just because of routing.
Source: https://habr.com/ru/post/1715630/More articles:Извлечение заголовка To: из вложения электронной почты - pythonC ++ default exception exception - c ++WPF data binding to System.Data.Linq.Table how to update the interface? - data-bindinghttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1715628/adding-percentages-to-multiple-counts-in-one-sql-select-query&usg=ALkJrhjcO5rCNxgqc7NNxHBr2fNhQfTduAjquery like extend in C # /. Net - reflectionSaving data for excel sheet in winform vb.net application - c #How [and where] to implement validation using ModelBinder - oopМогу ли я начинать скрипач с С#? - c#sizeWithFont - strange behavior when using the & symbol - iphoneWhat is the easiest way to calculate the smallest integer greater than or equal to a / b? - algorithmAll Articles