0

My project is a web application project in asp.net 4.0. I've taken the steps to be able to add razor '.cshtml' pages. Can I also add mvc controllers for those files or for '.aspx' pages somehow?

2 Answers 2

2

Yes, you should be able to do that. Refer to following article ( http://www.hanselman.com/blog/IntegratingASPNETMVC3IntoExistingUpgradedASPNET4WebFormsApplications.aspx)

Sign up to request clarification or add additional context in comments.

Comments

0

Yes MVC and WebForms can co-exist.

A good overview is here, though not written for MVC 3 the concepts should be the same.

2 Comments

this was written in 2007, so not for MVC3 =) So far I think it's going to work with some updates/adjustments
@Maslow sorry about that. That is what I get for not proof reading my edit :|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.