Forum Discussion
Auri_Rahimzadeh
Jan 17, 2025Copper Contributor
Module object available in .NET 6 Blazor WASM Project, but not in .NET 8+ After Upgrade
I have a working project in .NET 6 that calls the following JS code: export function synchronizeFileWithIndexedDb(filename) {
return new Promise((res, rej) => {
const db = window.indexe...
- Jan 18, 2025
AHH, finally found the solution. Breaking change in .NET 9 (though I had the same issue in .NET 8).
https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/9.0/legacy-apis
Module can be changed to Blazor.runtime to solve.
Auri_Rahimzadeh
Jan 18, 2025Copper Contributor
AHH, finally found the solution. Breaking change in .NET 9 (though I had the same issue in .NET 8).
https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/9.0/legacy-apis
Module can be changed to Blazor.runtime to solve.