How do link the first level like localhost/About and localhost/Faq.

Posted by alex on Stack Overflow See other posts from Stack Overflow or by alex
Published on 2010-04-19T13:42:41Z Indexed on 2010/04/19 13:53 UTC
Read the original article Hit count: 293

I make Views/About/Index.aspx and Views/Faq/Index.aspx + Controllers/AboutController.cs and Controllers/FaqController.cs controllers for these purposes.

I want to have one controller Controllers/DefaultController.cs + Views/About.aspx and Views/Faq.aspx in the root, for example.

How to set it up?

© Stack Overflow or respective owner

Related posts about asp.net-mvc-routing

Related posts about asp.net-mvc