Breeze ships with out-of-the-box support for the ASP.NET Web API and Entity Framework. The easy route to a Breeze application runs through ASP MVC 4 and the Web API. The Breeze sample applications are MVC 4 applications with a Web API controller, a C# entity model, and the Entity Framework mediating between the model and a SQL Server database. This topic and the ones that follow describe this path in detail.
You can build a baseline server of this kind in about 2 minutes using the Breeze for MVC4 Web Api nuget package; use the Breeze for MVC4 WebApi Client Sample if you want a baseline Breeze client to go with it. We highly recommend this approach if you are new to Breeze.
Please read Start with NuGet and watch the accompanying short video before reading anything more in these “Breeze on the server” section; that video may show you all you need to know.
Continue on if you want to know more of the details behind the server-side artifacts the NuGet packages install.
|On the other hand, many developers are more comfortable with MVC or they want to leverage other MVC capabilties or they are building a hybrid app with a mix of MVC and SPA. For these folks, we recommend beginning with **File **||**New **||**Project **||ASP.NET MVC 4 Web Application and selecting the Empty template.|
Feel free to pick any of the MVC templates. The Breeze NuGet package should work with all of them and is known to work with the Web API and SPA templates. Realize that these templates add a great deal of material to your project that may not be relevant to you.
Now that we have a basic Web Application project, we’re ready start building our app…starting with the server-side model