You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @arivera12, I'd recommend skipping .NET 5 and going straight to .NET 6 in this case as .NET 6 has significant improvements to the byte array interop mechanisms.
Blazor no longer Base64 encodes/decodes byte[], and also natively supports streaming via JSStreamReference/DotNetStreamReference. This'll provide SIGNIFICANT improvements to stability and performance over .NET 5 in this area.
When passing a byte[] from .NET to JavaScript, the bytes are now received as a Uint8Array instead of as a Base64 encoded string. Code that previously decoded the Base64 encoded string will need to be removed. See the related announcement for details on this breaking change.
Hello @arivera12, I'd recommend skipping .NET 5 and going straight to .NET 6 in this case as .NET 6 has significant improvements to the byte array interop mechanisms.
Blazor no longer Base64 encodes/decodes
byte[]
, and also natively supports streaming viaJSStreamReference
/DotNetStreamReference
. This'll provide SIGNIFICANT improvements to stability and performance over .NET 5 in this area.Links:
Originally posted by @TanayParikh in #28 (comment)
The text was updated successfully, but these errors were encountered: