Deploying ASP.NET Core 6 Web API to Azure API Management
https://www.pluralsight.com/courses/asp-dot-net-core-6-deploying-web-api-azure-management
by Reza Salehi
Course Overview
- Course Overview
Azure API Management Overview
- Overview
- Introduction to Web APIs
- Demo: Developing an ASP.NET Core 6.0 Web API
- You can use Node.js, PHP, .NET, .NET Core or other technologies with Azure API Management
- Demo: Deploying Our Web API to an Azure App Service
- shows how to deploy API Management into an App Service
- a demo of using Visual Studio to deploy to azure App Service
- New Business Requirements
- Introducing Azure API Management
- You should have your APIs ready, before starting with the API Management!
- All the API Management functionality is hosted and executed through API Gateway.
- Demo: Importing Our API to Azure API Management
- shows how to add an API using a swagger spec file
- shows how to filter api requests by ip address
Deploying APIs to Azure API Management
- Overview
- API Management Pricing Tiers
- API Management Pricing Tiers
- consumption
- basic
- standard
- premium
- provides virtual network integration
- developer
- Provisioning API Management
- you can use azure cli or powershell to provision APIM
- Demo: Provision API Management in Azure Portal
- Demo: Provision API Management in Azure CLI
- Demo: Provision API Management in Azure PowerShell
- API Management Products, Subscriptions, Version, Revision, and Policies
- Products are how APIs are presented to client developers. API Management Products have one or more APIs and can be open or protected.
- Revisions allow you to make changes to your APIs in a controlled and safe way
- Policies enable you to change the API behavior through configuration
- convert JSON response to XML, for example
- Demo: Prevent Bypassing API Management
- to prevent users getting around APIM (so they won't be able to access backend api directly):
- use a policy to pass a header from APIM and verify this header in code
- Demo: Save API Management Configuration in Git Repository
- Demo: API Management Products and Subscriptions
- Demo: API Management Developer Portal
- Demo: API Management API Versions
- Demo: API Management API Revisions
- revision are like versioning
Enhancing APIs Using API Management Policies
- Overview
- Azure API Management Policies
- policies are configured using xml
- Policy Scope
- policies can be enforced at different scopes; globally, at api level, etc...
- inter caching policies are available. you can also integrate with redis cache
- Demo: Applying API Calling Quotas
- shows how to rate limit by ip address
- Demo: Limiting API Caller IPs
- shows how to allow whitelisted ip address to use the api
- Demo: Changing API Response Type from JSON to XML
- Demo: Checking HTTP Request Headers
- Demo: Mock API Response
- you can intercept a request and return a mocked response
Comments
Post a Comment