Frequently Asked Questions
Can I host handlers as Azure Functions?
Yes. Check out the Azure Functions support docs.
⌛️
Be aware of Timeouts
- Azure Functions invocations often have a rather long startup cost, especially if rarely in use.
- Slacks timeout limit is 3 seconds (opens in a new tab):
If your endpoint does not respond within 3000ms, Slack will issue another callback request (retries). This could lead to duplicate handling of events, unless you your handlers are at-most once capable.
Until ASP.NET Core and Azure Functions improve on cold starts, .NET on Azure Functions is not really suitable for Slack callbacks.