研究了很久源码,发现了其运行机制。 如果 BlazorWebView 跳转的页面不是 https://0.0.0.0 ,那么就会使用客户端之外的浏览器打开页面。 // 这里的地址允许在浏览器中打开 public static readonly Uri[] URLS = new Uri[......]继续阅读

2023年9月21日 0条评论 1948点热度 0人点赞 痴者工良 阅读全文

The source code has been studied for a long time, and its operating mechanism has been discovered. If the page that BlazorWebView navigates to is not[......] 继续阅读

2023年9月21日 0条评论 120点热度 0人点赞 痴者工良 阅读全文

在 signalR 中如需获取客户端的连接信息,可以使用 IHttpConnectionFeature 获取客户端通讯的 IP 和端口。 // 获取服务 var feature = Context.Features.Get<IHttpConnec[......]继续阅读

2023年8月4日 0条评论 1963点热度 0人点赞 痴者工良 阅读全文

In SignalR, to obtain the client's connection information, you can use IHttpConnectionFeature to retrieve the client's communication IP and port. [......]继续阅读

2023年8月4日 0条评论 84点热度 0人点赞 痴者工良 阅读全文