I have one question about about ASP.NET
In Razor, what is the command used to create a button to send an event back to the controller without refreshing the page when clicked?
I have one question about about ASP.NET
In Razor, what is the command used to create a button to send an event back to the controller without refreshing the page when clicked?
you should use java script ajax call to server , there is no code behind event as there was in asp.net form . or if you want pure single page app , better use web api instead of mvc . in web api you can post json and get json as result , and then use client side framework (angular, ember ) to loop or show data on page.