Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

readme.md

AzureFunctions.Middleware.Sample

This sample application provides an example on implementing global exception handler for azure functions. Extend the sample application to address cross-cutting concerns of your application.

Run project

dotnet run

Swagger endpoint

Swagger Localhost UI

Swagger UI

Swagger UI

Middleware demo

1. HTTP trigger without any unhandled exception flow

Middleware demo

2. HTTP trigger throws exception flow

Middleware demo exception handling

3. UseWhen (Authorization) flow

Middleware demo authorization