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 |
How can we detect that an mvc controller is called by post or get?
What is difference between mvc (model-view-controller) and mvp (model-view-presenter)?
Define attribute based routing in mvc?
What is the difference between mvc and mvvm?
Explain using hyperlink how you can navigate from one view to other view?
What is latest mvc version?
What is the difference between mvc 1 and mvc 2?
What is mvvm mvc?
What are html helpers in mvc?
What is output caching in mvc?
What is render view in mvc?
Why viewstate is not used in mvc?