2

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?

3
  • Empty ASP.NET? I think you should create new project with type MVC or SinglePage Application,... Because your project is empty. Commented Apr 21, 2016 at 14:56
  • The project itself is not empty, it was created from an 'Empty ASP.NET' template. Commented Apr 21, 2016 at 14:58
  • Add the required MVC references you need to the EMPTY project or better still look at this stackoverflow.com/questions/36736710/… Commented Apr 21, 2016 at 15:04

1 Answer 1

2

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.

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

Comments

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.