An Interest In:
Web News this Week
- March 23, 2024
- March 22, 2024
- March 21, 2024
- March 20, 2024
- March 19, 2024
- March 18, 2024
- March 17, 2024
Creating custom bindings for Azure Functions
This article is part of #ServerlessSeptember. You'll find other helpful articles, detailed tutorials, and videos in this all-things-Serverless content collection. New articles are published every day that's right, every day from community members and cloud advocates in the month of September.
Find out more about how Microsoft Azure enables your Serverless functions at https://docs.microsoft.com/azure/azure-functions.
In my opinion, one of the most extraordinary features of Azure Functions is its ability to declaratively connect to an external resource, and consume it within your function code without the needing to know very much about the underlying API.
This concept is known as bindings, and with it you can interact with various external services as inputs or outputs to your serveless function. Of course, bindings are optional, and a function might have one or multiple input and/or output bindings.
Out of the box, Azure Functions provides a variety of supported bindings. These allow you to easily integrate with services like Twilio, Azure Service Bus, SendGrid, Cosmos DB, or even HTTP.
However, what if you want to create a binding to a service that's not in the list of supported bindings? This might be a 3rd party service that your company relies on or maybe even an internal service you created.
This is was such a common question that we decided to ask our friend Matas Quaranta to join us on On .NET to show us exactly how we can create our own custom bindings for Azure Functions. Matias was also kind enough to provide a GitHub repository with step-by-step instructions that any of us may follow along with.
If you liked this video and would like to see some more of our .NET content, please subscribe to our .NET Developers YouTube Channel.
Useful Links
Original Link: https://dev.to/azure/creating-custom-bindings-for-azure-functions-5fb9
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To