Link to home
Start Free TrialLog in
Avatar of Soluga
Soluga

asked on

Json and MVC

Hi,

I am trying to move over from web forms to MVC.
I have always used Json to post data to the server.

Should I continue to use Json or are people moving over to the controllers only to post data?

Thanks
Avatar of guru_sami
guru_sami
Flag of United States of America image

The question is bit unclear. Can you elaborate more on your issue.

When you say post json, I take you are making an ajax call to some webservice correct? You can continue using that or now you have WebAPI as an option as well.
Avatar of Soluga
Soluga

ASKER

Yes, I have used ajax calls to a WebMethod on the code behind in web forms.

I guess I am just wondering whether to pursue that design pattern as it is such an efficient method in moving data around.
ASKER CERTIFIED SOLUTION
Avatar of guru_sami
guru_sami
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Soluga

ASKER

Many Thanks