News

Consume the Web API using RestSharp Now that our Web API is ready for use, let’s start consuming it. Create another project – this time a Console application project to keep it simple.
Using HttpResponseException in ASP.NET Web API You can use the HttpResponseException class to return specific HTTP status codes and messages from your controller methods in Web API. Here is an ...