question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Default WebJob template in Visual Studio instatiates JobHost without providing the config

See original GitHub issue

When a new WebJob project is created, the JobHost is instantiated as follows: var host = new JobHost();

It is not using the configuration that is created right above that line:

var config = new JobHostConfiguration();
if (config.IsDevelopment)
{
     config.UseDevelopmentSettings();
}

Please update the template to do: var host = new JobHost(config);

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
davidebbocommented, Feb 22, 2017

I just created a new project, and I indeed see the behavior. @mlorbetske, could this be a recent regression in the WebJob template?

0reactions
paulbatumcommented, Mar 27, 2017

Closing this as fixed: external. Details of when the fix will ship are above.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tutorial: Get started with the Azure WebJobs SDK for event ...
In Visual Studio, select File > New > Project. Under Create a new project, select Console Application (C#), and then select Next. Under ......
Read more >
Develop and deploy WebJobs using Visual Studio
Learn how to develop Azure WebJobs in Visual Studio and deploy them to Azure App Service, including creating a scheduled task.
Read more >
How to use the WebJobs SDK - Azure App Service
Learn more about how to write code for the WebJobs SDK. Create event-driven background processing jobs that access data in Azure and ...
Read more >
Azure Web Job Template missing .Net Core Target
In Visual Studio 2019 the Azure Web Job Template does not have any target option for .Net Core. I need to have multiple...
Read more >
Create a .NET WebJob in Azure App Service
Deploy to Web Apps. Visual Studio automatically creates a new web app in App Service and a SQL Database instance. Configure the web...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found