-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blob upload fails when run in Blazor WebAssembly #11626
Comments
Confirmed fixed with a latest Azure.Core build. |
Thank you so much for handling this so fast, @pakrym! |
This Friday the Azure.Core would ship so customers would have a workaround of updating it. I'm not sure if storage would also ship with updated Azure.Core dependency but the probability is high. @mkArtakMSFT is there an easy way to run our tests in blazor runtime? |
Unfortunately there is no easy way at the moment. We currently handle this manually, but the Mono team is working with the infrastructure team to spin up an internal hardware lab, where we will eventually be able to run automated tests against Mono WebAssembly runtime. |
[Hub Generated] Review request for Microsoft.MixedReality to add version preview/2019-02-28-preview (Azure#11626) * add isDataAction to listOperations spec * check if type is wrong * Type should be boolean * add identity and kind to the spatial accounts def * isDataAction should be an enum * move isDataAction to its own enum * remove kind from list * refer to common types instead of defining inline * update schema to reflect reality * remove extraneous curly brace * add curly brace at the correct location * change nameAvailable to boolean * add a format for integer type * change example * updated wrong file * remove format per breaking change discussion * fix prettier error
Describe the bug
The
UploadAsync
call fails when run in Blazor WebAssembly. Here is my sample code:Expected behavior
The call succeeds
Actual behavior (include Exception or Stack Trace)
I get the following error:
System.Threading.SynchronizationLockException: Cannot wait on monitors on this runtime.
To Reproduce
Create a new Blazor WebAssembly application (3.2. Preview5 version):
<PackageReference Include="Azure.Storage.Blobs" Version="12.4.1" />
packagePages/Counter.razor
as follows (Note: replacemyConnectionString
with a valid Blob storage connection string)/counter
page and click theClick Me
buttonEnvironment:
Name and version of the Library package used: Azure.Storage.Blobs v.12.4.1
Hosting platform or OS and .NET runtime version (
dotnet --info
output for .NET Core projects): .NET Core Runtime: 3.1.3OS: Win 10 Pro x64
IDE and version : VS 16.6 Preview4
The text was updated successfully, but these errors were encountered: