One of my our application uses System.Web.Http to support ExceptionHandler in ASP.NET 4.x for the existing code. Currently I am migrating all the clas ...
One of my our application uses System.Web.Http to support ExceptionHandler in ASP.NET 4.x for the existing code. Currently I am migrating all the clas ...
In my REST API, my model binding is not mapping a property that is a list of objects. It correctly gets to the controller, and shows all the propertie ...
Update: Complete code example: Original: I'm following this guide to mock IHttpClientFactory. https://stackoverflow.com/a/54227679/3850405 For ...
I am writing some unit test for an ApiController. I continue to get multiple System.MissingMethodException exceptions for methods in the System.Web.Ht ...
System.Web.Http is missing in my .net core 2.1 project. the error states Error CS0234 The type or namespace name 'Http' does not exist in the nam ...
I have a WEB Api controller, that has the [Authorize] tag at the top of the controller - which means all API in this class will have this rule applied ...
I have a very light weight REST API that I wrote that validates a user. I want to return the validation as a JSON object, which I can, but if there ar ...
I have created an HttpTriggered azure function that returns a response in capital case. How do I convert it to camel case? The above code gives me ...
i'm using vs2012 and created a MVC4 project i'm going to implement a webhook for telegram bot. but after i added Telegram Bot Api from nuget, my pro ...
I have an asp.net web api application in which I have this line : My problem is that the namespace isn't recognized, I verified the dll system.Web. ...
I updated my project from .NET4 -> .NET461 and it builds without any errors on my local machine. However, when I push it and start team city build, ...
When i am hitting the url: http://localhost/api/adxxx/getDeals/?input=2 I get the following error: "Message": "No HTTP resource was found that ma ...
I have a web app that uses MEF, Webapi and OData. For MEF I created a helper class that loads the catalog on demand (at first access) The following i ...