摘要:
SELECT 表名 = Case When A.colorder=1 Then D.name Else '' End, 表说明 = Case When A.colorder=1 Then isnull(F.value,'') Else '' End, 字段序号 = A.colorder, 字段名 = 阅读全文
摘要:
服务器安装core环境的过程中,core 的sdk runtime 等都安装好后,运行程序发现出现异常 例如: 解决方案: Windows 通用 C 运行库(Universal C Runtime)是通过Windows Update更新安装到系统的,更新的编号为KB2999226(10.0.1024 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Text; namespace DL.Proxy { public interface Person { string GiveTask(string args); } } using System; using System.Collections.Generic; usin 阅读全文
摘要:
1. windows server 2012 添加AD域 : https://www.cnblogs.com/chenjiangfeng/p/9706483.html 2. 配置成功后重启AD域服务器,查看IP4地址,添加AD域用户信息 3.本地电脑增加:配置AD域服务器的IP4地址到本地的IP4 阅读全文
摘要:
1. 基于注册表启动exe程序 1. 桌面新建注册表执行文件:protocal.reg 2. 任意文本编辑器打开该文件 红色部分自定义写,绿色部分的是你要打开的EXE程序路径,记住双斜杠 3. <a href="UACDL://hello">启动项目</a> html文件加上这句话,步骤1中所命名的 阅读全文
摘要:
1.Enable-Migrations -EnableAutomaticMigrations2.Add-Migration InitialCreate3.Update-Database -Verbose 说明,第一条命令我们只有第一次初始化数据库的时候才需要执行,后面更新表结构或者新增、删除表的时候 阅读全文
摘要:
参考地址:https://docs.autofac.org/en/latest/examples/index.html 1. nuget :Autofac.Extensions.DependencyInjection Autofac.Extras.DynamicProxy 2. using Syst 阅读全文
摘要:
using System; using System.Web.Http; using System.Web.Http.SelfHost; namespace UAC_OAuth2Center { public class Program { static void Main(string[] arg 阅读全文
摘要:
grant_type 授权模式 authorization_code 标准的Server授权模式,授权码模式 password 基于用户密码的授权模式,用户密码模式 client_credentials 基于APP密钥的授权模式,客户端模式 token 隐式授予模式 refresh_token 刷新 阅读全文
摘要:
1. 打开下载地址:https://github.com/Microsoft/vcpkg 2. 直接下载到本地某个盘 3. 配置环境变量: 4. 打开下载到本地的vcpkg有可能叫vcpkg-master的文件夹,按住shift键,鼠标右键点击该文件夹任意空白处 5. 弹出 windows powe 阅读全文