Is it possible to run MVC 3 through a website project template or you have to convert your existing WebForms website project to web application and then do the migration?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, it is possible to use a WebSite for an ASP.NET MVC application but not recommended. In order to make it work you will have to put your controllers and models into non-standard locations such as the
App_Codedirectory so you will end up with something horrible at the end. Something that’s not worth migrating towards and that you will have to convert to a web application later. You will be doing twice the work.So do the conversion to a web application first. Or depending on the quality of the code of this existing website, it’s probably not worth doing any migrations but starting from scratch a new ASP.NET MVC application and adding progressively functionality from this site.