上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 66 下一页
摘要: from:https://blog.csdn.net/bdss58/article/details/54745380 添加到注册表 Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\Directory\shell\runas] [HKE 阅读全文
posted @ 2018-07-26 16:04 94cool 阅读(1846) 评论(0) 推荐(0)
摘要: string[] things= new string[] { "105", "101", "102", "103", "90","a","B" ,"A","b"}; foreach (var thing in things.OrderBy(x => x)) { Console.WriteLine( 阅读全文
posted @ 2018-07-15 20:08 94cool 阅读(4384) 评论(0) 推荐(0)
摘要: xml 格式的config文件如下: <?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> <add key="port" value="8046" /> <add key="serverUrl" value="ht 阅读全文
posted @ 2018-07-15 10:43 94cool 阅读(2061) 评论(0) 推荐(0)
摘要: c# webapi 跳转 public HttpResponseMessage Post() { // ... do the job // now redirect HttpResponseMessage resp = new HttpResponseMessage(HttpStatusCode.M 阅读全文
posted @ 2018-07-12 17:56 94cool 阅读(3105) 评论(0) 推荐(0)
摘要: 1、新建netcore或netstandard或net4.6.1项目 2、编辑项目文件: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFrameworks>net4.6.1;net4.6.2;netstandard2.0;netc 阅读全文
posted @ 2018-07-10 19:17 94cool 阅读(3489) 评论(2) 推荐(0)
摘要: Nodejs【单机】多进程模式集群实例: 1、安装:npm install -s cluster 2、服务代码: var debug = require('debug'); var express = require('express'); var path = require('path'); v 阅读全文
posted @ 2018-07-09 17:17 94cool 阅读(648) 评论(0) 推荐(0)
摘要: 搜索Redis镜像 docker search redis ***************************** 拉取Redis镜像 docker pull redis ***************************** 创建并运行Redis docker run --name myr 阅读全文
posted @ 2018-07-08 18:54 94cool 阅读(759) 评论(0) 推荐(0)
摘要: c# 调试模式下Swaggerf附加接口参数,如:每个接口Header中附加参数appId 1、新增过滤器: public class GlobalHttpHeaderFilter : IOperationFilter { public void Apply(Operation operation, 阅读全文
posted @ 2018-06-28 14:45 94cool 阅读(1791) 评论(0) 推荐(0)
摘要: Visual Studio下运行PowerShell脚本自动更新项目里AssemblyInfo.cs文件的版本(自增小版本号)并发布到Nuget服务器上 附脚本【 update.ps1文件内容】: $path="Properties\AssemblyInfo.cs" $pattern = '\[as 阅读全文
posted @ 2018-06-28 12:32 94cool 阅读(617) 评论(0) 推荐(0)
摘要: 利用Nuget打包添加tools下intsall.ps1【powershell脚本】修改.csproj文件, 以设置1、项目-生成-》输出-》选择【XML文件文件】 2、项目->调试-》启用调试器:取消[启用Visual Studio承载进程] install.ps1脚本如下: 阅读全文
posted @ 2018-06-23 23:18 94cool 阅读(614) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 66 下一页