The Complete Guide to Creating NuGet Packages in .NET
Learn how to create, version, and publish NuGet packages in .NET. This complete guide covers dotnet pack, metadata, versioning, publishing, CI/CD, and more.
In-depth C# and .NET tutorials covering structured logging with Serilog, building Roslyn analyzers, NuGet packaging, and other core language and tooling topics.
Showing 55–60 of 264 articles
Learn how to create, version, and publish NuGet packages in .NET. This complete guide covers dotnet pack, metadata, versioning, publishing, CI/CD, and more.
How to implement httpclient streaming in C# with .NET 10 -- covering HttpCompletionOption.ResponseHeadersRead, ReadAsStreamAsync, Server-Sent Events, progress tracking, and memory benchmarks.
A complete guide to HttpClient retry policy C# patterns in .NET 10 using Microsoft.Extensions.Http.Resilience -- retries, circuit breakers, timeouts, and more.
Learn how to solve httpclient dns staleness in .NET 10 C# -- why reusing a single HttpClient causes stale DNS responses, and how PooledConnectionLifetime, IHttpClientFactory handler rotation, and SocketsHttpHandler solve the problem for cloud-native and Kubernetes deployments.
How to use IHttpClientFactory in .NET 10 the right way -- comparing basic factory, named clients, and typed clients with real C# examples, and explaining why typed clients can break in singletons.
The definitive guide to HttpClient in C# and .NET 10 -- covering correct usage patterns, IHttpClientFactory, DNS pitfalls, resilience, streaming, HTTP/3, testing, and observability. No other article you'll need.