Use AppRun to make ASP.NET MVC Core applications into single-page applications (SPA).
Accessing the page directly, the app returns HTML (server-side rendering).
Then AppRun switches it into single-page application mode. The app returns the virtual DOM as JSON for AppRun to render the real DOM.