No documentation about JobHostOptions
See original GitHub issueUsing the version 3.0.0, JobHostConfiguration has disapeared.
To configure the webjob, from what I can see, I can use IOptions<JobHostOptions>. I search on google: https://www.google.ca/search?rlz=1C1CHBF_enCA784CA784&ei=5hnFW8u1Ja-3ggf3n6igDQ&q=c%23+core+"JobHostOptions"&oq=c%23+core+"JobHostOptions"&gs_l=psy-ab.3...5061.5741.0.6012.2.2.0.0.0.0.119.212.1j1.2.0....0...1c.1.64.psy-ab..0.0.0....0.7dbt4mv3PfE
There is no result.
Could you write a documentation explaining how to make a new JobHost using IOptions<JobHostOptions>
My final purpose is to be able to continue to use:
var jobHostConfiguration = new JobHostConfiguration();
jobHostConfiguration.JobActivator = new JobActivator(host);
jobHostConfiguration.Queues.MaxDequeueCount = 1;
jobHostConfiguration.Queues.BatchSize = 1;
jobHostConfiguration.Queues.MaxPollingInterval = TimeSpan.FromSeconds(15);
jobHostConfiguration.DashboardConnectionString = ConnectionStringsSettings.AzureWebJobsDashboard;
jobHostConfiguration.StorageConnectionString = ConnectionStringsSettings.AzureWebJobsStorage;
which stop working on v3.0.0 because JobHostConfiguration disapeared.
- https://github.com/Azure/azure-webjobs-sdk/issues/1918
- https://github.com/Azure/azure-webjobs-sdk/issues/1903
I image that I can configure it in the appsettings using something like:
"JobHost": {
"DashboardConnectionString ": "xxxxxx",
"StorageConnectionString ": "xxxxxx",
"Queues": {
"MaxDequeueCount ": "1",
"BatchSize ": "1",
"MaxPollingInterval ": 15
}
},
Thanks for your help.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
.Net 4.7 - Azure WebJob Project - JobHostConfiguration ...
1 Answer 1 ... If you want to Azure WebJob SDK V3, the JobHostConfiguration and JobHost have been removed. In version V3, the...
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 >How to call ConfigureAppConfiguration when testing Azure ...
How to update a doc in a collection with Azure function Cosmos DB trigger? Microsoft.Azure.Cosmos Most Efficient way to Export Large Data ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
But there is still no documentation available, so I let the issue opened 😃
New doc is now live:
For any further issues, use the feedback links on the doc, and issues for doc can be created in the docs repo: https://github.com/MicrosoftDocs/azure-docs/issues rather than this repo.