Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

Update to latest Mono (for 0.7.0 release) #1647

Merged
merged 7 commits into from
Nov 7, 2018

Conversation

SteveSandersonMS
Copy link
Member

@SteveSandersonMS SteveSandersonMS commented Nov 7, 2018

As of this PR, we're now using Mono's prebuilt binaries instead of building custom ones for Blazor. This greatly simplifies the process of changing Mono versions.

This PR also drops the historical support for asm.js fallback. We're making this choice because better alternatives have now emerged for all the primary asm.js fallback scenarios:

  • For Safari, it now supports WebAssembly properly so there's no remaining need for asm.js fallback
  • For old browsers such as IE11, the best solution is server-side Blazor. This avoids putting heavy load on the browser, meaning you can get excellent compatibility and perf right back to really ancient versions of IE (given suitable JS polyfills). In the long run it wouldn't be realistic to rely on asm.js fallback because the JS engine in these older browsers typically wouldn't supply acceptable perf.

The reason we're making this change (removing asm.js fallback) now is that it's a necessary part of switching to use prebuilt Mono binaries (they don't ship asm.js versions).

Debugging improvements

This PR also updates to a newer version of @kumpera's debug proxy. You can now remove breakpoints and step in/over properly 👍

@SteveSandersonMS
Copy link
Member Author

Merging now because @rynowak is not around to review at the moment, the changes are pretty straightforwards, and we want to be ready for the 0.7.0 release soon.

But @rynowak please feel free to review this when you are back if you wish. I'm happy to make any follow-up changes.

@SteveSandersonMS SteveSandersonMS merged commit 22d3709 into master Nov 7, 2018
@SteveSandersonMS SteveSandersonMS deleted the stevesa/mono-update-for-0.7.0 branch November 7, 2018 12:01
@SteveSandersonMS
Copy link
Member Author

@Suchiman We're using 0.10.0-beta7 in a few places in the repo, so I'd prefer to keep it consistent with those until we update all of them (which we could do now, but I'm not aware of any problem it would solve).

@Angusoft-India
Copy link

@SteveSandersonMS

In think the document should be updated accordingly for the following line

" It works in older browsers too by falling back to an asm.js based .NET runtime."

@SteveSandersonMS
Copy link
Member Author

@IyyappanAmirthalingam Good point - thanks! I've updated the doc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants