URL routing documentation question.

Posted by James Evans on Stack Overflow See other posts from Stack Overflow or by James Evans
Published on 2010-05-26T20:17:30Z Indexed on 2010/05/26 20:21 UTC
Read the original article Hit count: 357

Filed under:
|

I'm reading about URL routing at How to: Define Routes for Web Forms Applications and there's something in the example I don't understand. If you look at the example provided below,

routes.MapPageRoute("", "SalesReport/{locale}/{year}/{*queryvalues}", "~/sales.aspx");

specifically at

"SalesReport/{locale}/{year}/{*queryvalues}"

Why does queryvalues have an asterisk in front of it and locale and year don't?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about url-routing