上一页 1 2 3 4 5 6 7 8 9 10 ··· 22 下一页
本文提供一种简化在多服务器和服务器群上自动化部署WCF服务的方案。 Read More
posted @ 2009-03-25 23:14 Teddy's Knowledge Base Views(2739) Comments(1) Diggs(0) Edit
This article provides a solution to manage WCF service configuration in a central store instead of in configuration file. (本文提供一种使用配置集中管理代替配置文件配置WCF服务的方案。) Read More
posted @ 2009-03-23 23:11 Teddy's Knowledge Base Views(4912) Comments(17) Diggs(0) Edit
Title: Support EngineerQualifications: 1. Bachelor’s degree in computer science2. Over 2 years solid working experience in software developing 3. Good skills on Visual Studio, client-side scripting, C... Read More
posted @ 2009-02-10 17:58 Teddy's Knowledge Base Views(966) Comments(0) Diggs(0) Edit
这是一个ASP.NET 3.5的Web Application程序,实现了类似NUnit的简单但实用的UnitTest功能。写这个小工具的目的是在NBear5的开发中需要方便的在完全真实的模拟环境中测试所有组件功能的在ASP.NET下,尤其是Partial Trust模式下的运行效果,现有的UnitTest工具中似乎对这方面的支持都比较有限,所以,自己花两天时间写了一个。相比NUnit,本工具提供的 UnitTest功能比较基础,但是,对一般的UnitTest来说应该完全够用了。如果您正在开发和测试一些ASP.NET下的Web组件,推荐一试。程序本身就是一个Web Application,所以,自然是包含了全部源代码的。源码对除.Net Framework 3.5之外的DLL没有任何依赖,也可以做成VS的Project Template方便重复使用。 Read More
posted @ 2008-11-10 15:57 Teddy's Knowledge Base Views(4333) Comments(15) Diggs(0) Edit
Senior Software EngineerCandidate should have thorough knowledge of design, development, and deployment of large-scale web-based solutions using the Microsoft platform (IIS, ASP, ASPX, MSSQL, COM, MTS... Read More
posted @ 2008-09-09 09:39 Teddy's Knowledge Base Views(2084) Comments(9) Diggs(0) Edit
背景框图上图中,Role和被设置Permission的Resource都是可以有任意层级继承关系的。举例举一个网站的例子来说:如果,User表示网站用户;Role表示角色;Resource表示所有可访问的URL;Permission是对每一个URL的某一个权限(如:查看,修改等)。Role可以有任意层级继承关系,如:用户角色可以分为Normal User和Admin User,Admin User... Read More
posted @ 2008-01-23 21:29 Teddy's Knowledge Base Views(5864) Comments(25) Diggs(0) Edit
该示例使用NBearLite v1.0.1.2,基于.Net PetShop 4.0的源码修改。使用NBearLite重写了等价功能的BLL、Profile、Membership模块的数据访问部分,去除了DALFacrory、IDAL等工程(因为基于NBearLite可以透明的在多种数据库源间进行无缝切换,无需修改代码),去除了Order的基于MSMQ的异步处理部分。本示例演示了使用NBearLite作为数据访问组件进行开发的常用方法。Web工程的Web.config中默认关闭了CaceDependency,并设置了Sqlite为默认数据库。 Read More
posted @ 2008-01-09 14:44 Teddy's Knowledge Base Views(11199) Comments(34) Diggs(0) Edit
本文介绍一组NBearV4中的基于Emit动态生成代码的辅助类,部分概念在本人的blog之前的文章中或多或少都有介绍,这里包含最新的更新及演示、测试。主要是两个类:CodeGenerator和DynamicMethodFactory。前者提供了一种经过封装的,简化Emit方法(包括Emit DynamicMethod,Constructor,Method,get、set Method of Property)的方案;后者基于前者,实现了一种访问指定类(可以是第三方程序集的internal类)的方法或成员变量,实例化第三方程序集中的internal类型,高性能的以非泛型语法访问泛型方法的机制(通过DynamicMethod和Delegate实现)。 Read More
posted @ 2007-10-10 11:56 Teddy's Knowledge Base Views(6528) Comments(14) Diggs(0) Edit
Kevin McFarlane的C#版DesignByContract Framework实现从02年在CodeProject发布至今,几乎成为C#开发中大多数朋友使用的事实标准。本文结合对该框架的使用经验,在Kevin的原始版本的基础上,使用Strategy Pattern对其进行进一步的扩展,对最常用的检查语义进行封装简化。本文改进的源码以Public Domain协议发布,也就是说,完全没有任何限制。 Read More
posted @ 2007-10-05 15:01 Teddy's Knowledge Base Views(6033) Comments(7) Diggs(0) Edit
NBearLite是一个.NET 2.0开源(BSD协议)通用数据访问组件,支持SQL Server、Oracle、MS Access,MySQL,SQLite,PostgreSQL等多种数据库的透明切换(改变数据库类型时无需修改具体的查询代码)。NBearLite实现了一套类似LINQ的强类型数据库查询语法(支持从简单的CRUD查询到GroupBy、InnerJoin,Paging,SubQuery等常用复杂查询)。NBearLite提供的代码生成工具还可以为您自动生成所有的存储过程调用包装代码,可以让您像使用一个.NET类的方法一样访问存储过程(支持SQL Server,Oracle,MySQL,PostgreSQL数据库)。 NBearLite不是一个ORM工具,它不涉及实体类,NBearLite的所有查询返回Scalar/DataSet/IDataReader等ADO.NET原生数据类型。 推荐在使用NBearLite的同时结合使用NBearMapping进行IDataReader/DataRow数据类型和自定义.NET类(如:实体类或业务类 Read More
posted @ 2007-07-29 15:12 Teddy's Knowledge Base Views(14298) Comments(22) Diggs(1) Edit
上一页 1 2 3 4 5 6 7 8 9 10 ··· 22 下一页