Download presentation
Presentation is loading. Please wait.
1
Practical WebJobs SDK and Extensions
Boston Azure June 23, Jason Haley
2
Brief Bio Professional software developer for almost 20 years
Currently an independent consultant Have been using Azure for 6 years Run and help out with several user groups in the area: DevBoston Boston Azure North Boston Azure (new – still looking for a host in the Burlington area)
3
The Plan Introduction to WebJobs WebJobs SDK and Extensions
Practical Examples
4
What are WebJobs? Flexible way to run background jobs
Can be .cmd, .bat, .exe, .ps1, .sh, .php, .py, .js, .jar Execution options: Continous On Demand Scheduled Can scale with your website
5
How are they stored and started?
WebJobs are stored within the website site\wwwroot\app_data\jobs\{job_type}\{job_name} Will decide what to run by a first one found wins rule: First look for a file called run.{supported extension} If not found, look for any file with supported extension If not, then not a runnable WebJob
6
WebJobs SDK and Extensions
Provides a Binding and Trigger system Fully Extensible WebJobs SDK Azure Storage Blobs, Queues, Tables and Service Bus WebJobs SDK Extensions Files, Timer, WebHook, SendGrid, plus others
7
Demos Full listing on next slide
8
Real world examples Triggering a function’s logic by watching a queue
How to send a file to blob storage How to customize the serialization when using the Blob binding How to surface your own logging from within a WebJob Work with multiple Azure storage accounts How to use the Table binding to store data in table storage Writing your own NameResolver and why you would want to Executing a function on a cron schedule Sending a message via SendGrid in a WebJob with very little code
9
Questions? Slides and code will be at: jasonhaley.com Jason Haley
@haleyjason @haleyjason
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.