ASP.Net Core applications need a different method for returning exception data back to the Angular services. The Angular.Net Starter App implements a technique to return useful exception information back to the client, which is later stored on the client for analysis. Here is how it works.
In the Angular.Net Starter App, all WebAPI Controllers are derived from a base controller. In this case, I didn’t need to spend a lot of time trying to think of a clever name for the base controller so I just named it “BaseController.cs”. Here is how to extend the ExceptionFilterAttribute for passing exception details back to the client.
On this page of the site you can watch the video online WebAPI Exceptions in Angular with a duration of hours minute second in good quality, which was uploaded by the user David Donovan 24 August 2017, share the link with friends and acquaintances, this video has already been watched 282 times on youtube and it was liked by 5 viewers. Enjoy your viewing!