Articles & tutorials
Articles tagged #.NET Core
17 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 -
What Is AutoMapper in .NET Core? Usage and Modern Alternatives
What AutoMapper is and how to use it in ASP.NET Core Web API, its 2025 licensing change, and modern alternatives: hand-written mapping and Mapperly.
@llaxmikant · Jun 12, 2026 -
Areas in ASP.NET Core MVC: Setup, Routing and asp-area Links
How to use areas in ASP.NET Core MVC: folder structure, the [Area] attribute, the {area:exists} route, view resolution, asp-area links, and securing an area.
@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 -
MongoDB Docker Image: Run MongoDB in Docker and Connect from .NET
Run MongoDB from the official Docker image with one command, keep data in a volume, and connect from .NET: queries, atomic updates, transactions and indexes.
@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 -
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 -
ASP.NET Core Autocomplete Textbox: datalist, fetch and jQuery UI
Build an autocomplete textbox in ASP.NET Core with the native datalist element and fetch, a custom dropdown, or the jQuery UI widget, with debounced requests.
@llaxmikant · Dec 7, 2025 -
What Is Kestrel in ASP.NET Core? Configuration, Limits and HTTPS
What Kestrel is and how to configure it in ASP.NET Core: URLs and endpoints, request limits, HTTPS, reverse proxies, and appsettings.json vs code.
@llaxmikant · Nov 12, 2025 -
FileResult in ASP.NET Core: FileContentResult vs FileStreamResult
Return files from ASP.NET Core with FileResult: FileContentResult vs FileStreamResult vs PhysicalFileResult, content types, download vs inline, and large files.
@llaxmikant · Sep 26, 2025 -
Access SQL Server from a .NET Console Application
Connect to SQL Server from a .NET 10 console app with Microsoft.Data.SqlClient: connections, parameterized commands, data readers, transactions, and where Dapper and EF Core fit.
@llaxmikant · Sep 21, 2025 -
ASP.NET Core MVC Model Binding
How ASP.NET Core turns route values, query strings, forms, and JSON bodies into typed action parameters — binding sources, complex types, collections, and the classic empty-model gotcha.
@llaxmikant · Aug 11, 2025 -
Return Different Types of Content from ASP.NET Core Action Results
Serve HTML, JSON, plain text, XML, files, and bare status codes from ASP.NET Core actions — with content negotiation, verified response headers, and guidance on choosing.
@llaxmikant · Jul 17, 2025 -
ASP.NET Core Controller Action Methods and Types of Action Results
Controllers, action methods, and every action result type in ASP.NET Core — View, Json, Content, status codes, redirects, and FileResult — each verified with the actual HTTP response.
@llaxmikant · Jul 1, 2025