Jun 19, 2018 04:35 PM|JORGEMAL|LINK
I am new to MVC (coming from Web Forms) and working in my first project.
In web forms, a click event is "associated" to a click method in order to perform a server-side process, a DB operation for example.
After doing some research I have found that, in MVC, a server-side process can be triggered via an AJAX call to run a web service, a RESTful web service for example.
My question is:
What is an optimal way to perform a server-side process in an MVC application? or What is a good practice? or What is the preferred method?
Is running a web service a good approach?