This is part of a full day Serverless training I hosted for Microsoft Turkey in Istanbul talking about Azure Function Proxies and Azure API Management.
Azure Function Proxies +Azure API ManagementDaron Yöndemhttp://daron.me@daronyondem
View Slide
Why need a proxy?• Have multiple function apps under a single API surface.• Mock APIs for developers!• Request/Response overrides.
Creating a mock api with function proxiesDEMO
Creating proxies to override request/response on a 3th party API.DEMO
Running proxies locally from Visual Studio.DEMO
Build-in parameters for requests{request.method}{request.headers.}{request.querystring.}
Build-in parameters for responses{backend.response.statusCode}{backend.response.statusReason}{backend.response.headers.}
Referencing App Settingshttps://%ORDER_PROCESSING_HOST%/api/orders
Why Azure API Management?• Rate limiting• Access Policies• Caching• Subscriptions• Licensing• Analytics• Developer Portal• and so on…
Licensing and throttling functions with API ManagementDEMO
Links worth sharingAzure Proxies Official Documentation• https://aka.ms/ProxiesDocsOpenAPI (Swagger) export from Azure Functions• https://goo.gl/LWbFmH
Thankshttp://daron.me | @daronyondemDownload slides here;http://daron.me/decks