[BUG] the AddAzureStorage extension of IWebJobsBuilder doesn't exist in Microsoft.Azure.WebJobs.Extensions.Storage 5.0.0
See original GitHub issueLibrary name and version
Microsoft.Azure.WebJobs.Extensions.Storage 5.0.0
Describe the bug
We are using Microsoft.Azure.WebJobs.Extensions.Storage v4.0.4 and using this function in StorageWebJobsBuilderExtensions
class:
public static IWebJobsBuilder AddAzureStorage(this IWebJobsBuilder builder, Action<QueuesOptions> configureQueues = null, Action<BlobsOptions> configureBlobs = null);
But after we upgraded the package to 5.0.0. The function seems to be removed. How can I use the function AddAzureStorage()
with the latest pacakge?
Expected behavior
I can use the AddAzureStorage()
Actual behavior
can’t find AddAzureStorage() in new package
Reproduction Steps
var builder = new HostBuilder();
builder.ConfigureWebJobs(b =>
{
b.AddAzureStorage();
});
Environment
Windows 11 .NET Framework 4.8 Visual Studio 2019 16.11.11
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Microsoft.Azure.WebJobs.Extensions.Storage 5.0.0 and ...
It looks like Microsoft.Azure.WebJobs.TableAttribute is no longer part of the Microsoft.Azure.WebJobs.Extensions.Storage package. This is a ...
Read more >azure - 'IWebJobsBuilder' does not contain a definition for ...
If you are using Microsoft.Azure.WebJobs.Extensions version > 3 you will get this error also, drop it to the last 3.xxx version and should...
Read more >Microsoft.Azure.WebJobs.Extensions.Storage 5.1.3
NET. This extension provides functionality for accessing Azure Storage Blobs and Queues in Azure Functions. This package is a metapackage created for backwards ......
Read more >Update Your Azure Functions Table Storage Bindings
Tables NuGet package. There was an unfortunate period of time when the new Microsoft.Azure.WebJobs.Extensions.Storage had been released as v5.
Read more >Avoid Lock - Pointing Two WebJobs to The Same Azure ...
Webjobs runtime uses Azure storage blobs to accomplish a locking ... For the timers listener is Microsoft.Azure.WebJobs.Extensions.Timers.
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
@KayMKM They are both independent of each other, so you would call both or either one depending on your scenario. The answers to your queries would be
@KayMKM Hope that helps! Since there is no bug here, closing this issue.