Use a Local NuGet Package Source

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ต.ค. 2024

ความคิดเห็น • 23

  • @jimvacca7101
    @jimvacca7101 9 หลายเดือนก่อน +3

    Great video! Everything you would need to know in under 6 minutes!! Thank you.

    • @Ardalis
      @Ardalis  7 หลายเดือนก่อน

      You're welcome!

  • @bowentelevision
    @bowentelevision 20 วันที่ผ่านมา +1

    Explained really simply and works. Thanks.

    • @Ardalis
      @Ardalis  11 วันที่ผ่านมา

      You're welcome!

  • @Reverence12389
    @Reverence12389 8 หลายเดือนก่อน +2

    Would love to see a follow up video for recommendations and best practices on how to debug the nuget package from the consuming application locally and how to easily handle hot swapping between the local nuget package and real one from the live nuget server.

    • @Ardalis
      @Ardalis  7 หลายเดือนก่อน

      Great suggestion! Do you have any experience to share, yourself?

  • @georget10i
    @georget10i 6 หลายเดือนก่อน +1

    Thank you! Excellent tutorial. By the way, for local operations you can use "add" command instead of the push. It was made specifically for adding packages to a non-HTTP package source (a folder or UNC path) in a hierarchical layout.

    • @Ardalis
      @Ardalis  6 หลายเดือนก่อน +1

      Great tip!

  • @rodfalanga3770
    @rodfalanga3770 ปีที่แล้ว +3

    Hey Steve, I did like this video. Do you have to first install a NuGet server locally, to do what you've done here?

    • @Ardalis
      @Ardalis  6 หลายเดือนก่อน +3

      It's just a folder. I usually use c:\LocalNuget. No install needed.

  • @Judgedredd95
    @Judgedredd95 หลายเดือนก่อน

    Thanks, Jack Burton!

    • @Ardalis
      @Ardalis  หลายเดือนก่อน +1

      Just remember what ol' Jack Burton does when the earth quakes, and the poison arrows fall from the sky, and the pillars of Heaven shake...

  • @mk553
    @mk553 4 หลายเดือนก่อน +1

    Are these instructions basically the same for .NET Framework 4.x?

    • @Ardalis
      @Ardalis  3 หลายเดือนก่อน

      Yes, 100%.

  • @anstwechy40
    @anstwechy40 10 หลายเดือนก่อน

    hello, Steve! I'm a bit stuck with a project and could use your help. So, I have a large project with several web API projects using some of the same class libraries in the same solution. I'm not sure whether to include my code as a project reference or as a NuGet package. Any ideas on the best approach? Thanks a bunch!

    • @JasonLeBel
      @JasonLeBel 9 หลายเดือนก่อน +2

      If the web api projects are all in the same repo, then use proj references.
      Can have a single large solution, or multiple solutions for each web api if you'd like (along with the projects that each of them need), and just reference the projects directly.

    • @Ardalis
      @Ardalis  8 หลายเดือนก่อน +2

      I agree with @JasonLeBel. Prefer project references if it's all really one solution/application. If you're shipping separate independent apps (or microservices) then nuget packages start to make sense. But they are a lot more friction to update so ideally only shift to packages when they're somewhat stable and not changing multiple times per day.

  • @therongovender9471
    @therongovender9471 6 หลายเดือนก่อน +1

    You camera blocked the whole push command

    • @Ardalis
      @Ardalis  6 หลายเดือนก่อน

      yeah sorry, it's hard to always catch that.

  • @steve-ardalis-smith
    @steve-ardalis-smith ปีที่แล้ว +1

    Nope! Any folder will do!

    • @Ardalis
      @Ardalis  7 หลายเดือนก่อน +1

      What he said! :)