7 tips for writing better library code in .NET

Опубликовано: 30 Сентябрь 2021
на канале: Nick Chapsas
28,721
1k

Check out my courses: https://dometrain.com
Become a Patreon and get source code access:   / nickchapsas  

Hello everybody I'm Nick and in this video I will share with you 7 tips that will help you write better .NET libraries. It will also help you identify which libraries are using good practices and which aren't.

Timestamps
Intro - 0:00
1. Build with testability in mind - 1:10
2. No opinionated dependency injection - 3:22
3&4. Offer separate dependecy injection packages & extension methods - 7:14
5. The user's trust and CancellationToken(s)- 8:30
6. Use inline/comment documentation - 10:09
7. Use access keywords!! - 11:44

Don't forget to comment, like and subscribe :)

Social Media:
Follow me on GitHub: http://bit.ly/ChapsasGitHub
Follow me on Twitter: http://bit.ly/ChapsasTwitter
Connect on LinkedIn: http://bit.ly/ChapsasLinkedIn

Keep coding merch: https://keepcoding.shop

#dotnet #csharp