当调用xxxxxxxx.azurewebsites.net时,浏览器控制台中会出现以下内容。有人能帮上忙吗。谢谢。
blazor.webassembly.js:1 System.InvalidOperationException: A suitable constructor for type 'Microsoft.Extensions.Logging.LoggerFactory' could not be located. Ensure the type is concrete and services are registered for all parameters of
我有一个简单的Blazor应用程序-我需要安装jQuery,但是,当我在Visual Studio2019中使用NuGet包管理器执行此操作时,它会安装对包的引用,该包位于c:\users... 我在包管理中将Visual Studio options for NuGet设置为packages.config,并且我希望在Blazor代码目录中获得一个包文件。 我需要的jQuery是可访问的站点相关(所以在wwwroot或类似的东西)。 有人知道如何让VS/Blazor做到这一点吗?
I am referring to this index page (wwwroot) 我正在使用blazor wasm,我不喜欢“加载...”当您第一次打开应用程序主页时,您会看到。所以我在索引页面中工作,用一个旋转器替换它。这很简单,如果你只使用html,但我更喜欢创建一个微调blazor组件,然后我将在应用程序的其余部分重用。这个是可能的吗? 即 <app><MyLoadingComponent/></app> 我会理解,如果这是不可能的,因为在这一点上,blazor尚未加载(据我所知)。
我有一个Blazor组件项目,它突然决定不想发布。生成输出显示:
Optimizing assemblies for size, which may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink
Compressing Blazor WebAssembly publish artifacts. This may take a while...
C:\Program Files\dotnet\dotnet.exe "C:\Program
我们正在尝试将web服务从我们的开发框发布到UAT框中。
构建web服务时没有错误,但是当尝试发布(使用UNC path:\\TEST-SERVER\c$\inetpub\wwwroot\PerformanceReviewWebService)时,我们得到以下错误消息,进程失败:
3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets(1475,5):
Error : Could not open Source file: The given p