Summary

Although NuGet ships with ASP.NET MVC 4 and complements it nicely, NuGet is not restricted to ASP.NET MVC by any means. NuGet can install packages for nearly any type of project within Visual Studio. Building a Windows Phone application? There's a set of NuGet packages for it.

But when you are building an ASP.NET MVC 4 application, NuGet is a great companion. Many packages are available that take advantage of specific features built into ASP.NET MVC.

For example, you can install the Autofac.Mvc4 package to automatically wire up the Autofac dependency injection library as the dependency resolver. Install the MvcScaffolding package to add new scaffold templates to the Add Controller dialog.

When you are ready to share your own useful libraries with the world, don't just place them in a zip file and pop them on the Web. Turn them into a NuGet package and make it easy for others to discover the great work you've created.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset