上一页 1 2 3 4 5 6 7 ··· 47 下一页
摘要: 读取所有的物理磁盘设备 List<String> result; var query = new WqlObjectQuery("SELECT * FROM Win32_DiskDrive"); using (var searcher = new ManagementObjectSearcher(q 阅读全文
posted @ 2025-07-10 18:51 Hey,Coder! 阅读(42) 评论(0) 推荐(0)
摘要: 说明 通过使用github中的Leaflet.hotline实现 地址:https://github.com/iosphere/Leaflet.hotline/tree/master <html> <head> <meta name="viewport" content="width=device- 阅读全文
posted @ 2025-07-03 15:33 Hey,Coder! 阅读(55) 评论(0) 推荐(0)
摘要: nuget Ocelot 24.0.0 Ocelot.Provider.Consul 24.0.0 Swashbuckle.AspNetCore 6.6.2 Microsoft.AspNetCore.Authentication.JwtBearer 8.0.13 路由配置文件 文件名称:【confi 阅读全文
posted @ 2025-06-25 17:55 Hey,Coder! 阅读(70) 评论(0) 推荐(0)
摘要: 需要用到ngx_http_auth_request_module 模块,它可以基于子请求的结果实现客户端授权。 高版本(1.12+)已经默认安装该模块,或者使用--with-http_auth_request_module开启此模块。 location /auth { internal; # 只允许 阅读全文
posted @ 2025-06-24 11:42 Hey,Coder! 阅读(191) 评论(0) 推荐(0)
摘要: 介绍 在微服务的环境下网关是比较重要的节点,所有服务通过网关去统一调用。在.net环境下ocelot是比较常用的微服务网关方案,简单将ocelot引入webapi项目后添加配置文件即可比较方便的做出熔断、限流等逻辑管控。 本文介绍一种通过consul-template获取consul中服务信息,然后 阅读全文
posted @ 2025-06-24 11:37 Hey,Coder! 阅读(43) 评论(0) 推荐(0)
摘要: 效果 通过特殊的协议直接打开特定的程序。 例如,print://file.pdf ,协议名称为注册表的key,后面脚本中的hiprint 通过此协议头和参数直接唤起一个特定的程序并传递参数。 ; https://github.com/DomGries/InnoDependencyInstaller 阅读全文
posted @ 2025-06-23 09:16 Hey,Coder! 阅读(20) 评论(0) 推荐(0)
摘要: <TabControl TabStripPlacement="Left"> <TabControl.Resources> <Style TargetType="TabItem"> <Setter Property="FontSize" Value="14" /> <Setter Property=" 阅读全文
posted @ 2025-06-20 13:53 Hey,Coder! 阅读(38) 评论(0) 推荐(0)
摘要: 备注 使用handycontrol + propertychanged.fody 工具类 ViewModelBase [AddINotifyPropertyChangedInterface] public class ViewModelBase { } 树形结构配置 public class VMM 阅读全文
posted @ 2025-06-19 15:25 Hey,Coder! 阅读(34) 评论(0) 推荐(0)
摘要: 备注 原有提供的覆盖元素在webview2的方案性能较差(https://www.cnblogs.com/ives/p/17719809.html) 寻找后发现一个新的方案性能较高。此方案无需重写webview2相关事件而是通过样式绑定到新的组件中,可以保留原有代码只需要极少的改动即可适配。 帮助类 阅读全文
posted @ 2025-06-18 23:44 Hey,Coder! 阅读(79) 评论(0) 推荐(0)
摘要: 原理 通过设置虚拟主机名映射到文件目录 webView.CoreWebView2.SetVirtualHostNameToFolderMapping("demo", "C:/Users/ivesBao/Desktop/map/final/", CoreWebView2HostResourceAcce 阅读全文
posted @ 2025-06-17 13:18 Hey,Coder! 阅读(234) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 47 下一页