How can I get a different content, by the URL’s variable (I think it’s called Query Strings)?
Examples to what I wish to achieve:
Content(string page)
http://mysite.com/Content?page=about
<– will show the about page.
http://mysite.com/Content?page=store
<– will show the store page.
Thanks.
P.S. I realize I can just make a page for the about and make a page for the store (in this example), but I want it like I asked.
It’s worth adding a route:
The model binder should pick up the query argument and pass it into the call to the controller action.