Ignite 2021 introduced at least three interesting updates to API Management: support for Event Grid, GraphQ, and WebSockets. I will try to cover the essence of the updates here.
Event Grid is a notification service for Azure. A given service can publish updates to Event Grid and other services (e.g. an Azure Function) can listen to events and act upon them.
For API Management, the event grid integration supports a lot of practical scenarios, e.g.:
A user subscribes to an API via the Developer Portal. This triggers an event published to Event Grid. An Azure Function subscribes to the Event Grid and receives the subscription notification event. The Function can then implement some custom logic that validates some custom requirements (e.g. validates the e-mail domain or time-of-day) and can either reject or approve the subscription.
An API publisher updates an API. This triggers an event that is published to Event Grid. The event is then consumed by an Azure Function. The Function looks up API Management users that reside in the “InternalDevelopers” group and sends out an e-mail to its users.
Read more about the announcement here: General availability: API Management and Event Grid Integration
GraphQL is a very popular query language for web APIs used by GitHub and Twitter, amongst others. API Management allows you to manage, secure, test, and expose GraphQL services as APIs:
GraphQL pass-through support is currently in public preview.
Read the announcement here: Public preview: GraphQL passthrough support in Azure API Management and take a look at the Documentation.
WebSockets is a full-duplex communication protocol for the Web and is very popular in browser-based games. With WebSocket support in API Management, it is now possible to manage, secure, monitor, and test WebSocket APIs just like you would with REST APIs.
When you set up and configure WebSocket APIs things look a bit different. E.g. the WebSocket API has an onHandshake operation that allows you to intercept the handshake in API Management.
Read the announcement here: General availability: Native support for WebSocket APIs dive into the Documentation.
AZURE NEWS: What’s new with .NET on Azure Functions – June 2021
AZURE NEWS: Azure API Management Premium tier price reduction for incremental purchased units
BUILD 2021 NEWS: “Native support for WebSocket APIs in Azure API Management”
AZURE NEWS: Enable azure site recovery (ASR) while Azure Virtual Machines are created
AZURE NEWS: “Prevent Shared Key authorization for an Azure Storage account”