Get a mop and wipe it up!


NuPeek - a local NuGet and Symbol Server for .NET

, posted: 2-Mar-2013 13:55

Summary

Describes the benefits of a local NuGet and Symbol Server, and reviews NuPeek (Open Source).

1. What/Why?


A NuGet server is a repository for NuGet packages. The advantages of a local NuGet server are:

* Secure dispensing of proprietary content
* Local control of third party content (eg you choose when to upgrade open source packages)

A Symbol Server is a repository for debugging information (such as source files and pdb files), commonly distributed via symbol packages. As source, it is even more important to keep it in-house.

2. How?

NuPeek is an open source project, comprising a simple web site and a collection of tools. It assumes that you can generate .nupkg and .symbols.nupkg files for your assembly. (I do that during my TeamCity continuous integration builds.)

Using NuGet commandline, you PUSH your packages to your NuPeek website where it processes them and adds them to its repository folders.

NuPeek also exposes feeds to the stored packages and source. In Visual Studio you configure the Package Manager to point to your local NuGet feed, and use it to add assemblies and references in the usual way.

3. No binaries in source control

Merely commit the packages.config file. All your fellow developers, provided that they have also configured Visual Studio correctly, will receive the packages too. As will your build server. Even if the internet is down.

4. Debug into your packages

Similarly, you can configure Visual Studio to look for debugging symbols from your NuPeek symbol server. It is tricky to get it right, but once set up, you can set breakpoints and step right into the source code of your packaged assemblies -- even though those projects are no longer included in your solution!

This means faster solution loading, less memory consumption, and less "noise".

5. Where?

Download NuPeek from https://bitbucket.org/thinkbeforecoding/nupeek. Kudos to Jérémie Chassaing for writing NuPeek and making it OSS.


Tag(s):     


More information

Other related posts:
How to get your Windows Azure hosted WordPress contact form working
Caliburn.Micro for Newbies Who Want to Write Clean WP7 Apps - Part 1: How to Configure a New Project With Folders
Bitwise testing in C#






Add a comment

Please note: comments that are inappropriate or promotional in nature will be deleted. E-mail addresses are not displayed, but you must enter a valid e-mail address to confirm your comments.

Are you a registered Geekzone user? Login to have the fields below automatically filled in for you and to enable links in comments. If you have (or qualify to have) a Geekzone Blog then your comment will be automatically confirmed and placed in the moderation queue for the blog owner's approval.

Your name:

Your e-mail:

Your webpage:

dmw's profile

David White
Auckland
New Zealand


Goon fan, .NET developer, contrarian seeker of truth