One can use HttpResponseException, HttpError, Exception filters, register exception filters, Exception handlers to handle errors. Exception filter can be used to identify unhandled exceptions on actions or controllers, exception handlers can be used to identify any type of unhandled exception application-wide, and HttpResponseException can be used when there is the possibility of an exception.
Subscribe to:
Post Comments (Atom)
Web API Versioning.
Implement the new feature without impacting the existing consumers we can solve this problem by API versioning. When the business has start...
-
Caching is used to improve the performance in ASP.NET MVC. Caching is a technique which stores something in memory that is being used frequ...
-
An obvious question which popped-up in your mind is, So Web Service and API are same, right? My answer is, IT’S NOT. All web services are A...
-
WCF stands for W indows Communication Foundation. It is basically used to create a distributed and interoperable Application. =========...
No comments:
Post a Comment