摘要:
一:NLB试验环境按如图1所示搭建NLB实验环境,其中计算机Server是域 控制器和DNS服务器,client和client2是成员服务器,域名为ittongluren.com。所有计算机网关IP地址为 192.168.0.1,首选DNS服务器IP地址是192.168.0.2.在计算机server和client上安装第2块网卡,用于节点间连接。网 络负载平衡(NLB)的IP地址是192.168.0.3.二:NLB实验前的准备· 在计算机Server(192.168.0.2)上创建一个Web站点,在客户端client2(192.168.0.5)上访问该网站,效果如图2所示。在计算机c 阅读全文
摘要:
本文介绍 IIS 7 如何搭配新一代的 ARR (Application Request Routing),建置 Server Farm 并达到比过去 NLB 更优的 Load Balancing 功能,此外还介绍微软新一代的分布式缓存技术 Velocity。-------------------------------------------------------------------------------------------------------过去及目前 Windows Server 中的 NLB (Network Load Balance, 负载均衡) 其缺点:用软件做的 阅读全文
摘要:
摘自:http://improve.dk/archive/2009/09/23/iis-request-filtering-woes.aspxI recently put a number of load balanced websites in production by using the newly released IIS7 Application Request Routing v2 Beta extension. Everything seemed to run perfectly both performance and functionality wise. There was 阅读全文
摘要:
摘自:http://blogs.technet.com/b/speschka/archive/2010/07/30/configuring-sharepoint-2010-and-adfs-v2-end-to-end.aspxIn this post I’m going to do an end-to-end walk through on how to configure SharePoint 2010 and ADFS v2 together to use SAML claims authentication. I’ll includes steps and PowerShell scri 阅读全文
摘要:
问题:I created a WCF service that exposed a method that has one paramater:public class Service1 : IService1{ public string GetData(int value) { return string.Format("You entered: {0}", value); }}The service has two endpoints defined (wsHttpBinding and basicHttpBinding) so that it would... 阅读全文
摘要:
//Web References 文件夹下 Reference.map下面的InvoiceDetailsViewModel.datasource 文件里 设置 GenericObjectDataSource 中的 typeinfo<GenericObjectDataSource DisplayName="Order" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> <TypeInfo>Marketiva.StreamsterAp 阅读全文
摘要:
现今存在的开源协议很多,而经过Open Source Initiative组织通过批准的开源协议目前有58种(http://www.opensource.org/licenses/alphabetical)。我们在常见的开源协议如BSD, GPL, LGPL,MIT等都是OSI批准的协议。如果要开源自己的代码,最好也是选择这些被批准的开源协议。这里我们来看四种最常用的开源协议及它们的适用范围,供那些准备开源或者使用开源产品的开发人员/厂家参考。BSD开源协议(original BSD license、FreeBSD license、Original BSD license)BSD开源协议是一. 阅读全文
摘要:
<scripttype="text/javascript">functionmoveEnd(obj){obj.focus();varlen=obj.value.length;if(document.selection){varsel=obj.createTextRange();sel.moveStart('character',len);sel.collapse();sel.select();}elseif(typeofobj.selectionStart=='number'&&typeofobj.selectio 阅读全文
摘要:
在安装mysql的时候,就会遇到以下错误。遇到错误不可怕,怕的就是被错误所击倒!The security settings could not be applied to the database because the connection has failed with the following error.Error Nr. 1045Access denied for user 'root'@'localhost' (using password: YES)If a personal firewall is running on your machine 阅读全文
摘要:
Presentation Layer: 負責與客戶端發生互動Application Layer: 負責協調UI與Domain Layer之間的互動Domain Layer: 軟體的核心,所有相關的Domain information都在這,可以看成是Business Logic Layer,但不完全是Infrastructure Layer: 負責各層之間的交互溝通、資料存取、安全性管理及通用LibraryPresentation Layer不該存在流程與規則,比如驗證規則,這是屬於Domain Object的工作; 比如工作流程,這是Application Layer要負責的; 比如資料存取 阅读全文