摘要: ### 1.下载Redis从https://github.com/MSOpenTech/redis下载源码### 2. 编译编译MSVS > RedisServer.sln 这个解决方案###3. Copy 生成的文件到要放置Redis的文件夹生成的文件在如下位置###4. 将放置生成文件的文件夹加入到环境变量PATH 中>如本次我将Release的内容Copy到 C:\Redis30. 则将这... 阅读全文
posted @ 2016-08-09 17:35 慢就是快 阅读(3832) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.cnblogs.com/autumn/p/3452369.html --------------------------- Microsoft Visual Studio --------------------------- 未能正确加载“Microsoft.VisualStudio.Editor.Implementation.EditorPackage”... 阅读全文
posted @ 2016-07-11 23:17 慢就是快 阅读(543) 评论(0) 推荐(0) 编辑
摘要: Http monitoring tools are essential when doing any kind of Web development whether it’s for plain Web development, Web Services or any sort of HTTP client work. When things go wrong it is often highly... 阅读全文
posted @ 2016-06-01 14:35 慢就是快 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 从HTML生成PDF文件 有几个地方要注意 1. 使用的是wkhtmltopdf这个C++编写的工具 2. 这个工具有两个主要的版本,一个是依赖VS2013 C++ Runtime编译的,一个是依赖早期的类库编译的,要根据自己的操作系统判断使用哪一个。官网地址 "http://wkhtmltopdf 阅读全文
posted @ 2016-05-22 11:05 慢就是快 阅读(506) 评论(0) 推荐(0) 编辑
摘要: 通过URL获取浏览器Cookie 阅读全文
posted @ 2016-05-22 10:54 慢就是快 阅读(939) 评论(0) 推荐(0) 编辑
摘要: In parts 1 and 2 of this series we looked at how to use DbContext.Database.Log to log the SQL generated by EF. But this code is actually a relatively thin façade over some low-level building blocks fo... 阅读全文
posted @ 2016-05-21 13:19 慢就是快 阅读(162) 评论(0) 推荐(0) 编辑
摘要: In part 1 we saw how DbContext.Database.Log can be used to easily log SQL to the console or some other TextWriter. This post covers how the context and formatting of the output can be changed.Database... 阅读全文
posted @ 2016-05-21 13:17 慢就是快 阅读(240) 评论(0) 推荐(0) 编辑
摘要: On the EF team we made a late decision to add some support for interception and logging of generated SQL in EF6. To this end recent checkins have added support for:A Log property for the context simil... 阅读全文
posted @ 2016-05-21 13:16 慢就是快 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 1. const、readonly、static const修饰的字段表示是常量,其本质上在编译完成,执行之前其字段的真实值已经被写在了DLL中了。只有在声明的时候才能改变其值 readOnly表示只读的,其只有在声明的时候和构造函数中能被修改。通过编译后的代码可以看到,其实是在构造函数中赋值的 static静态的,在一个地方修改,对所有的对象都是有效的。其使用类名.字段名来... 阅读全文
posted @ 2016-05-21 09:53 慢就是快 阅读(170) 评论(0) 推荐(0) 编辑
摘要: If you have ever had the need to store one or more possible values in a single field, you may have used the [Flags] attribute on an enum in C# which would look something like this:C#[Flags] public enu... 阅读全文
posted @ 2016-05-21 09:48 慢就是快 阅读(635) 评论(0) 推荐(0) 编辑