Tuesday 14 August 2012

URL Routing in ASP.net 4.0 with C#

Introduction:
ASP.NET routing enables you to use URLs that do not have to map to specific files in a Web site. Because the URL does not have to map to a file, you can use URLs that are descriptive of the user's action and therefore are more easily understood by users and also it helps for SEO Operation and Security Aspect

Step:1
First Step to start the Routing is to define the Route in Application_Start of Global.asax. Also include namespace System.Web.Routing.


Step:2









Download-Routing-in-RAR-132 KB