How you can send the result back in json format in mvc?



How you can send the result back in json format in mvc?..

Answer / Avishant Dubey

In MVC, you can send results back in JSON format by creating an action method that returns a JsonResult object, which contains the data to be sent as JSON.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MVC Model View Controller Interview Questions

How do you implement forms authentication in mvc?

1 Answers  


Is react an mvc?

1 Answers  


What does Model, View and Controller represent in an MVC application?

1 Answers   NA,


What is mvc routing?

1 Answers  


Is razor a mvc?

1 Answers  


Define attribute based routing in mvc?

1 Answers  


What’s new in the latest version of mvc?

1 Answers  


Mention what is the importance of nonactionattribute?

1 Answers  


Why is mvc better than webforms?

1 Answers  


What is html beginform in mvc?

1 Answers  


What is the purpose of viewmodel in mvc?

1 Answers  


What is the purpose of mvc?

1 Answers  


Categories