The Current State of Package Management in .NET - PowerPoint PPT Presentation

1 / 14
About This Presentation
Title:

The Current State of Package Management in .NET

Description:

The Current State of Package Management in .NET Danny Douglass What is Package Management? A software tool or collection of tools used to automate the process of ... – PowerPoint PPT presentation

Number of Views:27
Avg rating:3.0/5.0
Slides: 15
Provided by: Goo7369
Category:

less

Transcript and Presenter's Notes

Title: The Current State of Package Management in .NET


1
The Current State of Package Management in .NET
  • Danny Douglass 

2
What is Package Management?
  • A software tool or collection of tools used to
    automate the process of installing, upgrading,
    managing, and removing packages.
  •                                          -
    Wikipedia    
  •     

Existing Package Management Systems
  • Yum (Linux)
  • CPAN (Perl) 
  • Portage (Gentoo)
  • Apt-Get (Ubuntu)
  • EasyInstall (Python)
  • Gems (Ruby)

3
What's so great about Packages?
  • Improved SpeedNo longer need to open a browser,
    search for the tool, find the tool download
    location, unzip, reference the correct
    assemblies...
  • Reduced Decision TreeLess steps to integrate
    tool Less decisions to make

4
What's so great about Packages?
  • Managed Dependencies
  • Tools dependencies can be packaged with the
    software and handled in a standardized manner to
    quickly identify versioning discrepancies.  Not
    perfect, but a start...
  • Simplified Upgrades
  • Enabling easier upgrades to tools encourages
    staying close to the latest release.

5
Ruby Gems Paved the Way
  • Standardized the way software packages are
    installed, utilized, managed, and upgraded in the
    Ruby language.
  • Online library of gems on RubyGems.org
  • Installs a part of the Ruby language download

6
Code Demo
  • Using Ruby Gems

7
Nu (Nubular) Gems for .NET
  • Leverages Ruby Gems (requires Ruby)    gem
    install Nu
  • Inspired by the Ruby dependency manager Bundler
  • Will offer a Gems site in the near future
  • Plans to support all features available in Ruby
    Gems    for example versioning, pre-release
    builds

8
Nu for Visual Studio
  • Visual Studio 2010 Plugin for Nu(not available
    for 2008 currently)
  • Handles downloading of tools and their
    dependencies in Visual Studio

9
Code Demo
  • Using Nu Nu for Visual Studio

10
How do I create a Gem?
  • It's as simple as creating a few
  • directories and files
  • docs all documentation and samples can be placed
    here
  • lib stores the project's compiled DLLs for
    distribution
  • gemspec Ruby gem specfication file
  • version stores gem version

11
How do I create a Gem? (cont.)
  • Now that the gem components are in place, it's
    time to create the gem itself
  •     gem build NameOfGem.gemspec
  • With the gem built, the last step is to push the
    gem package to RubyGems.org
  •     gem push NameOfGem-semanticversion.gem

12
Code Demo
  • Creating a Gem for PagedList

13
Other .NET Package Managers
  • OpenWraphttp//serialseb.blogspot.com/2010/07/int
    ro-to-what-openwrap-is.html
  • Horn (HornGet) Obsoletehttp//code.google.com/p
    /hornget/
  • Bricks Obsoletehttp//bricksproject.org/

14
Contact Information
  • Me_at_DannyDouglass.com
  • _at_DannyDouglass
  • http//DannyDouglass.com
Write a Comment
User Comments (0)
About PowerShow.com