URL rewriting in .NET 4?

情到浓时终转凉″ 提交于 2019-12-22 08:33:49

问题


I heard that in Visual Studio 2010 give built-in functionality for URL rewriting using its URL Routing engine.

I did URL rewriting in earlier version of visual studio by using plug in like intelligencia urlrewrite.

Can any one explain me or guide me to understand that?

Want to implement dynamic and custom url rewriting in my website.


回答1:


Are you refering to .net 4.0 URL Routing ?

URL routing was a capability we first introduced with ASP.NET 3.5 SP1, and which is already used within ASP.NET MVC applications to expose clean, SEO-friendly “web 2.0” URLs. URL routing lets you configure an application to accept request URLs that do not map to physical files. Instead, you can use routing to define URLs that are semantically meaningful to users and that can help with search-engine optimization (SEO).



来源:https://stackoverflow.com/questions/4881168/url-rewriting-in-net-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!