Onteora Software

Ken Tucker's Blog
posts - 145, comments - 621, trackbacks - 0

August 2008 Entries

Asp.Net Routing

  New to the .Net Framework 3.5 SP 1 is the System.Web.Routing namespace.  The classes in the routing namespace allow you to use urls that do not map to a web page.     For this example I created a new web application.  To start off with lets add a reference to the system.web.routing and system.web.abstractions.  Open up the web.config file and lets add the UrlRoutingModule to the httpmodules section           <httpModules>            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>      <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />    </httpModules>   Next we need to add a WebFormRouteHandler class which will...

posted @ Monday, August 18, 2008 1:41 PM | Feedback (25) |

Powered by: