1 / 15

NuGet

NuGet. Paweł Łukasik. Agenda. Po co? Co to jest? Jak tego używać? Paczki, paczki … Zależności … A co dalej ? Warsztaty*. O mnie. Developer - pasjonat Lider Wrocławskiej Grupy .NET Założyciel portalu http://dotnetomaniak.pl Blog: http://pawlos.blogspot.com. Po co?.

avari
Télécharger la présentation

NuGet

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. NuGet Paweł Łukasik

  2. Agenda • Po co? • Co to jest? • Jak tego używać? • Paczki, paczki… • Zależności… • A co dalej? • Warsztaty*

  3. O mnie • Developer - pasjonat • Lider Wrocławskiej Grupy .NET • Założyciel portalu http://dotnetomaniak.pl • Blog: http://pawlos.blogspot.com

  4. Po co? • Ninject.MVC3 – 3.0.0.6 • Ninject (>=3.0.0.0 – < 3.1.0.0) • Ninject.Web.Common (>=3.0.0.0 – < 3.1.0.0) • WebActivator (>=1.5) • Microsoft.Web.Infrastructure (>=1.0.0.0)

  5. Co to jest? • System do zarządzania bibliotekami swoimi, 3rd party + ich zależnościami

  6. DEMO – VS, PowerShell Jak tego używać?

  7. Paczki, paczki… • Nupkg (http://docs.nuget.org/docs/reference/nuspec-reference) • jest to zip zawierający… • Xml opisujący paczkę • pliki dodawane do projektu • pliki transformowane przed dodaniem

  8. Tworzenie paczek, aktualizacja, przeglądanie DEMO

  9. Zależności

  10. Zależności • Semantic versioning • X.Y.Z-<nazwa> • X – major version • Y – minor version • Z – patch version • -<nazwa> - prerelease • 1.0.1 , 2.2.1, 1.0.1-alfa, 1.0.3-beta.11, 2.12.1-rc

  11. Zależności • Projekt X zależy od wersji 1.0.0 Projektu Y • Repozytorium pakietów zawiera takie wersje projektu Y: 1.0.0, 1.0.1, 2.0.0 • Która wersja zostanie zainstalowana? • Zostanie zainstalowana: 1.0.1 - Dlaczego?

  12. Zależności - konflikty • Upgrade pakietu • Downgradepakietu • Konflikt

  13. Co dalej? • TeamCity jako serwer NuGet? • Inne systemy paczek? • OpenWrap • Orchard • Chocolatey*

  14. Linki • http://nuget.codeplex.com • http://docs.nuget.org/ • Creating a NuGet Package in 7 easy steps • Hosting Your Own Local and Remote NuGet Feeds

  15. Zapraszamy na warsztaty! Dziękuję Za UWAGĘ

More Related