Less code, more fun: doing microservices with .NET 6
summary
Claims that .NET 6 cuts boilerplate: top-level statements and minimal APIs let a web service live in one Program.cs and a project file, dropping controllers and Startup. Demo builds an “Instagram for one” with endpoints to add photo metadata, upload and download images, stores metadata in Redis (started via docker compose), limits list results to 10, uses dotnet new web and dotnet watch, implements file upload in <20 lines, and exposes metrics with prometheus-net — all working end-to-end.
AI-written summary · about
