📎 Webclip
Top 10 .NET Core Libraries Every Web Developer Should Know
The article presents ten open-source .NET Core libraries that reduce developer work and help with common application tasks. It groups them by use case, including API documentation, resilience, object mapping, multitenancy, health checks, mail, caching, data access, API gateways, and logging.
Reading notes#
- Swashbuckle generates API documentation and Swagger UI for exploring and testing API operations.
- Polly provides resilience and transient fault-handling policies such as retry, circuit breaker, timeout, bulkhead isolation, and fallback.
- AutoMapper maps properties between different objects and reduces mapping code.
- SaasKit makes multitenancy easier by adding middleware through the OWIN interface.
- AspNetCore.Diagnostics.HealthChecks monitors health checks for apps, databases, APIs, and Azure services, and can display them in a UI.
- MailKit is a cross-platform mail client library for SMTP, POP3, and IMAP.
- CacheManager is an abstraction layer for cache providers and complex caching scenarios.
- Dapper is a high-performance micro-ORM for .NET that supports several databases and extends IDbConnection.
- Ocelot is an API gateway for .NET and Core applications built around a unified entry point for microservices and service-oriented architectures.
- NLog is a cross-platform logging tool for .NET and Xamarin with log routing and management features.
