Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Web API Hello World
Message
General information
Forum:
ASP.NET
Category:
Visual Studio
Miscellaneous
Thread ID:
01645380
Message ID:
01645403
Views:
38
Thank you. The book and the Pluralsight course I started to watch mention MVC quite a bit. And I thought that understanding of the MVC is essential in being able to understand the Web API.

>Visual Studio 2015 introduced "One ASP.NET" which means you use "Create ASP.NET Application" to create any type of application. The follow up dialog has the Web API selection there.
>
>VS 2015 will use the latest version installed which MVC 5/Web API 2.0. The feature differences between these are minor actually - the version is mostly arbitrary to reflect the ASP.NET release cycle.
>
>FWIW, any documentation on Web API shouldn't be talking about MVC version, because Web API and MVC are really two separate things (although similar and they can co-exist in shte same project).
>
>+++ Rick ---
>
>
>>Hi,
>>
>>I am trying, again for the 100th time :(, to learn developing Web API. I am using a short book from Succinctly specifically designed for learning ASP.NET Web API. The book is probably dated but hopefully not that much. When going through steps of creating Hello World, the author is using ASP.NET MVC 4 project template in VS 2012. I am using VS 2015 Community. And when I create a new project, I don't see the template ASP.NET Web API. But what I see, appears to be the closest, is ASP.NET Web Application. Would it give me pretty the same project structure as ASP.NET MVC 4?
>>
>>TIA
>>
>>Update. When choosing the ASP.NET Web Application, VS prompts me to choose from the list of templates. One of them is Web API (as shown in attached image). I hope it is similar to MVC 4.
>>
>>Update 2. So, I went ahead and chose the template Web API. And, voila, VS 2015 created a project. Looking at the Solution Explorer, it is MVC type. But how do I determine if this is MVC 4 or MVC 5?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform