While .NET can run on the followings:
Browsers:
- Safari 15+
- Firefox 100+
- Chrome/Edge 95+
OS:
- iOS 15+
- Windows 7 SP1+
- macOS (Monterey) 12+
- Android 8+ & WebView 84+
The TypeScript project responsible for generating blazor.web.js, blazor.webassembly.js, blazor.webview.js, and blazor.server.js targets ES2022+, leading to the following updates in the compatibility table.
Browsers:
- Safari 16.4+
OS:
- iOS 16.4+
- macOS (Monterey) 13.3+
- Android 8+ & WebView 94+
Therefore, we decided to generate an ES2019-based output from the aspnetcore repository using the following script:
git clone https://github.com/dotnet/aspnetcore.git
cd aspnetcore
git switch release/9.0
git submodule update --init --recursive
sed -i 's/"target": "ES2022"/"target": "ES2019"/' src/Components/Shared.JS/tsconfig.json
npm install
npm run-script build
cd src/Components/Web.JS
npm install
npm run-script build:productionWe're running the above script in pre-release and release nuget packages pipelines so you can use these assets published in nuget.org
To ensure compatibility with older browsers in Blazor WebAssembly, add the following configuration to your client web project:
<PropertyGroup>
<WasmEnableSIMD>false</WasmEnableSIMD>
</PropertyGroup>