WebAPI Exceptions in Angular

Опубликовано: 24 Август 2017
на канале: David Donovan
282
5

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.


На этой странице сайта вы можете посмотреть видео онлайн WebAPI Exceptions in Angular длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь David Donovan 24 Август 2017, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 282 раз и оно понравилось 5 зрителям. Приятного просмотра!