Maui Blazor 中文社区 QQ群:645660665

06 2023 档案

摘要:A connection was successfully established with the server, but then an error occurred during the pre-login handshake. **设法用证书和 IP 地址解决它。** 1. 使用 power 阅读全文
posted @ 2023-06-19 09:23 AlexChow 阅读(117) 评论(0) 推荐(1) 编辑
摘要:反序列化枚举类型 ``` public 银行卡类型 marcaTarjeta { get; set; } public enum 银行卡类型 { [XmlEnum(Name = "0")] UnKnown = 0, [XmlEnum(Name = "1")] VISA = 1, [XmlEnum(N 阅读全文
posted @ 2023-06-15 18:58 AlexChow 阅读(21) 评论(0) 推荐(0) 编辑
摘要:话不多说,直接上代码 1. 添加服务类, 完整代码比较长,放到文章最后 ``` public interface ICookie { public Task RemoveValue(string key); public Task SetValue(string key, string value, 阅读全文
posted @ 2023-06-08 19:11 AlexChow 阅读(168) 评论(0) 推荐(0) 编辑
摘要:### 1. 在新窗口打开链接 [Inject, NotNull] IJSRuntime? JS { get; set; } await JS.InvokeVoidAsync("eval", @"let _discard_ = open(`https://www.blazor.zone/tables 阅读全文
posted @ 2023-06-05 05:54 AlexChow 阅读(538) 评论(0) 推荐(1) 编辑
摘要:控制台乱码的原因是因为中文windows命令行默认编码页是gb2312,想输出中文只要把控制台的编码页修改成Unicode就可以了。在cmd里输入chcp 65001再运行程序 ![](https://img2023.cnblogs.com/blog/1980213/202306/1980213-2 阅读全文
posted @ 2023-06-04 20:21 AlexChow 阅读(858) 评论(0) 推荐(0) 编辑