Articles tagged #Web API
12 article(s)
-
Modern .NET Backend Roadmap — Part 10: Observability with OpenTelemetry
Close the roadmap with OpenTelemetry: traces, metrics, and logs from a running API, custom spans and counters for business operations, cardinality rules, and sampling strategy.
@llaxmikant · Jul 24, 2026 -
Implement Repository Pattern with ASP.NET Core Web API
Implement the Repository Pattern with ASP.NET Core Web API on .NET 10 — EF Core 10, DTO mapping with extension methods, async CRUD operations, and the built-in OpenAPI support with Scalar.
@llaxmikant · Jul 13, 2026 -
Modern .NET Backend Roadmap — Part 5: Caching
Cache the hot read path with IMemoryCache and GetOrCreateAsync, choose expirations, survive stampedes and invalidation, and know when Redis and HybridCache enter.
@llaxmikant · Jun 19, 2026 -
Modern .NET Backend Roadmap — Part 4: JWT Authentication
Issue and validate JSON Web Tokens in ASP.NET Core: token endpoint, bearer validation, role-based authorization, and the mistakes that turn tokens into breaches — with verified 401/403/200 flows.
@llaxmikant · Jun 13, 2026 -
AutoMapper in ASP.NET Core Web API — and the Modern Alternatives
AutoMapper usage in ASP.NET Core Web API, its 2025 commercial licensing change, and the modern alternatives — hand-written mapping extension methods and the Mapperly source generator.
@llaxmikant · Jun 12, 2026 -
Modern .NET Backend Roadmap — Part 3: Dapper for Fast Reads
Add a Dapper read path beside EF Core: read models behind a port, parameterized SQL, mapping gotchas we actually hit, and when each tool wins.
@llaxmikant · Jun 5, 2026 -
Getting Started with ASP.NET Core Web API and Entity Framework
Build your first ASP.NET Core Web API on .NET 10 with Entity Framework Core — scaffold models from SQL Server, add an async controller, and test with the built-in OpenAPI document and Scalar.
@llaxmikant · May 28, 2026 -
How to Setup CORS Policies in ASP.NET Core Web API
Configure CORS in ASP.NET Core Web API — default and named policies, origin/method/header restrictions, preflight requests, per-endpoint policies with RequireCors, and EnableCors/DisableCors attribute
@llaxmikant · Mar 2, 2026 -
Testing ASP.NET Core Web API using Postman
Test ASP.NET Core Web API endpoints with Postman — GET, POST, PUT, and DELETE requests, JSON bodies, the status codes to expect, and practical tips like collections and environment variables.
@llaxmikant · Dec 22, 2025 -
.NET Dependency Injection Object Lifetimes
Transient, scoped, and singleton lifetimes demonstrated with GUIDs — what each means, why DbContext is scoped, and the captive-dependency trap that leaks state across requests.
@llaxmikant · Dec 14, 2025 -
CRUD Operations using ASP.NET Core
Build a complete CRUD API with ASP.NET Core — verified create/read/update/delete requests, the right status codes for each, automatic validation, and the path from in-memory store to EF Core.
@llaxmikant · Oct 12, 2025 -
How to Implement Dependency Injection in .NET Core
Learn dependency injection in .NET with the built-in IoC container — register services in Program.cs, inject them through constructors, choose lifetimes, and swap implementations with one line.
@llaxmikant · Sep 1, 2025