# blazorTool **Repository Path**: mkp1/tool ## Basic Information - **Project Name**: blazorTool - **Description**: 工具测试开发 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2023-07-21 - **Last Updated**: 2026-04-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mkpcode #### 介绍 ToolLibrary #### 软件架构 ##### 1.ToolLibrary.Module.Freesql 1. Freesql ORM 数据库操作 注入:AddFreeSql(“数据库连接字符串”); 使用:IFreeSql ##### 2.ToolLibrary.Module.IPLocation 注意:必须保证DB/下的GeoLite2-City.mmdb 和 ip2region.db 位置正确 1. IIpSearch接口 IP2Region:通过IP地址查询返回 国家|区域|省份|城市|运营商 注入:AddIp2Region(); 使用:IIpSearch 2. IGeoLiteCityServer接口 GeoLite2-City:通过IP地址返回 洲、国、省、城市、位置(Location)信息 注入:AddGeoLite(); 使用:IGeoLiteCityServer ##### 3.ToolLibrary.Module.Signal 1. IMessageHubServer 消息通知 注入:AddSignal(); Configure 添加: app.UseEndpoints(endpoints => { endpoints.MapHub("/api/chatHub"); }); 使用:IMessageHubServer ##### 4.ToolLibrary.Module.QuartzTask 1. ITimingTaskServer 定时任务 注入;AddQuartzTask() 使用:ITimingTaskServer ##### 5.ToolLibrary.Module.QuickRpc Quick.Rpc .NET通信服务,服务端与客户端互相注册调用服务及消息发送 ##### 6.test ##### 7.test ##### 8.test ##### 9.test ##### 10.test #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. 获取时间间隔 TimeHelper time = new TimeHelper(); time.StartTime(); await Task.Delay(5000); Console.WriteLine(time.EndTimeInterval( TotalType.TotalSeconds)); 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) #### 申明 ​ 本项目中使用到的技术及第三方组件如有涉及到侵权和原作者利益的请及时联系本人。 源代码只用作学习交流。