摘要:
当Win Form程序调用DLL文件时,添加引用后编译不通过,提示没有引用。解决方案如下: 1.采用反射的方式调用 if (File.Exists(ApplcationConfig.getProperty("ApplicationRootPath") + "\\" + "test.dll")) { 阅读全文
摘要:
使用NuGet引用sapnoc程序包来进行RFC接口的连接,类库框架为framework,暂不支持.net Core框架,会提示冲突。 编写SapRfcHelper帮助类供接口的连接调用 using SAP.Middleware.Connector; using System; using Syst 阅读全文
摘要:
IdentityServer4是ASP.NET Core量身定制的JWT(son Web Token, token一种的格式 )服务框架,实现了OpenID Connect和 OAuth2.0协议(规范 认证授权中间件) 。 一、创建鉴权服务API 1.新建Core WebAPI进程服务:使用ami 阅读全文
摘要:
一、Ocelot官网和学习地址 官网:https://threemammals.com/ocelot Git:https://github.com/ThreeMammals/Ocelot 文档:https://ocelot.readthedocs.io/en/latest/index.html 二、 阅读全文
摘要:
1 /** 2 * JS生成简单格式的Excel文件 3 */ 4 function commonDownloadExcel(excelData) { 5 let country = "中国"; 6 //标题列 7 var str = '国家,' + country+ ',订单号,0001,指令号, 阅读全文
摘要:
一、Xrm.Internal.openDialog方式 1 let params = { 'param1': param1, 'param2': param2 }; 2 3 var DialogOption = new Xrm.DialogOptions; 4 5 DialogOption.widt 阅读全文
摘要:
1 /** 2 * Excel导出工具类,核心类 3 * @constructor 4 */ 5 function ExcelUtils() {} 6 7 /** 8 * cell,row,sheet,workbook的xml 9 * @type {{tmplCellXML: string, tmp 阅读全文
摘要:
1.编写插件 1 using Microsoft.Xrm.Sdk; 2 using Microsoft.Xrm.Sdk.Messages; 3 using Microsoft.Xrm.Sdk.Query; 4 using System; 5 using System.Collections.Gene 阅读全文
摘要:
一、Consul服务注册发现 1.启动Consul :consul agent -dev 2.打开Consul地址,默认8500端口:8500 3.封装静态类,注册Consul服务的方法: 1 using Consul; 2 using Microsoft.Extensions.Configurat 阅读全文
摘要:
1.修改配置文件 conf/nginx.conf 2.配置文件中增加服务调用 upstream NET6RC2{ server 127.0.0.1:5726; server 127.0.0.1:5727; server 127.0.0.1:5728; server 127.0.0.1:5729; } 阅读全文