Tuesday, December 09, 2014

Two Tasty NuGets - "Create and Push NuGet Package in Visual Studio 2013" & "NuGet 101 – A Bootcamp"

Visual Studio Gallery - Create and Push NuGet Package in Visual Studio 2013

Introduction

In this article we will see how we can create NuGet Package after each build and push the package to NuGet in Visual Studio 2013.

Description

NuGet: NuGet is a Visual Studio extension that makes it easy to pull in libraries, components, and most importantly their configuration into your visual studio project. This is a tool that is installed with MVC 3 and it is used to bring in various components to make developing on MVC easier. These components are called NuGet Packages and they can include .NET assemblies, JavaScript files, HTML/Razor files, CSS files, images, and even files that can add configuration to your projects web.config. The goal of NuGet is to make is super easy to bring in or update a component in your existing projects.

More info- http://www.developerfusion.com/article/131917/using-nuget-packages/

First of all let’s make an mvc project –

Getting Started

...

image..."

David Whitney - NuGet 101 – A Bootcamp

I’ve been running and recording a lot of workshops over the last couple of months – here is one on NuGet packaging for beginners – starting out as a slide deck then moving into a practical demo.

image

Slide deck 

  • History
  • What’s a package
  • So it’s a zip file right?
  • Why should I use them?
  • An open source mentality
  • Disadvantages
  • Realities

Demo

  • Directory topologies of a library package
  • Adding packages to your solutions
  • Pairing nuspec files with csproj’s
  • Replacement tokens for metadata
  • The NuGet docs
  • Package dependencies
  • Dependency discovery and bundling
  • Versioning and SemVer
  • Package sources
  • NuGet.config

Mentions

..."

Yes, there are still dev's out there that don't know about, use or get NuGet. If you know of one, here are two posts you can use to help them help themselves...

No comments: