Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
Partner API
Composite API
Open API
Internal API
Composite API
Soap API
FullContact API
Amazon S3 API
Boss Mobile
Fujezone Mobile
 Nokia Mobile
 :) Hot Jobs
 
 :) Latest Articles


  

 


How to set only JSON output in WebApiConfig file in App_Start folder?
Question Posted on 18 Oct 2021

Home >> API >> API Questions >> How to set only JSON output in WebApiConfig file in App_Start folder?




How to set only JSON output in WebApiConfig file in App_Start folder?
In Web API some time we need only JSON output we can do this by many method but to get only JSON data in browser we use below code to be apply in WebApiConfig file in App_Start folder.
config.Formatters.Remove(config.Formatters.XmlFormatter);
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
How to set only JSON output in WebApiConfig file in App_Start folder?
What are the five main symptoms of Bot Attacks on APIs
What do you mean by Rate Limiting in API?
Step to publish Web API on IIS Server?
Getting error in dotnet "EntityFrameworkCore does not exist in the namespace Microsoft"






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |