Top "Asp.net-web-api2" questions

ASP.

No connection could be made because the target machine actively refused it?

Sometimes I get the following error while I was doing HttpWebRequest to a WebService. I copied my code below too. …

c# .net asp.net-web-api2 socketexception system.net.webexception
Where can I find a NuGet package for upgrading to System.Web.Http v5.0.0.0?

Just upgraded an ASP.NET MVC4 project to use Unity.WebApi version 5.0.0.0 and it requires System.Web.Http v 5.0.0.0 as …

c# .net asp.net-mvc-4 nuget asp.net-web-api2
HTTP 415 unsupported media type error when calling Web API 2 endpoint

I have an existing Web API 2 service and need to modify one of the methods to take a custom object …

json vb.net asp.net-web-api asp.net-web-api2 http-status-code-415
How to implement oauth2 server in ASP.NET MVC 5 and WEB API 2

First I'll sketch my project: For my internship I need to add functionality to an existing system. A 3rd party …

asp.net oauth-2.0 asp.net-mvc-5 asp.net-web-api2
How to get base URL in Web API controller?

I know that I can use Url.Link() to get URL of a specific route, but how can I get …

url asp.net-web-api base-url asp.net-web-api2
Pass multiple complex objects to a post/put Web API method

Can some please help me to know how to pass multiple objects from a C# console app to Web API …

c# asp.net asp.net-web-api asp.net-web-api2 dotnet-httpclient
CORS: credentials mode is 'include'

Yes, I know what you are thinking - yet another CORS question, but this time I'm stumped. So to start …

javascript c# angularjs cors asp.net-web-api2
FromBody string parameter is giving null

This is probably something very basic, but I am having trouble figuring out where I am going wrong. I am …

c# asp.net-web-api asp.net-web-api2 postman asp.net-web-api-routing
Asp.Net WebApi2 Enable CORS not working with AspNet.WebApi.Cors 5.2.3

I tried to follow the steps at http://enable-cors.org/server_aspnet.html to have my RESTful API (implemented with …

c# rest cors asp.net-web-api2
Web API optional parameters

I have a controller with the following signature: [Route("products/filter/{apc=apc}/{xpc=xpc}/{sku=sku}")] public IHttpActionResult Get(…

c# asp.net-web-api asp.net-web-api2