cost 248 ms
将 react-grid-layout 与 Blazor WebAssembly 集成时找不到“renderReactGridLayout” - Could not find 'renderReactGridLayout' when integrating react-grid-layout with Blazor WebAssembly

我在尝试将“react-grid-layout”集成到我的 Blazor WebAssembly 应用程序时遇到问题。 我使用以下代码创建了一个名为wwwroot/react-grid-layout.js的 JavaScript 文件: 我在index.html中引用了这个文件,如下所示: 此外, ...

如何实施单点登录。 应用程序用 Blazor App 和 React JS 编写 - How do I implement Single Sign on. Applications are written in Blazor App and React JS

我需要使用 Azure AD B2C 实施单点登录。 我们的一个应用程序是在 Blazor 中开发的,另一个是在 React JS 中开发的。 一旦用户登录 Blazor 应用程序然后来到 React JS 应用程序,他应该直接登录而无需输入凭据。 谢谢多个 Blazor 应用程序可以使用 SSO, ...

Blazor WASM Sophos [无法在资源的“完整性”属性中找到有效摘要] ERR_CERT_AUTHORITY_INVALID - Blazor WASM Sophos [Failed to find a valid digest in the 'integrity' attribute for resource] ERR_CERT_AUTHORITY_INVALID

我的控制台日志中不时出现“无法在资源的‘完整性’属性中找到有效的摘要”错误,但从来没有出现在本地。 出乎意料的是,这几天前就开始发生在我身上,过去两天我一直在努力修复它。 我还收到关于我的自签名证书无效的错误。 这是我尝试过的事情。 重建/清理解决方案删除所有 bin/obj 文件夹通常使用 ch ...

如何在 AuthenitcationStateProvider (.Net 6) 中使用 Blazored.LocalStorage? - How can I use Blazored.LocalStorage in AuthenitcationStateProvider (.Net 6)?

我正在尝试在我的 CustomAuthStateProvider class 中使用 localStorageService,这样我就可以基于 LocalStorage 中的密钥创建一个 AuthenticationState(只是为了学习和练习)。 然而,当我运行我的应用程序时,我收到一条错误消 ...

使用 Azure Active Directory 验证 Blazor WebAssembly 应用程序 - Authenticating a Blazor WebAssembly app with Azure Active Directory

我已经有一个现有的 Blazor WebAssembly 应用程序,我正在尝试使用 Azure Active Directory 添加身份验证。 我添加了Microsoft.Authentication.WebAssembly.Msal nuget。 在我服务器的Program.cs中,我添加了以下 ...

Blazor 预加载数据即使数据未完成 - Blazor preload data even though the data is not completed

有没有办法把处理过的数据实时展示给用户看? 我的意思是:假设这种情况:我创建了一个默认的 Blazor 应用程序来用作示例。 Go 到默认页面FetchData ,它使用如下 model : 该页面默认使用此模拟服务: 这是使用该服务的页面: 好的,现在假设服务不是使用 5 个项目,而是我们放置一 ...

blazor 客户端中数据注释的最佳方法是什么? 当 model 所在的共享项目缺少程序集时? - what is best approach for dataadnotations in blazor client side? when shared project where model is , is missing assembly?

所以我有一些 blazor 客户端项目,所以我应该在共享项目中说person.cs ,这样它就可以在客户端和服务器端使用 - 按照设计,它是这样的 class 的正确位置......? 现在在客户端我有MudBlazor作为组件库所以现在他们可以选择根据属性在组件上自动设置标签,如下 所示 htt ...

Mp3 声音在手机 (iphone 7) 上延迟 - Blazor WASM + javascript - Mp3 sound is delayed on phone (iphone 7) - Blazor WASM + javascript

我有 blazor WASM 应用程序,带有“正确”.mp3 文件,通过 javascript 代码播放。 在桌面上,可以说它在按下按钮后非常即时,但在电话上它会跳过几毫秒,然后似乎有延迟并且用户体验不好。 我试图查找一些解决方案,但找不到任何东西。 有什么办法可以解决它或仅仅因为手机(Iphon ...

Blazor WASM - User.Identity?.IsAuthenticated == true 但在没有用户干预的情况下无法获取访问令牌 - Blazor WASM - User.Identity?.IsAuthenticated == true but unable to get access token without user intervention

我有一个 do.net 7 Blazor WASM 应用程序,使用 Azure AD B2C(通过Program.cs中的AddMsalAuthentication )。 该应用程序的主页允许匿名访问,并且在用户未通过身份验证时具有登录号召性用语。 在主页使用的布局中,我有一个通过 API 调用填充 ...

显示 Blazor webassembly 应用程序的版本、构建日期和环境 - Display version, build date and environment of Blazor webassembly application

我正在尝试在 Blazor Webassembly 应用程序的 NavMenu 上显示版本、构建日期和环境变量。 这是我尝试过但徒劳无功 NavMenu.razor.cs 当我运行该应用程序时,我可能会在 DisplayEnvironment 属性上收到 null 引用异常。 我将不胜感激任何帮助。 ...

Azure MSAL 认证和自定义 JWT 认证在 Blazor - Azure MSAL Authentication and custom JWT Authentication in Blazor

我正在尝试将 Azure MSAL 身份验证添加到现有的 Blazor WASM 应用程序,该应用程序已经使用 JWT 处理身份验证。但是如果我注册我使用的自定义AuthenticationStateProvider ,blazor 在运行时抛出: 未处理的异常呈现组件:指定的转换无效。 Sys ...

在不同的 razor 组件中重复的多个“公共功能” - Multiple "common functions" repeated in different razor component

我正在从事一个项目,该项目在不同的 razor 组件中有很多重复的功能,做同样的工作。 像这样。 示例文件这个 function(和其他)至少在 26 个文件中使用。 我是模式设计的新手,可以创建一个文件作为服务,并在我需要的每个 razor 组件中使用这个“通用功能”使用/注入该服务吗? 像存储 ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM