NuGet is a Visual Studio extension that makes it easy to install and update open source libraries and tools in Visual Studio.You can think of it as a much more convenient way to include third party libraries if you haven't used something like ruby gems before. As a package manager, NuGet will do many things for you to make your life easier.
When you use NuGet to install a package, it copies the library files to your solution and automatically updates your project (add references, change config files, etc). If you remove a package, NuGet reverses whatever changes it made so that no clutter is left.
First, it makes it simple to find and include a library. You don't have to google for the library, find the project page, find the download page, find the right version, etc... You can easily install the package the way you would a local library (almost).
It will pull in dependencies for that library. Want to use Fluent-NHibernate? Just grab the NuGet package and it will include NHibernate, along with NHibernates own dependencies.
It can also allow the injection of useful template code into your project to help get you started. MVCMailer does just this to help get you started with sample views and mailers.
If this sounds worthwhile, head over to Justin Etheredge's blog and follow his tutorial, which is really good.
Also be sure to check out some of the available packages in the NuGet Gallery.
No comments:
Post a Comment