上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 一、源文件移到固定短路径 二、cmd执行合并 copy /B 201702.zip.001 + 201702.zip.002 + 201702.zip.003 1.zip 三、WinRAR解压缩 阅读全文
posted @ 2017-03-06 17:02 Andy·Li 阅读(502) 评论(0) 推荐(0) 编辑
摘要: Hypertext Transfer Protocol (HTTP) Status Code Registry http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml 阅读全文
posted @ 2017-02-28 14:54 Andy·Li 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 解决方法: 用记事本打开MVC网站的项目文件(*.csproj),滚动条拉到最下,找到这两个节点: <UseIIS>True</UseIIS><AutoAssignPort>True</AutoAssignPort> 改为:<UseIIS>False</UseIIS><AutoAssignPort> 阅读全文
posted @ 2017-02-22 14:15 Andy·Li 阅读(552) 评论(0) 推荐(0) 编辑
摘要: VS10x CodeMap 注册码(key): #$aCN/L/ra73OaqCJENXc2JIDL61IMawNWBBX+PxhBzobE9w3QlcrwoXeB3DWBC2f56y9r0Hx2XPc8FKlFRh6cuGXuZFdjFBB4a3l1MNwBGamUlrr8bmqj2YcOUe0q 阅读全文
posted @ 2017-02-21 10:53 Andy·Li 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 使用方法如下: 方法1: (1).开始菜单->Microsoft Visual Studio 2010 ->Visual Studio Tools->Visual Studio Command Prompt (2010) 命令提示,在控制台中输入 gacutil.exe 回车,既可以看到一些参数。 阅读全文
posted @ 2017-02-13 10:46 Andy·Li 阅读(2883) 评论(0) 推荐(0) 编辑
摘要: ICSharpCode.SharpZipLib.dll using ICSharpCode.SharpZipLib.Zip; string[] filenames = Directory.GetFiles(dirPath); using (ZipOutputStream s = new ZipOut 阅读全文
posted @ 2017-01-20 11:41 Andy·Li 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location); 阅读全文
posted @ 2017-01-19 16:01 Andy·Li 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 服务安装: @echo off echo 开始安装 :: set "abc=%cd%"echo 当前正在运行的批处理文件所在路径:%~dp0 %systemroot%\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe %~dp0\appName.e 阅读全文
posted @ 2017-01-19 15:53 Andy·Li 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 如果碰到 windows 服务安装不了或者启动不了,报14001的配置文件错误,那么 可以从.exe.config入手,我这次遇到的是配置中有中文注释导致的。 我把空行以及中文的注释去掉以后,整个世界都不一样了,哈哈哈。 阅读全文
posted @ 2017-01-11 15:53 Andy·Li 阅读(1877) 评论(0) 推荐(0) 编辑
摘要: 服务没有停止的情况下,如果修改了配置,如果不刷新,是不会生效的,需要在每次重新读取配置前刷新配置文件,具体如下: ConfigurationManager.RefreshSection("appSettings"); 阅读全文
posted @ 2017-01-11 11:58 Andy·Li 阅读(414) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页