MVC Partials with fetch: an overview

An MVC page can reload just one part of itself. JavaScript fetches the new part's HTML from an action that returns a partial view, and swaps it in. That's the MVC way to do what an API and JSON do for a JavaScript-built page.

Updated

Cheat sheet: MVC Partials with fetch: an overview
Category
ASP.NET Core
Level
Journeyman
Tags
aspnet-core, JavaScript, Partial View, Progressive Enhancement