Visual Studio offers 2 useful templates for forests:
- "MVC 5 Controller with Views Using EntityFramework"
- "Web API 2 controller with actions using EntityFramework"
Unfortunately, not one of them is exactly what I want.
I need a "Web API 2 controller with MVC VIEWS using EntityFramework".
It will be a kind of "merger" between the existing two.
I know that you can use a manually created web API controller in a visualized MVC view (see also http://weblogs.asp.net/fredriknormen/using-razor-together-with-asp-net-web-api ) but this technique will be needed for some kind of manual work (a thing that I want to avoid, since I have to raise hundreds of entities, and my manual work will be huge).
Is there a custom forest template that creates a web API controller and an MVC view using EntityFramework?
source
share