摘要:
老赵写的文章,原文:http://blog.zhaojie.me/2009/09/i-made-a-mistake-can-you-figure-it-out-answer.htmlpublic static class MyClass{ public static readonly Guid... 阅读全文
摘要:
public static string RsaEncrypt(string publickey, string content) { RSACryptoServiceProvider rsa = new RSACryptoServiceProvi... 阅读全文
摘要:
原文:http://lvasquez.github.io/2014/11/18/EntityFramework-MySql/For the Entity Framework 6 support we need to have this requirementsMySQL Connector/Net ... 阅读全文
摘要:
原文: http://stackoverflow.com/questions/7888880/what-is-redis-and-what-do-i-use-it-forRedis = Remote Dictionary ServiceTL;DR: If you can map a use case... 阅读全文
摘要:
在设计应用程序时,应该尽可能地避免进行线程同步。为此,要避免使用一些共享数据,比如静态字段。线程用new操作符构造一个对象时,new操作符会返回对新对象的一个引用。在这个时刻,只有构造对象的线程才有对它的引用;其他任何线程都不能访问那个对象。如果你能一直避免将这个引用传给可能同时使用对象的另外一个线... 阅读全文
摘要:
Pausing for a Period of TimeProblem:You need to (asynchronously) wait for a period of time. This can be useful when unittesting or implementing retry ... 阅读全文
摘要:
http://ec2-54-250-200-50.ap-northeast-1.compute.amazonaws.com/http://www.joesauve.com/async-dapper-and-async-sql-connection-management/http://www.help... 阅读全文
摘要:
对其进行再次封装:(function($) { $["fn"]["easyPaging"] = function(o) { if (!o.pageSelect ||!$["fn"]["pagination"]) { ... 阅读全文
摘要:
原文:http://www.cnblogs.com/hyl8218/archive/2011/11/22/2259116.html从HttpUnauthorizedResult的源码可以看出,HttpUnauthorizedResult的执行很简单,就是设置当前的 HttpContext.Respo... 阅读全文
摘要:
原文:http://www.sitepoint.com/jquery-infinite-scrolling-demos/Infinite Scrolling Demo 5Usage – HTML content content ...Usage – jQueryInfinite Scro... 阅读全文