asp.net 4.0 web forms routing - default/wildcard route
Posted
by Martin Robins
on Stack Overflow
See other posts from Stack Overflow
or by Martin Robins
Published on 2010-04-24T11:50:21Z
Indexed on
2010/04/24
11:53 UTC
Read the original article
Hit count: 365
I there a simple way when using ASP.NET 4.0 routing with Web Forms to produce a route that will act as some kind of wildcard?
It seems to me that within WebForms, you have to specify a route for every page - I am looking for some kind of generic route that can be used where nothing specific is required, perhaps mapping directly from path to path so...
http://somedomain.com/folder1/folder2/page would possibly map to folder1/folder2/page.aspx
Any suggestions?
Thanks
© Stack Overflow or respective owner