I'm a bit confused. I'm on my way to learn ASP.net MVC, currentlyin Version 3. I was already irritated when I learned that WebAPI is the newest Web-Technology from Microsoft and asked myself if I should continue with MVC.
From my research today I understand, that WebAPI is for solutions that require pure Http based APIs which serve data to other applications than browsers. And that it has no HTML rendering engine. So for solutions that have to render a lot of HTML pages MVC is fine.
I also read that Web APIs development that was made in parallel to MVC and stands for it own.
No today when starting Visual Studio the first time I read that one of the new features of MVC4 is WebAPI:
Is Web API now an integral part of MVC? Can MVC Controllers directly mixed with Web API controllers in the same application? In one blog post I read that if you use WebAPI and MVC in one project you will end up with duplicating code. Is this still the case?
Best Thomas
I read that one of the new features of MVC4 is WebAPI. Is that not answering your own question? :| Maybe the title should reflect one of your sub questions that you didn't already know. (can they be mixed?)