Skip to content

Development

Mathew Charles edited this page Feb 25, 2016 · 23 revisions

Environment requirements

  • VS 2015
  • Add a strong name skip verification entry to since the SDK assemblies are delay signed. To do this run *sn -Vr ,31bf3856ad364e35 from a Visual Studio administrator command prompt. See Sn.exe documentation for details. Particularly the warning about only enabling this during development.

Building + Running Tests

  • Pull and build the source in VS (WebJobs.sln)
  • Set up the test storage account environment variables
    • AzureWebJobsStorage - Set this to your test storage account
    • AzureWebJobsDashboard - Storage account that will be used for dashboard logging (can be same as above)
    • AzureWebJobsServiceBus - Set this to your Service Bus namespace connection string
  • Open Test Explorer to view and run tests (we use XUnit)

Running the Dashboard Locally

  • Set up the dashboard account environment variables
    • StorageAccount - Set this to the storage account that you've configured the SDK to use
  • In the WebJobs soluction, right click and "View in Browser"
  • Once the Dashboard page loads, click "Functions" to view recently executed functions, etc.
Clone this wiki locally