NuGet in Depth Making Open Source Suck Less at Microsoft Scott Hanselman @shanselman.

Post on 12-Jan-2016

221 views 0 download

Transcript of NuGet in Depth Making Open Source Suck Less at Microsoft Scott Hanselman @shanselman.

NuGet in DepthMaking Open Source Suck Less at Microsoft

Scott Hanselmanhttp://hanselman.com @shanselman

2

Castle

NH

ibern

ate

log4net

NUnit

Elm

ah

Nin

ject

Antlr

Iesi Collections

jQuery

New

tonso

ft.Jso

nM

oq

FluentNHibernate

AutoMapper

StructureMap

NLog

Autofac

FacebookRx

RhinoMocks

MvcContrib

51Degrees.mobiD

otN

etO

pen

Au

th

Com

mon.L

oggin

g

MvvmLight

BBCode

Mvc

Mai

ler

xuni

t

Flue

ntVa

lidati

on

Ham

moc

k

SharpZipLib

FluentHtml-ci Machine.Specifications

jQuery.Validation

WatiN

Htm

lAgi

lityP

ack

Simple.Data.Core

CLEditor

Simple.Data.CoreAltairis.Web.Security

UrlShortener.HelperiT

extS

harp

QuickGraph

DotNetZip

FakeItEasy

PublishSettingsGenerator

Spar

k

NSubstitute

RavenDB

Luce

ne

AutoPoco

RestSharp

Should

postalnservicebus

reac

tiveu

i-cor

e

linq.

jsfa

ster

flect

combres

TweetSharp

MvcSiteMapProvider

Adam

.JSG

ener

ator

Flue

ntAs

serti

ons

Bootstrapper

Azure

ErikEJ.SqlCeMembership

what’s my goal here?

Make using OSS as easy

as “Add Reference”

how do we do that?

BUILD UP THE DEVELOPER ECOSYSTEM

Adding a library to a project

• What is the experience to add an existing 3rd Party or open source library to a project today?

• Let’s take a look

Like all good stories, it

starts with a Google search

Like all good stories, it

starts with a Bing

search

So far so good in this case.

This looks right

?Turns out, this is the right

one.

Looks right to me,

I guess.

Before we extract it, we need to visit

the Properties

Don’t forget this!

Extract assemblies to a folder within

the solution directory

Need to add the correct

configuration to web.config

Finally! It works!

that‘s for a single assembly!

what happens when I’m ready for build v2?

we can do much better!

PILE OF DEMOS!NuGet

• NuGet is an OuterCurve Foundation Project

• Hosted on http://nuget.codeplex.com

• External contributions allowed• Several external core contributors

• Monthly point release cadence• Large uptake so far:

http://stats.nuget.org

Development

help us spread the word!

Stay up to date with MSDN Belux

• Register for our newsletters and stay up to date:http://www.msdn-newsletters.be• Technical updates• Event announcements and registration• Top downloads

• Follow our bloghttp://blogs.msdn.com/belux

• Join us on Facebookhttp://www.facebook.com/msdnbehttp://www.facebook.com/msdnbelux

• LinkedIn: http://linkd.in/msdnbelux/ • Twitter: @msdnbelux

Download MSDN/TechNet Desktop Gadget

http://bit.ly/msdntngadget

TechDays 2011 On-Demand

• Watch this session on-demand via Channel9http://channel9.msdn.com/belux

• Download to your favorite MP3 or video player• Get access to slides and recommended resources by the speakers

THANK YOU