Skip to main content

All Questions

Filter by
Sorted by
Tagged with
5 votes
1 answer
107 views

Adding Dynamic Routes in Web Gardens

I am adding a route dynamically to the RouteTable, but the update is not propagating to the other processes: using (RouteTable.Routes.GetWriteLock()) { RouteTable.Routes.MapPageRoute( ...
Matthew's user avatar
  • 5,172
2 votes
1 answer
2k views

Wildcard in MapPageRoute

I have a webforms-project where I use System.Web.Routing.RouteCollection.MapPageRoute to rewrite URLs but I have a problem with a few dynamic URLs. My URL could look like this; /folder/city-1-2-...
keysersoze's user avatar
0 votes
1 answer
228 views

Webforms routing with ASP.NET4

I need to provide a pageId on every URL however I don't need the user to see this pageId. For example http://{domain}/{product-name}/{product-id}/{pageid} <-- I don't want to provide this I have ...
Paul's user avatar
  • 1,455
1 vote
3 answers
2k views

URL Rewrite Default Document Web Page to SEO URL

I have started using ASP.NET Routing for my site. I have been registering routes via the Application_Start() in my Global.asax file. i.e. routes.MapPageRoute("ROUTE-ABOUT", "about", "~/About.aspx"); ...
Seany84's user avatar
  • 5,596
1 vote
0 answers
843 views

.NET 4.0 Web Forms Routing w/ Multiple Routes

I am not super experienced with Routing, so if I am not using this correctly, please let me know. I have 3 routes created: LocationPages, ServicePages and StaticPages. I have these broke into 3 ...
Ricketts's user avatar
  • 5,223