Project Description
This project is for the development of the
ITCloud.Web.Routing component, which is a .NET library that provides attribute-based routing for ASP.NET 4.0 MVC and WebForms applications.
History
The original version of the Web Routing component
ITCloud.Web.Mvc was made available on the
IT Cloud Contrib project. If you are using the original component, follow
these instructions to upgrade.
Changes from the Original
Supported Project Types
The Web Routing types are based on .NET 4.0 and can be used in ASP.NET MVC 2, MVC 3 or WebForms projects.
Moved Types
The types that were formerly in ITCloud.Web.Mvc namespace are now in the ITCloud.Web.Routing namespace. The corresponding assembly DLL name has been changed as well. This was done to reflect the fact that there are now types which can be used for both ASP.NET WebForms and MVC.
Obsolete Types
The RouteUtility class has been removed. This has been replaced with the RouteCollectionExtensions class which adds extension methods to the
System.Web.Routing.RouteCollection class. The RouteUtility.RegisterUrlRoutesFromAttributes method has been replaced with RouteExtensions.DiscoverMvcControllerRoutes.
New Types
New types were added to support the Areas feature introduced in ASP.NET MVC 2 and WebForms routing. Other utility types and functions have been added as well.