摘要: 原文:https://medium.freecodecamp.org/learning-go-from-zero-to-hero-d2a3223b3d86 Learning Go — from zero to hero Let’s start with a small introduction to 阅读全文
posted @ 2019-01-15 12:12 英雄饶命啊 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 如下代码,修改成只支持oracle: 阅读全文
posted @ 2017-12-09 17:32 英雄饶命啊 阅读(1979) 评论(0) 推荐(1) 编辑
摘要: 过滤webservice的请求日志,做权限验证功能等。 1. 2.在服务端的公开方法增加特性 3. 4. 5.client 6.web.config配置 阅读全文
posted @ 2017-05-15 14:43 英雄饶命啊 阅读(1915) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.cnblogs.com/shanyou/p/6676357.html。 微软在Visual Studio 2017 正式发布的时候也上线了一个参考应用https://github.com/dotnet/eShopOnContainers , 最近微软给这个参考应用写了 阅读全文
posted @ 2017-04-07 09:11 英雄饶命啊 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.csdn.net/rdhj5566/article/details/50646599 一、背景 我们实际系统中有很多操作,是不管做多少次,都应该产生一样的效果或返回一样的结果。 例如: 1. 前端重复提交选中的数据,应该后台只产生对应这个数据的一个反应结果。 2. 阅读全文
posted @ 2017-04-06 10:29 英雄饶命啊 阅读(205) 评论(0) 推荐(0) 编辑
摘要: public class RPCServer { public static void Test() { var factory = new ConnectionFactory() { HostName = "localhost" }; using(var conn = factory.CreateConne... 阅读全文
posted @ 2016-04-08 10:39 英雄饶命啊 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 启动mq服务:rabbitmq-service.bat 阅读全文
posted @ 2016-04-06 15:11 英雄饶命啊 阅读(193) 评论(0) 推荐(0) 编辑
摘要: /// /// 注意 只有在构造器没有副作用的时候才能使用这个技术 /// class Singleton { private static Singleton _value = null; private Singleton() { ... 阅读全文
posted @ 2016-01-14 09:57 英雄饶命啊 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.dotnetperls.com/optimizationGenerally, using the simplest features of the language provides the best performance. For example, using the... 阅读全文
posted @ 2016-01-13 10:37 英雄饶命啊 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 原文:http://stackoverflow.com/questions/573872/what-is-the-best-workaround-for-the-wcf-client-using-block-issue/573917#573917方便使用的一种方式:public static cla... 阅读全文
posted @ 2016-01-12 10:44 英雄饶命啊 阅读(147) 评论(0) 推荐(0) 编辑