About 8,800,000 results
Open links in new tab
  1. 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 7 months ago Viewed 779k times

  2. asp.net web api - What is the difference between a web API and a …

    Oct 12, 2013 · 75 A web service typically offers a WSDL from which you can create client stubs automatically. Web Services are based on the SOAP protocol. ASP.NET Web API is a newer …

  3. 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, 5 months ago Viewed 470k times

  4. Single controller with multiple GET methods in ASP.NET Web API

    Feb 29, 2012 · The concept of multiple methods in a single asp.net web api controller makes it easier to have more than 1 method in code. I was able to implement following the steps in the …

  5. asp.net web api - Why do we have to specify FromBody and …

    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 …

  6. 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:

  7. 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

  8. 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

  9. c# - Health check, ASP.NET Web API - Stack Overflow

    Jun 12, 2020 · In my work I was asked to implement health checks into an ASP.NET Web API 2 written in C#. I have searched but all the documentation is for ASP.NET Core and its …

  10. Accessing Session Using ASP.NET Web API - Stack Overflow

    Mar 7, 2012 · I realize session and REST don't exactly go hand in hand but is it not possible to access session state using the new Web API? HttpContext.Current.Session is always null.