Apparently, not all tutorials explicitly cover AJAX and ASP.NET MVC Core, however there are a few stack overflow questions that provide good examples of using AJAX in the client to update user interface elements from the server
Alternative view alternative for ajax update
MVC6 EF7 Viewcomponent ajax update problems
Both of these questions relate to the new ViewComponent in MVC Core, but you can equally apply this logic to update partial views or other page elements.
In a related note, note the difference between Async and AJAX in MVC6. I expected Async client elements to work in AJAX style, but they do not. This question gives a good explanation of why this is:
ViewComponents in ASP.NET MVC 6 are not async
In general, the usual AJAX workflow is still applied in the same way as in MVC5, so the examples for MVC5 will also be useful, but the links above deal with some specific MVC6 materials.
tomRedox
source share