上一页 1 2 3 4 5 6 ··· 46 下一页
摘要: 功能 在程序运行前加载特定的dll 配置环境变量 DOTNET_STARTUP_HOOKS=/path/to/StartupHook1.dll:/path/to/StartupHook2.dll dll代码示例 internal class StartupHook { public static v 阅读全文
posted @ 2025-08-12 11:23 Hey,Coder! 阅读(10) 评论(0) 推荐(0)
摘要: 将代码编译都内存对象中,保存编译后的类型到文件或者数据库中直接加载运行 阅读全文
posted @ 2025-08-07 18:23 Hey,Coder! 阅读(14) 评论(0) 推荐(0)
摘要: nuget <PackageReference Include="LiveCharts.Wpf.Core" Version="0.9.8" /> <PackageReference Include="PropertyChanged.Fody" Version="4.1.0" /> Customers 阅读全文
posted @ 2025-07-31 19:11 Hey,Coder! 阅读(39) 评论(0) 推荐(0)
摘要: <lvc:CartesianChart LegendLocation="None" Name="chart1" Hoverable="False" > <lvc:CartesianChart.DataTooltip> <lvc:DefaultTooltip SelectionMode="OnlySe 阅读全文
posted @ 2025-07-31 18:37 Hey,Coder! 阅读(29) 评论(0) 推荐(0)
摘要: <lvc:CartesianChart LegendLocation="None" > <lvc:CartesianChart.Series > <lvc:LineSeries Fill="Transparent" Values="{Binding TestValue}" Title="test" 阅读全文
posted @ 2025-07-18 17:26 Hey,Coder! 阅读(13) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; public class LinuxHelper { public string GetCpu() { var r 阅读全文
posted @ 2025-07-11 10:16 Hey,Coder! 阅读(43) 评论(0) 推荐(0)
摘要: 读取所有的物理磁盘设备 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! 阅读(31) 评论(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! 阅读(41) 评论(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! 阅读(52) 评论(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! 阅读(136) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 46 下一页