Reputation: 12934
Is there a fast and easy way to convert an existing 'Empty ASP.NET' template into another one, i.e. MVC or SinglePage Application, or vice versa?
Upvotes: 2
Views: 1394
Reputation: 4430
To convert to MVC project.
First, you need install Package Microsoft ASP.NET MVC
includes all the resources that you need to use MVC such as references, web.config changes, etc… .
After install success. You should create folder necessary like Models, Controller, Views,.... like MVC project.
In ASP MVC using Razor views instead of .aspx. Using this tools to convert code quick.
https://razorconverter.codeplex.com/
After all, you should read this article in the blog to convert.
Not anyway quick or one-click to convert ASP to ASP MVC. You must change code and concept of MVC.
Upvotes: 2