随笔分类 -  C#

摘要:Recently, some of my projects rely heavily upon tests with selenium. Some books about selenium are collected and listed here for reference. 阅读全文
posted @ 2014-03-18 14:26 独木 阅读(233) 评论(0) 推荐(0)
摘要:In order to use MongoDB in C#, you can import MongoDB C# Driver to your project. It's best to create some dummy base class for convenience. 阅读全文
posted @ 2013-12-29 23:09 独木 阅读(808) 评论(0) 推荐(0)
摘要:In previous USING NHIBERNATE WITH SQLITE, we connect SQLITE with ORM framework NHibernate. One of the biggest advantage of ORM is that most code need not be changed when switching different DBMS. In this article, MySQL is used for DBMS. For the switching, hibernate.cfg.xml and default.build have to be updated. 阅读全文
posted @ 2013-12-21 23:25 独木 阅读(269) 评论(0) 推荐(0)
摘要:Web Automation is a quite regular task nowadays, scripting for repeated operations and testing. Selenium is a good toolkit for this kind of tasks. 阅读全文
posted @ 2013-11-16 11:39 独木 阅读(4999) 评论(0) 推荐(2)
摘要:分布式任务系统是一个常见的需求,如果将 Gearman 作为 build block 来搭建这个系统的话,这样能够 make your life much easier。 阅读全文
posted @ 2013-11-02 22:01 独木 阅读(466) 评论(0) 推荐(0)
摘要:因为学习C#各种特性和使用方法的需要,常常会编写和收集一些例子代码。一段时间之后,这种代码的数量就增加到无法通过简单粗暴的方式进行管理了。采用NAnt进行管理是一个不错的选择,虽然部分特性只有MSBuild才支持,基于偏好选择NAnt。 阅读全文
posted @ 2013-09-04 10:47 独木 阅读(293) 评论(0) 推荐(0)
摘要:The most convenient method to add NHibernate and SQLite for C# project is using NuGet. But I prefer a more free way to do it with NAnt. Let's do it. 阅读全文
posted @ 2013-08-25 17:30 独木 阅读(1734) 评论(0) 推荐(0)