Skip to content
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

[Discussion] Updated Blazor browser support for .NET 5 #26475

Closed
danroth27 opened this issue Sep 30, 2020 · 7 comments
Closed

[Discussion] Updated Blazor browser support for .NET 5 #26475

danroth27 opened this issue Sep 30, 2020 · 7 comments
Milestone

Comments

@danroth27
Copy link
Member

Updated Blazor browser support for .NET 5

.NET 5 introduces a variety of new Blazor features, some of which are not compatible with certain older browsers. We are updating the list of browsers supported by Blazor in .NET 5 accordingly.

In .NET 5 we will no longer support Blazor Server with Microsoft Internet Explorer 11. Note that Blazor WebAssembly was already not supported with Microsoft Internet Explorer 11.

There are also known incompatibilities in Blazor Server and Blazor WebAssembly with Microsoft Edge Legacy in .NET 5 that we do not plan to address. The new Microsoft Edge based on Chromium is supported and is recommended instead.

Version introduced

5.0

Old behavior

Blazor Server previously supported Microsoft Internet Explorer 11 with sufficient polyfills. Blazor Server and Blazor WebAssembly were also previously functional in Microsoft Edge Legacy.

New behavior

Blazor Server in .NET 5 will no longer be supported with Microsoft Internet Explorer 11. Blazor Server and Blazor WebAssembly are also no longer fully functional in Microsoft Edge Legacy.

Reason for change

New Blazor features in .NET 5 are not compatible with these older browsers and use of these older browsers is diminishing. Windows support for Microsoft Edge Legacy is also ending on March 9, 2021 and Microsoft 365 apps and services will end support for Microsoft Internet Explorer 11 by August 17, 2021.

Recommended action

We recommend upgrading from these older browsers to the new Microsoft Edge, which is fully supported. For Blazor apps that still need to continue to support these older browsers, we recommend using .NET Core 3.1 LTS. The set of supported browser platforms for Blazor in .NET Core 3.1 LTS remains unchanged and is documented here: https://docs.microsoft.com/aspnet/core/blazor/supported-platforms?view=aspnetcore-3.1.

@mrpmorris
Copy link

@danroth27
I'm disappointed you aren't going to support legacy Edge. Can you include some kind of polyfill JS file that we can add to our index.html if we want to support older versions? That's one of the good things about Angular et al, they don't abandon existing support for browsers.

I am currently having to downgrade my .NET5 Blazor WASM app because of this :(

@danroth27
Copy link
Member Author

@mrpmorris We don't currently have any plans to provide specific polyfills for restoring Legacy Edge support, but you can see the changes that are currently required here: #26132

@mrpmorris
Copy link

On this subject. Do you know of any polyfills for emulating wasm on IE11 so I can try to get some 2.1 assemblies to run?

@danroth27
Copy link
Member Author

Early on in the Blazor project we experimented with cross compiling the runtime to asm.js in order to support IE11, but it had lots of issues and the experience wasn't great, so we dropped it and focused our efforts on WebAssembly.

@lucashutyler
Copy link

Just ran into Legacy Edge not being supported today. Is there a recommended solution to display a "browser not supported" message for incompatible browsers?

@Daddoon
Copy link

Daddoon commented Dec 2, 2020

Just in case some people are interested, i just updated Blazor.Polyfill project for Internet Explorer 11 support with Blazor server-side on .NET 5.0.

At least the template is working perfectly, the only thing i have noted is that IE11 does not have the "disconnection trying to reconnect" HTML behavior if the server is stopped or unreachable, something may be improved here.

No Legacy Edge support (i was not even aware) atm.

Of course it's nothing official from Microsoft, so usage at your own risk, but it may be a possible workaround if stuck with old company using very old browsers.

@ghost
Copy link

ghost commented Feb 1, 2021

Thank you for contacting us. Due to a lack of activity on this discussion issue we're closing it in an effort to keep our backlog clean. If you believe there is a concern related to the ASP.NET Core framework, which hasn't been addressed yet, please file a new issue.

This issue will be locked after 30 more days of inactivity. If you still wish to discuss this subject after then, please create a new issue!

@ghost ghost closed this as completed Feb 1, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Mar 3, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants