Top "Asp.net-web-api" questions

ASP.

How do I get ASP.NET Web API to return JSON instead of XML using Chrome?

Using the newer ASP.NET Web API, in Chrome I am seeing XML - how can I change it to …

json google-chrome asp.net-web-api
Using <meta> tags to turn off caching in all browsers?

I read that when you don't have access to the web server's headers you can turn off the cache using: &…

html internet-explorer firefox caching asp.net-web-api
Refused to display in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'

I am developing a website that is supposed to be responsive so that people can access it from their phones. …

angularjs asp.net-web-api google-oauth
How to pass json POST data to Web API method as an object?

ASP.NET MVC4 Web API application defines post method to save customer. Customer is passed in json format in POST …

javascript asp.net-mvc json asp.net-mvc-4 asp.net-web-api
Best practice to return errors in ASP.NET Web API

I have concerns on the way that we returns errors to client. Do we return error immediately by throwing HttpResponseException …

c# rest asp.net-web-api
Does IMDB provide an API?

I recently found a movie organizer application which fetches its data from the IMDB database. Does IMDB provide an API …

asp.net-web-api imdb
.NET HttpClient. How to POST string value?

How can I create using C# and HttpClient the following POST request: I need such a request for my WEB …

c# asp.net-web-api dotnet-httpclient
Could not load file or assembly 'System.Web.Http 4.0.0 after update from 2012 to 2013

I did the upgrade according to. http://www.asp.net/mvc/tutorials/mvc-5/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2 I get the error. …

c# asp.net-web-api odata visual-studio-2013
POSTing JsonObject With HttpClient From Web API

I'm trying to POST a JsonObject using HttpClient from Web API. I'm not quite sure how to go about this …

c# asp.net wcf asp.net-web-api wcf-web-api
WebAPI Multiple Put/Post parameters

I am trying to post multiple parameters on a WebAPI controller. One param is from the URL, and the other …

.net asp.net-web-api