5

In Visual Studio I have a choice of creating an ASP.NET Core (2) and ASP.NET application. I understand the differences between the core and non-core frameworks, but it seems there is a difference in how ASP.Net MVC/webapi is handled by the two versions, specifically and focusing only on webapi I'm getting the impression:

Core can create 2 types 1. Webapi: a RESTful service, and nothing more 2. Web MVC: MVC web application using razor with webapi available

However, non-core (for want of a better word) 1. webapi: RESTful service but built on (you have to have) MVC 2. mvc: A MVC without ability to use webapi. MVC can use razor or web forms

Can someone let me know why ASP.Net MVC has been separated like this as it's really confusing, and whether future versions (I'm presuming .net core seems the more up to date) will converge in how they work (i.e. full-fat MVC will allow separation of web api).

thanks.

1

0

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.