Articles tagged #JSON
6 article(s)
-
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 -
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 -
Cascading Dropdowns with JsonResult in ASP.NET Core
Build cascading dropdowns in ASP.NET Core — a JsonResult action per level, the fetch API on the change event, safe option rendering, and a jQuery version for older projects.
@llaxmikant · Nov 4, 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