role-iq-logo
Rock [Azure]
See all Azure roles

Microsoft Azure Developer: Web Jobs

Azure Web Jobs allow you to write code that can run in the background of your App Service. In this course, you'll learn how to write, publish, and manage Web Jobs and how the WebJobs SDK can simplify very complex solutions with bindings and triggers.
Course info
Rating
(14)
Level
Intermediate
Updated
Sep 15, 2018
Duration
50m
Table of contents
Description
Course info
Rating
(14)
Level
Intermediate
Updated
Sep 15, 2018
Duration
50m
Description

At the core of background web process in Azure is a thorough knowledge of Azure Web Jobs. In this course, Microsoft Azure Developer: Web Jobs, you will learn how to build, publish, and manage Web Jobs. First, you will discover how to build and package a Web Job with a website and publish it with the site. Next, you will learn how to build an independent Web Job and how to publish it to Azure. Finally, you will explore how to leverage the Azure WebJobs SDK. When you are finished with this course, you will have a foundational knowledge of Azure Web Jobs that will help you as you move forward to building background processing for your Azure Web Applications.

About the author
About the author

Matt is an independent consultant with expertise in web application design and development and systems integration. As a writer, Matt has contributed to several journals and magazines such as MSDN Magazine. Matt regularly shares his love of technology by speaking at local, regional, and international conferences such as DevWeek, Prairie Dev Con, That Conference, and VS Live. As a Pluralsight Author, Matt has created more than 30 courses on the topics of web, mobile, and cloud development.

More from the author
More courses by Matt Milner
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
(Music) Hi everyone. My name is Matt Milner, and welcome to my course, Microsoft Azure Developer Web Jobs. I'm an independent software developer and trainer, and I've been working with web technologies for 25 years. Web Jobs are part of Azure App Services and run in the context of your application for no additional cost. In this course, we're going to learn all about Web Jobs and how to write them and publish them into your Azure App Services. Some of the major topics that we'll cover include scheduling a Web Job through the Azure portal, creating a Web Job in Visual Studio and associating it with a website project, building an independent Web Job that's deployed to an app service, and using the WebJobs SDK to build a job that's triggered by queue messages and writes to an Azure blob with minimal coding. At the end of this course, you'll have a solid understanding of how Azure Web Jobs work and be ready to develop Web Jobs of your own. Before you start this course, you should be familiar with programming in Visual Studio with C# and have some basic web development concepts. From here, you should feel comfortable diving into Azure with courses on Azure Functions and server-less computing, or going deeper into Azure Websites and App Services. I hope you'll join me on this journey to learn Web Jobs, with the Microsoft Azure Developer Web Jobs course, at Pluralsight.

Getting to Know Web Jobs
Hello, and welcome to this course, Microsoft Azure Developer: Web Jobs. In this first module, we're going to take a look at Web Jobs and help you understand what they are, how they work, and how they can benefit you. I'm Matt Milner. I'm a software developer and trainer, and I'm going to walk you through this course. We'll get started by taking a look at exactly what a Web Job is. Give you a little definition, little technical understanding, so that you know what a Web Job is and how it might fit into your solutions. We'll talk about how Web Jobs fit into the App Services model of Azure, App Services being where we host all of our things web, websites, web APIs, mobile back ends. And then we'll look at building and running a Web Job and the different ways that you can do that and the different options you have around Web Jobs execution. Let's go ahead and get started.

Building Web Jobs in Your Website
Welcome back. Let's take a look at building Web Jobs in your website. I'm Matt Milner. We're continuing to look at Azure Web Jobs and how you can leverage them when you deploy your sites to Azure. We're first going to take a look at a Web Job in Visual Studio, the project type and how to create that, and what kind of outputs we get from a Web Job in Visual Studio. We'll take a look at associating that Web Job with a website so that we can deploy them together. And then we'll package a Web Job for deployment. This allows us to provide some of the settings for the Web Job that we've previously seen only in the portal. We're going to take a look at the settings file and the JSON format for it. And we'll go ahead and deploy that Web Job with the website and have it out there as part of the website content from the get-go. So we'll jump right into demonstrations in Visual Studio where I've got an existing web app that we're going to be able to associate some Web Jobs with and to package and deploy the whole thing.

Building an Independent Web Job
Welcome back to our course on Azure Web Jobs. We're now going to jump into building an independent Web Job, or a Web Job that's not associated with a web application that we deploy. I'm Matt Milner, and I'm going to continue to show you how to leverage Web Jobs in your Azure App Services. We'll start by taking a look at a Web Job in Visual Studio project, but instead of associating that with a web app, we're going to package the Web Job independently for deployment out to an App Service. We're going to work with the Web Job publish settings in our independent Web Job, to configure this Web Job to run as we want it to once it's deployed. And then we'll deploy this directly to an App Service, not alongside a web app project, but all by itself. Let's jump into our examples, build out a new Web Job all on its own, and get it packaged and deployed.

Utilizing the WebJobs SDK
Welcome back to our course on Microsoft Azure Web Jobs. In this module, we're going to take a look at utilizing the WebJobs SDK to both simplify the code that we write and extend the reach of our Web Jobs code. I'm Matt Milner, and I'm glad you're joining me for this last module. Let's take a look first at what the WebJobs SDK provides in terms of bindings to services, things like Azure Queues, Service Bus, Table and Blob Storage, the other messaging or data-related services. It's going to simplify the job we have of coding and configuring our Web Jobs so that we don't write a lot of the boilerplate code to connect to and access these resources. And finally, it does provide us a very similar model to Azure Functions, which is part of Microsoft's server-less platform in Azure that function very similarly to Web Jobs and use the same model of bindings, and in fact many of the same parts of the SDK. So let's get to it and create a Web Job that uses the SDK so you can see how these bindings work and how we can write a very simple Web Job that can do very complex things.