Download ASP.NET 3.5 Routing sample
Description
A simple example of using .NET 3.5's System.Web.Routing assembly with regular WebForms.The sample pages derive from a custom 'RoutablePage' class, but that's not mandatory. For simple routing, you can just derive from Page as usual.If you'd like to use RequestContext's Ge...
Source Files
The download file aspnet35routing.zip has the following entries.
BuildProcessTemplates/DefaultTemplate.11.1.xaml
BuildProcessTemplates/DefaultTemplate.xaml
BuildProcessTemplates/LabDefaultTemplate.11.xaml
BuildProcessTemplates/UpgradeTemplate.xaml
Controls/Menu.ascx// w w w . j a v a 2 s . c om
Controls/SiteMapView.ascx
Css/TestStyle.css
Default.aspx
Global.asax
Global.asax.cs
Helpers/RoutableMasterPage.cs
Helpers/RoutablePage.cs
Helpers/RoutableUserControl.cs
Helpers/RoutingExtensions.cs
Helpers/RoutingHandler.cs
Helpers/RoutingHelper.cs
Helpers/WebFormRouteHandler.cs
Javascript/TestScript.js
Pages/Details.aspx
Pages/NoMaster.aspx
Pages/Search.aspx
Pages/Simple.aspx
Pages/Site.Master
Pages/SubPage1.aspx
Properties/AssemblyInfo.cs
SimpleRoutingTest.csproj
SimpleRoutingTest.csproj.user
Web.config
Web.sitemap
Download
Click the following link to download aspnet35routing.zip.
aspnet35routing.zip