Articles & tutorials
Articles tagged #C#
10 article(s)
-
.NET AI Engineer Roadmap 2026–27: From Modern C# to Production AI
A stage-by-stage path to becoming a .NET AI engineer: modern C#, backend skills, LLMs and RAG, Semantic Kernel and MCP, Azure deployment, production AI and the projects that get you hired.
ConfidentHire Academy · Oct 22, 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 -
Export SQL Data to Excel in C# Without Office Interop (ClosedXML)
Export SQL Server data to Excel in C# with ClosedXML instead of Office Interop: no Office install, safe on servers and containers, with a Web API download.
@llaxmikant · Mar 21, 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 -
Bulk Upload into SQL Server using SqlBulkCopy and C#
Load 100,000 rows in under a second with SqlBulkCopy: column mappings, batch sizes, transactions, staging tables, and the constraint fine print — measured for real.
@llaxmikant · Feb 28, 2026 -
Compare DataTables with LINQ: Except, Intersect and Union
To compare two ADO.NET DataTable objects, call AsEnumerable() on each to get a sequence of DataRow, then apply LINQ set operators: Except gives rows in the…
@llaxmikant · Jan 1, 2026 -
IDisposable, Finalizers and the Dispose Pattern in .NET
Deterministic cleanup in .NET means releasing a resource the moment you are done with it, instead of waiting for the garbage collector. You get it by…
@llaxmikant · Dec 20, 2025 -
.NET Dependency Injection Object Lifetimes
The built-in .NET dependency injection container ships three service lifetimes: Transient (a new instance on every resolution), Scoped (one instance per…
@llaxmikant · Dec 14, 2025 -
C# DataTable to CSV, List or JSON: Convert and Export in .NET
Convert or export a C# DataTable to CSV, a typed List<T> or a JSON string with three reusable extension methods that handle commas, quotes and DBNull.
@llaxmikant · Nov 19, 2025 -
How to Implement Dependency Injection in .NET Core
To implement dependency injection in .NET Core, register your services in the built-in container (IServiceCollection) with a lifetime, then declare each…
@llaxmikant · Sep 1, 2025