Use a Local NuGet Package Source

  Рет қаралды 10,476

Ardalis

Ardalis

Күн бұрын

Use a Local NuGet Package source
When you just need to test a package and you don't want to publish it anywhere externally.
Links
learn.microsof...
learn.microsof...
Check out my courses: ardalis.com/tr...
Hey everyone, I'm Steve Smith aka ardalis and in this video we look at what it's like to pair program with ChatGPT 4!
Consulting and Training: NimblePros.com
Developer Group Mentoring: devBetter.com
If you read this far, I hope you liked the video and consider subscribing to my channel!
Find me:
ardalis.com
/ ardalis
github.com/ard...
/ stevenandrewsmith
bsky.app/profi...
#dotnet #nuget #testing #leftpad #ardalis

Пікірлер: 25
@jimvacca7101
@jimvacca7101 11 ай бұрын
Great video! Everything you would need to know in under 6 minutes!! Thank you.
@Ardalis
@Ardalis 10 ай бұрын
You're welcome!
@JeffZuerlein
@JeffZuerlein 2 ай бұрын
Short and sweet...Great content Steve!
@Ardalis
@Ardalis 2 ай бұрын
Thanks!
@bowentelevision
@bowentelevision 3 ай бұрын
Explained really simply and works. Thanks.
@Ardalis
@Ardalis 3 ай бұрын
You're welcome!
@georget10i
@georget10i 9 ай бұрын
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 9 ай бұрын
Great tip!
@Reverence12389
@Reverence12389 11 ай бұрын
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 10 ай бұрын
Great suggestion! Do you have any experience to share, yourself?
@rodfalanga3770
@rodfalanga3770 Жыл бұрын
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 9 ай бұрын
It's just a folder. I usually use c:\LocalNuget. No install needed.
@mk553
@mk553 7 ай бұрын
Are these instructions basically the same for .NET Framework 4.x?
@Ardalis
@Ardalis 6 ай бұрын
Yes, 100%.
@anstwechy40
@anstwechy40 Жыл бұрын
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 Жыл бұрын
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 11 ай бұрын
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.
@Judgedredd95
@Judgedredd95 4 ай бұрын
Thanks, Jack Burton!
@Ardalis
@Ardalis 4 ай бұрын
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...
@therongovender9471
@therongovender9471 9 ай бұрын
You camera blocked the whole push command
@Ardalis
@Ardalis 9 ай бұрын
yeah sorry, it's hard to always catch that.
@steve-ardalis-smith
@steve-ardalis-smith Жыл бұрын
Nope! Any folder will do!
@Ardalis
@Ardalis 10 ай бұрын
What he said! :)
5 Rules For DTOs
17:56
Ardalis
Рет қаралды 47 М.
.NET and C# are in trouble. Here is what I'd do.
10:57
Ed Andersen
Рет қаралды 128 М.
I'VE MADE A CUTE FLYING LOLLIPOP FOR MY KID #SHORTS
0:48
A Plus School
Рет қаралды 20 МЛН
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН
Tech of Yesteryear - Pocket CHIP
12:57
Pac Studios
Рет қаралды 42
How to make private nuget packages for your team
10:56
Mark Inman
Рет қаралды 6 М.
Modern NuGet: Centralized Package Management and Source Mapping
23:02
The best Nuget package you’ve never heard of
16:32
Nick Chapsas
Рет қаралды 116 М.
Update EVERY PACKAGE with dotnet outdated
5:58
Ardalis
Рет қаралды 2,6 М.
The BEST API Client - Open-Source & Git-friendly (Bruno)
3:50
Better Stack
Рет қаралды 10 М.
DevOps for ASP.NET Developers: Hosting NuGet Packages
14:55
Don't Use Polly in .NET Directly. Use this instead!
14:58
Nick Chapsas
Рет қаралды 76 М.
How to release a NuGet package locally?
9:45
Full Duck Dev
Рет қаралды 10 М.