我在Azure上部署了默认应用程序,每当您通过WebAssembly创建一个新的Blazor dotnet new blazorwasm应用程序时,这个应用程序就会出现。起初,它正常工作,但是当我添加webpack来构建我的SASS文件时,当它被部署到Azure时,它向我展示了这个错误:在Refused to apply style from <URL> becauseits MIME type ('text/html&
我将我的客户端项目升级到.net 6.0,在IIS6.0中部署了属性未定义的错误,我将TrimmerRootAssembly添加到了csproj <TrimmerRootAssembly/AuthenticationService.js:2:196273)
at https://devdms/_framework/blazor.webassembly.js:1:3332at new Promise