DynamicDataRoute Class
Updated: July 2008
Represents a route that is used by ASP.NET Dynamic Data.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
You use routes to configure Dynamic Data behavior.
The static Routes property of the RouteTable type holds a collection of routes. For Dynamic Data, one or more routes are typically registered (added to the Routes property) in the Application_Start event in the Global.asax file. For example, routes determine whether the details for a row of data should be shown on the same page as the list of rows. They can also determine whether details should appear on the same page as the list of rows for some tables but not others.
You set the Action, ViewName, Table, and Model properties and provide a pattern for the URL in the Route constructor.
Dynamic Data uses the URL pattern that you provide to match URL patterns for requests and to create URLs. For more information, see DynamicDataRoute.
- AspNetHostingPermission
for operating in a hosted environment. Security action: LinkDemand. Associated enumeration: AspNetHostingPermissionLevel.Minimal
- AspNetHostingPermission
for operating in a hosted environment. Security action: InheritanceDemand. Associated enumeration: AspNetHostingPermissionLevel.Minimal
System.Web.Routing.RouteBase
System.Web.Routing.Route
System.Web.DynamicData.DynamicDataRoute
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.