Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Azure Serverless Computing

You're reading from   Mastering Azure Serverless Computing A practical guide to building and deploying enterprise-grade serverless applications using Azure Functions

Arrow left icon
Product type Paperback
Published in Nov 2019
Publisher Packt
ISBN-13 9781789951226
Length 362 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Massimo Bonanni Massimo Bonanni
Author Profile Icon Massimo Bonanni
Massimo Bonanni
Lorenzo Barbieri Lorenzo Barbieri
Author Profile Icon Lorenzo Barbieri
Lorenzo Barbieri
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Section 1: Azure Functions 2.0 Fundamentals FREE CHAPTER
2. Developing and Running Azure Functions 3. Customizing Your Azure Functions 4. Programming Languages Supported in Azure Functions 5. Section 2: Azure Functions 2.0 Deployment and Automation
6. Deploying and Configuring Your Azure Functions 7. Leverage the Power of DevOps with Azure Functions 8. Testing and Monitoring 9. Serverless and Containers 10. Section 3: Serverless Orchestration, API Management, and Event Processing
11. Orchestration as Code - Durable Functions 12. Orchestration as Design - Logic Apps 13. Empowering Your Serverless API with API Management 14. High-Scale Serverless Event Processing with Event Grid 15. Section 4: Real-World Serverless Use Cases
16. Best Practices and Use Cases for Azure Serverless Computing 17. Assessments 18. Another Book You May Enjoy

Creating a custom trigger

Before starting to implement your custom trigger, is important to understand what the classes involved in the trigger pipeline are and what their responsibility is in that pipeline:

  • TriggerConfigProvider: This implements the IExtensionConfigProvider interface and it has the responsibility of configuring the entire trigger process in terms of:
    • The attribute that defines the trigger
    • The payload associated with the trigger (for example, the HTTP request for HttpTrigger)
    • The actual binding provider class to use to create the actual binding object
  • TriggerAttribute: This is used to decorate a method parameter to identify the function trigger. It inherits from Attribute and is decorated by BindingAttribute. It has the responsibility of containing the trigger data (for example, the schedule expression for TimerTrigger).
  • TriggerBindingProvider: This implements...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime