4 Nuget packages I can't live without in .NET

preview_player
Показать описание
Here are 4 .NET Nuget packages I can't live without
Рекомендации по теме
Комментарии
Автор

Polly was lifechanging for me at my job.

TheSilent
Автор

Never used refit, looks awesome definitely will give it a try. Thanks Nick

dazberry
Автор

Thank you Nick, you always share high quality and valuable content.

kundanbhatiYT
Автор

I love fluent validation. However, data annotations aren’t clunky. I tend to use a mixture of both. Data annotations for the simple things, fluent validations for the complex stuff.

FensGhost
Автор

1. Mime-Detective for file uploads
2. MailKit/MimeKit for emails
3. TimeZoneConverter for IANA<->Windows TZ conversions or just use..
4. NodaTime which is also supported by Npsql

mahmutjomaa
Автор

Didn't know about Refit. Thanks for the tip!

adelarsq
Автор

Yeah. Refit is nice, but I'm always scared when they release an update. There is always something that does not work as it should. Examples from the last few versions: deadlocking when interface mixes ApiResponse with HttpResponseMessage, contract change on how enums are serialized in routes (from string representation to int).
One very annoying thing is not well thought-through process of enriching request headers. Refit forces you to use DelegatingHandler if you want to enrich requests with some values coming from injected services (think correlationId or some token source service). It is not ideal because of the IHttpContextAccesor from which you can get a DI provider.

ppasieka
Автор

This libs is really good, we're using all of this in my job. Is nice to see recomend it

ArchThiagoDeOliveira
Автор

I use all of this, these libs are amazing

ArchThiagoDeOliveira
Автор

I think FluentValidation is a waste of time unless you're forced into "service oriented" coding, and can't encapsulate data in entities and value objects. Strongly prefer making entities and value objects that *cannot be wrong* according to their own business logic, rather than running a validation service on all the things.

thethreeheadedmonkey
Автор

nice, let's see paul allen's card (extension now) :)

stepien
Автор

Nick please create new channel just for shorts and share full video link in the video.
Great video, thanks

KalpeshBhadra
Автор

Refit is my favourite library.
Is there something similar for TypeScript?

AdisonCavani
Автор

refit is the best, been using it a year ago.

bootsector
Автор

I love the format, but I hate that it's a short. The UI sucks. Can you upload these as Not Shorts?

DrLegitimate
Автор

Fluent validation package works for APIs only... add JQuery unobtrusive for the front end .. it can work around ends easily 😝 u just gotta paste 3 line jquery code in _Layout.cshtml

imranketamashay
Автор

I can't understand any of this but I agree

notdeep
Автор

Bogus generating the name Ray Gaylord 😂

Schnikles
Автор

Fluent APIs suck, i'll use attributes any day.

XennialGeek