摘要:1.新建一个名为“WindowsForms承载WCF”的WINFORM程序。 2.在解决方案里添加一个“WCF 服务库”的项目,名为“WcfYeah”。 3.修改IService1文件,内容如下: using System.Runtime.Serialization; using System.Se
阅读全文
11 2021 档案
摘要:使用搜索按钮(WIN+Q),搜索“多任务设置”,在弹出的窗口中看到“alt+tab”相关设置。选择“仅打开的窗口”,ok搞定。
阅读全文
摘要:winform同步承载WCF时,遇到大量请求,可能会阻塞UI线程。这时就需要开个线程来承载WCF。 1.硬编码形式创建WCF服务,WCFServer类: using CommonUtils; using System; using System.Net; using System.ServiceMo
阅读全文
摘要:1.新建一个名为“WindowsForms承载WCF”的WINFORM程序。 2.在解决方案里添加一个“WCF 服务库”的项目,名为“WcfYeah”。 3.修改IService1文件,内容如下: using System; using System.Collections.Generic; usi
阅读全文
摘要:注意点: 1.安装时要请求到管理员权限。 2.卸载前,一定要停止掉Windows服务,否则需要重启或注销电脑。代码无法停止服务时,使用services.msc来停止。 开始: 1。新建一个名为“Windows服务操作”的WINFORM程序。 2。在解决方案里添加一个Windows服务项目,名为“AD
阅读全文
摘要:PB通过OLE方式调用C#.NET DLL时, DLL获取自身根目录 System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().ManifestModule.FullyQualifiedName
阅读全文
摘要:官方支付宝压力测试文档中: 蚂蚁金服开放平台 - 文档中心 (alipay.com) 有个 temp.jmx 文件(http://p.tb.cn/rmsportal_10157_temp.jmx.zip),只能在支付宝专版jmeter中才能打开(http://p.tb.cn/rmsportal_10
阅读全文
摘要:下载好 vs_community__115739266.1625310894.exe 的,重命名为:vs_community2022.exe 命令: E:\vs_community2022.exe --layout E:\vs_community2022 --lang zh-CN 其中: E:\vs
阅读全文
摘要:MS SQL SERVER 创建表结构、索引、添加字段等常用脚本 创建表: if not exists ( select 1 from sysobjects where id=object_id('PayChannelNm') ) create table [dbo].PayChannelNm( [
阅读全文

浙公网安备 33010602011771号