Articles tagged #.NET Core
20 article(s)
-
ASP.NET Core MVC Filters: Built-in and Custom with Examples
The five filter stages, the built-in attributes you get for free, and custom action, exception, and result filters with dependency injection — verified outputs included.
@llaxmikant · Jul 23, 2026 -
Building Scalable Applications: Microservice Architecture Challenges
While microservices architecture provides significant advantages in scalability, flexibility, and maintainability, it also introduces unique challenges that must be carefully considered when designing
@llaxmikant · Jul 22, 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 -
How to Use Areas in ASP.NET Core MVC
Structure a growing MVC app with areas: folder conventions, the {area:exists} route, view resolution, cross-area links, and securing an area with a policy.
@llaxmikant · Jun 11, 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 -
Run MongoDB in Docker and Connect from .NET
MongoDB 7 in a container with one command, then typed documents, filters, atomic updates, LINQ, and indexes from the .NET driver — verified end to end.
@llaxmikant · May 26, 2026 -
Structured Logging in ASP.NET Core with Serilog and Seq
Wire Serilog into ASP.NET Core with console, rolling-file, and Seq sinks: request logging, enrichment, levels, and the named-placeholder habit that makes logs queryable.
@llaxmikant · Apr 26, 2026 -
Redirects in ASP.NET Core MVC: RedirectToAction, LocalRedirect and More
Choose the right redirect: RedirectToAction for app flows, 301 permanents for SEO, LocalRedirect against open redirects, and named routes with RedirectToRoute.
@llaxmikant · Apr 6, 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 -
Angular Directives Overview with Examples
The directive landscape on Angular 20: @if/@for/@switch control flow, ngClass/ngStyle/ngModel, and building a custom attribute directive with HostListener and input().
@llaxmikant · Feb 12, 2026 -
Read appsettings.json in a .NET Class Library with Dependency Injection
The options pattern done right: the host owns configuration sources, the library declares typed settings, and DI carries one to the other — with validation at startup.
@llaxmikant · Jan 28, 2026 -
Compare DataTables with LINQ: Except, Intersect and Union
Diff two data snapshots with LINQ set operators: what was added, removed, changed, and unchanged — including the modern ExceptBy/IntersectBy/UnionBy variants.
@llaxmikant · Jan 1, 2026 -
IDisposable, Finalizers and the Dispose Pattern in .NET
Deterministic cleanup with using, the full dispose pattern explained line by line, IAsyncDisposable, SafeHandle, and why you almost never write a finalizer.
@llaxmikant · Dec 20, 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 -
ASP.NET Core Autocomplete — Native datalist, fetch, and jQuery UI
Add autocomplete to ASP.NET Core pages with the native datalist element and fetch — debounced requests, capped suggestions, a custom dropdown variant, and the legacy jQuery UI hookup.
@llaxmikant · Dec 7, 2025 -
Angular Components Tutorial: Standalone Components and Signals
Modern Angular components from scratch: the @Component anatomy, signals for state, @if/@for control flow, composition with inputs and outputs, and design guidelines that age well.
@llaxmikant · Dec 6, 2025 -
Convert a DataTable to CSV, List or JSON in .NET
Three DataTable conversions done right in .NET 10: RFC-4180 CSV with quoting, typed List<T> via DataRow.Field, and JSON through records — edge cases verified.
@llaxmikant · Nov 19, 2025 -
ASP.NET Core Application and Kestrel Web Server Settings
Configure Kestrel in ASP.NET Core — endpoints and URLs, request limits verified with real 413s, HTTPS and reverse proxies, and which settings work in appsettings.json versus code.
@llaxmikant · Nov 12, 2025 -
Getting Started with Angular in Visual Studio Code
The Angular + VS Code workflow: Angular Language Service for type-safe templates, generating code, debugging TypeScript in the browser, and a five-minute first component.
@llaxmikant · Nov 1, 2025 -
Setting Up an Angular Development Environment
A clean Angular setup in 2026: Node via a version manager (and the version minimums that bite), the Angular CLI, a first workspace, VS Code extensions, and the classic fixes.
@llaxmikant · Oct 11, 2025