Articles & tutorials
Articles tagged #JSON
6 article(s)
-
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 -
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 -
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 -
AJAX Calls with JsonResult in ASP.NET Core MVC — fetch and jQuery
Return JSON from ASP.NET Core MVC actions and call them from the browser — the fetch API for modern pages, jQuery $.ajax for legacy ones, POSTing JSON with FromBody, and common pitfalls.
@llaxmikant · Sep 30, 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