Note: Currently this is a pre-release, please report any problems on theissues page. With this extension you can right click on a web project in Visual Studio and associate a console project as a WebJob. After doing that when you publish the web project the webjob project will be published into the correct location in your Azure Web Site.
After selecting this you will see the following dialog. In this dialog you'll select the console project which contains your webjob and specify the schedule for the webjob. If you are using the WebJobs SDK most likley you will want to chose Continious here. After you do this the following changes will be made the the web project.
The WebJobsBuilder NuGet package contains an MSBuild .targets file that is added to the projects build/publish process. This is what extends the publish process to consume the output of the webjob project.
You can get started easier by first downloading SideWaffle Extension. After you install SideWaffle you will see a new project template in Visual Studio (under the Cloud node). This project template comes with the WebJobs SDK pre-installed.
|