
Best practice to return errors in ASP.NET Web API [closed]
May 24, 2012 · Best practice to return errors in ASP.NET Web API [closed] Asked 13 years, 6 months ago Modified 6 months ago Viewed 779k times
ASP.NET Core return JSON with status code - Stack Overflow
75 With ASP.NET Core 2.0, the ideal way to return object from Web API (which is unified with MVC and uses same base class Controller) is
How to pass json POST data to Web API method as an object?
351 ASP.NET MVC4 Web API application defines post method to save customer. Customer is passed in json format in POST request body. Customer parameter in post method contains null values for …
How to return HTTP 500 from ASP.NET Core RC2 Web Api?
Jun 13, 2016 · How to return HTTP 500 from ASP.NET Core RC2 Web Api? Asked 9 years, 6 months ago Modified 2 years, 1 month ago Viewed 473k times
ASP.NET Core: [FromQuery] usage and URL format - Stack Overflow
43 I am trying to use [FromQuery] in my web API and I am not sure how to use it. Here's the GetAllBooks() method in the controller:
c# - ASP.NET Web API : Correct way to return a 401/unauthorised ...
Jul 3, 2015 · ASP.NET Web API : Correct way to return a 401/unauthorised response Asked 10 years, 5 months ago Modified 2 years, 11 months ago Viewed 285k times
405 method not allowed Web API - Stack Overflow
Mar 30, 2013 · I had CORS enabled and working as long as the POST returned void (ASP.NET 4.0 - WEBAPI 1). When I tried to return a HttpResponseMessage, I started getting the HTTP 405 …
How to return a file (FileContentResult) in ASP.NET WebAPI
How to return a file (FileContentResult) in ASP.NET WebAPI Asked 11 years, 2 months ago Modified 3 years, 4 months ago Viewed 470k times
asp.net web api - Why do we have to specify FromBody and FromUri ...
Jul 8, 2014 · When the ASP.NET Web API calls a method on a controller, it must set values for the parameters, a process called parameter binding. By default, Web API uses the following rules to bind …
c# - Best way of calling a long running process asynchronously in .net ...
Jul 9, 2021 · 4 Since ASP.NET MVC does not itself provide the ability to process long-running tasks, you have to create an external solution. Create a Durable Queue in which to place your requests for long …