Json crud operation
How to create crud operation using Web API JSON? I referred to so many links for XML. But I want in JSON format
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Gowtham RamarRank #1,754 · 860 reputationPosted Jan 22, 2020, 10:28 AM EST
Amit MohantyRank #112 · 20K reputationPosted Jan 22, 2020, 10:34 AM EST
If you want your Web API should return JSON response as default you will have to configure JSON Media Type Formatter.
Open WebApiConfig.cs file from App_start folder and add below code.
Jignesh KumarRank #91 · 22.9K reputationPosted Jan 22, 2020, 2:37 PM EST