WebAPI Exceptions in Angular

Publicado em: 24 Agosto 2017
no canal de: 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.


Nesta página do site você pode assistir ao vídeo on-line WebAPI Exceptions in Angular duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário David Donovan 24 Agosto 2017, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 282 vezes e gostou 5 espectadores. Boa visualização!