Click here to Skip to main content
15,312,009 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I've been going through all the blogs and articles that I could find to get a grip on url routing hoping to find an easy-to-follow example of this technique. I haven't found much, at least from a non-expert developer's point of view, such as myself.

I've managed somehow to grasp 4 steps: 1) add the reference to the System.Web.Routing namespace, 2) register the routehandlers in the global.asax file, 3) add the routing module in the httpModule section of the web.config file, 4) write the routehandler class which implements the IRouteHandler interface and its GetHttpHandler function.

What I'd like to know is how I can get at the values of the url parameters from database and how I can provide dynamic data as values as I normally would using query string parameters?

Thank you so much for any answers.

1 solution

Refer to below google link which contains usefull articles over

URL Routing[^]

One important link regarding the same is

URL Routing with ASP.NET 4.0[^]

The above link is for 4.0 but you can have ideas about how to get parameters etc.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900