Rickie is back .... 人生·工作的结果=思维方式×热情×能力

今天比昨天更好,明天比今天更好,为此,不屈不挠地工作、勤勤恳恳地经营、孜孜不倦地修炼,我们人生的目的和价值就是这样确确实实地存在着。

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  397 随笔 :: 3 文章 :: 1310 评论 :: 129 引用

1.Remoting技术

Contains all relevant technologies based on .net framework, such as web services, windows form and web application.
摘要: Static methods can not be called remotely阅读全文
posted @ 2007-05-23 21:17 Rickie 阅读(927) | 评论 (1) 编辑

摘要: 在开发.Net Remoting Components时,可以通过使用Remoting Configuration file来简化代码并提高配置的灵活性,在article《.Net Remoting配置文件的用法》中有比较详细的介绍。但是,如果Client端没有Remote Objects的具体实现,只有引用interface,则Client端的configuration file就不行了(Server端应该不存在这种情况),本文针对Client端的这种情况,提出一些解决方案。 阅读全文
posted @ 2004-11-19 12:35 Rickie 阅读(2800) | 评论 (3) 编辑

摘要: How to debug Web Services or .Net Remoting Components hosted in IIS in Windows 2003 Server阅读全文
posted @ 2004-11-13 17:35 Rickie 阅读(1243) | 评论 (2) 编辑

摘要: As far as I’m aware, there are four different technologies, which can be used to build distributed applications in .Net platform. These technologies are .Net Remoting, Enterprise Services (COM+), Web Services and MSMQ (Microsoft's Message Queuing) respectively. It’s hard to say which one is better than other. Which one will be used to in a distributed application is depend on actual situation and requirements.阅读全文
posted @ 2004-11-01 05:29 Rickie 阅读(2324) | 评论 (12) 编辑

摘要: 在开发.Net Remoting的程序时,发现了如下异常消息: Exception Message: An unhandled exception of type 'System.Runtime.Serialization. SerializationException' occurred in mscorlib.dll Additional information: BinaryFormatter Version incompatibility. Expected Version 1.0. Received Version 1008738336.1684104552. 阅读全文
posted @ 2004-10-28 04:51 Rickie 阅读(3361) | 评论 (1) 编辑

摘要: There are two main typical multitiered applications based on .Net Remoting. Let’s illustrate them in detail and analyze their strongpoints and drawbacks respectively. It’s important and necessary to have a good command of application architecture to design an actual complicated system with high scalability, extensibility and maintainability.阅读全文
posted @ 2004-10-27 02:38 Rickie 阅读(1955) | 评论 (2) 编辑

摘要: The newsletter published by Ingo Rammer about .NET Remoting, Web Services and EnterpriseServices, and design guidance for distributed applications. 阅读全文
posted @ 2004-10-23 01:20 Rickie 阅读(604) | 评论 (1) 编辑

摘要: Inside .Net Remoting architecture, this post shows you .Net Remoting architecutre and inside running mechanism. It's helpful to understand .Net Remoting and debug it when there is something wrong or exception occured.阅读全文
posted @ 2004-10-22 05:12 Rickie 阅读(2697) | 评论 (2) 编辑

摘要: 关于Channel, Sink (Channel Sink or Message Sink), Sink Chain and Channel Sink Provider等.Net Remoting Framework中一些基本概念,可以参考《信道、接收器、接收链和信道接受提供程序》。这里利用.Net Remoting Framework内置的扩展特性,来定制Remoting流程,满足应用程序的特定需要。阅读全文
posted @ 2004-10-21 08:52 Rickie 阅读(3341) | 评论 (11) 编辑

摘要: 将一个Windows forms的Client/Server程序改写为基于.Net Remoting的程序,由IIS承载Remote Objects。阅读全文
posted @ 2004-10-20 01:31 Rickie 阅读(3612) | 评论 (6) 编辑

摘要: 来自Ingo Rammer先生的Email-关于《Advanced .Net Remoting》 An email from Mr. Ingo Rammer, regarding the book, Advanced .Net Remoting 阅读全文
posted @ 2004-10-18 03:51 Rickie| 编辑

摘要: 为了扩展.Net Remoting,定制接收器(Sink)和信道接受提供程序(Channel Sink Provider),改变.Net Remoting的缺省行为,需要先了解.Net Remoting的相关概念及其运行机制。阅读全文
posted @ 2004-10-16 05:23 Rickie 阅读(2112) | 评论 (3) 编辑

摘要: 在《灵活管理Remote Objects生存期(lifetime)》一文中,提及了Remote Objects生存期管理的一些基本方面,已经可以满足一般基于.Net Remoting的应用。如果你觉得那些关于Remote Objects的生存期管理机制还不满足需求,则可以考虑实现Client端或Server端的Sponser对象。阅读全文
posted @ 2004-10-15 05:05 Rickie 阅读(1532) | 评论 (1) 编辑

摘要: 这一问题一般出现在Console application/Windows Service承载Remote Objects时,要求Remote Server指定特定port。IIS在承载Remote Objects并不需要指定特定port,因此一般不会出现SocketException异常信息。阅读全文
posted @ 2004-10-14 02:34 Rickie 阅读(2476) | 评论 (3) 编辑

摘要: 本来准备以Microsoft提供的SqlHelper Class为基础,改写成基于.Net Remoting版本的数据访问类RemotingSqlHelper。整个过程出现了不少异常,也了解到使用.Net Remoting过程中需要注意的若干问题。阅读全文
posted @ 2004-10-13 01:13 Rickie 阅读(1924) | 评论 (6) 编辑

摘要: Any remoting system that relies on run-time type validation must deserialize a remote stream to begin using it, and malicious clients could use the moment of serialization or deserialization to the detriment of your application. To protect against such clients, .NET remoting provides two levels of automatic deserialization, Low and Full. Low is the default value, and enables most basic remoting functionality, such as automatic deserialization of remoting infrastructure types, and a limited set o阅读全文
posted @ 2004-10-12 04:29 Rickie 阅读(1502) | 评论 (2) 编辑

摘要: 如何检测Remote Objects是否部署成功。Remote Objects部署成功是第一步,否则Client端调用Remote Objects肯定会抛异常信息了。因此,如出现异常信息,首先检测Remote Objects是否成功部署在Server端。 阅读全文
posted @ 2004-10-11 03:46 Rickie 阅读(2014) | 评论 (0) 编辑

摘要: 通过.Net Remoting配置文件可以为Remote Objects设定许多参数,如Channel、SAO服务端激活对象类型(Singleton/SingleCall)等等,方便以后在不用修改代码或重新编译的情况下,改变Remote Objects的行为。阅读全文
posted @ 2004-10-10 13:27 Rickie 阅读(12265) | 评论 (29) 编辑

摘要: 这里主要是推荐Ingo Rammer《Advanced .Net Remoting》中提出的管理Remote Objects生存期的方法,通过扩展MarshalByRefObject类来实现灵活调整Remote Objects的生存期。阅读全文
posted @ 2004-10-09 05:52 Rickie 阅读(2137) | 评论 (10) 编辑

摘要: Wincv.exe类查看器工具(Class Viewer), Class Viewer工具可以显示Class的Fields, constructors and Methods.阅读全文
posted @ 2004-10-09 00:58 Rickie 阅读(1869) | 评论 (2) 编辑

摘要: SoapSuds是.Net Framework提供的一个很有用的工具,用来在生成Remote Objects或Web Services的元数据(metadata),供Client端引用。但是,SoapSuds也存在一些不足之处,在使用过程应加以注意,然后通过一些措施进行解决。阅读全文
posted @ 2004-10-08 02:52 Rickie 阅读(2375) | 评论 (27) 编辑

摘要: The .NET Framework provides three possibilities to call methods on remote objects (no matter if they are Singleton, SingleCall, or published objects). You can execute their methods in a synchronous, asynchronous, or asynchronous oneway fashion.阅读全文
posted @ 2004-10-08 00:16 Rickie 阅读(1248) | 评论 (0) 编辑

摘要: A MarshalByRefObject is a remote object that runs on the server and accepts methods calls from the client. Its data is stored in the server’s memeory and its methods executed in the server’s AppDomain. Instead of passing around a variable that points to an object of this type, in reality only a pointer-like construct-called an ObjRef-is passed around.阅读全文
posted @ 2004-10-07 04:31 Rickie 阅读(1664) | 评论 (3) 编辑

摘要: Shares a pdf document named Advanced .Net Remoting (C# Edition) and relevant links, such as source code and FAQ, etc.阅读全文
posted @ 2004-10-06 13:51 Rickie| 编辑

摘要: .NET remoting enables you to build widely distributed applications easily, whether application components are all on one computer or spread out across the entire world. You can build client applications that use objects in other processes on the same computer or on any other computer that is reachable over its network. You can also use .NET remoting to communicate with other application domains in the same process.阅读全文
posted @ 2004-10-06 13:31 Rickie 阅读(959) | 评论 (0) 编辑

摘要: 近来经常发生IIS的Default web site的状态为stopped,并且无法启动。启动时,弹出“Address already in use”,重新启动机器都没有用。阅读全文
posted @ 2004-10-05 00:24 Rickie 阅读(2249) | 评论 (0) 编辑

摘要: 提出关于ADO.Net连接池(Connection Pool)的一些个人见解,包括Connection Pool的一些基本知识和Connection Pool在不同情况的测试情况及其分析。 阅读全文
posted @ 2004-10-02 06:00 Rickie 阅读(23880) | 评论 (32) 编辑

摘要: SqlHelper Class是Microsoft提供的Data Access Application Block for .NET, 准备将SqlHelper Class部署在IIS环境下的Remote Object.阅读全文
posted @ 2004-10-01 08:36 Rickie 阅读(1767) | 评论 (9) 编辑

摘要: 实现基于.Net Remoting的Application Logger,部署在IIS环境中,异步记录应用程序日志。提供了FileLogger, EventLogger, DebugLogger, ConsoleLogger, EmailLogger and DBLogger等多种方式。阅读全文
posted @ 2004-09-30 03:46 Rickie 阅读(3338) | 评论 (1) 编辑

摘要: 一篇Microsoft的KB(注:Microsoft Knowledge Base Article – 821268,http://support.microsoft.com/default.aspx?scid=kb;en-us;821268 ),关于在ASP.Net Web Application调用Web Services的问题。英文部分是Microsoft Knowledge Base Article – 821268原文,我翻译了其中部分内容。这篇KB主要是分析并解决IIS Server中出现Deaklock的问题。阅读全文
posted @ 2004-09-25 05:59 Rickie 阅读(2272) | 评论 (0) 编辑

摘要: Best Practices Analyzer Tool for Microsoft SQL Server 2000是Microsoft SQL Server开发团队开发的一个数据库管理工具,可以让你检测设计的数据库是否遵循SQL Server操作和管理的最佳实践准则。这些准则公认有助于提高数据库的性能和效率,并让应用程序易于维护。阅读全文
posted @ 2004-09-24 06:14 Rickie 阅读(5219) | 评论 (5) 编辑

摘要: This article shows you how to host a Remote Object in IIS.阅读全文
posted @ 2004-09-11 11:30 Rickie 阅读(1465) | 评论 (2) 编辑

摘要: 为你自己的blog申请免费计数器, 可以进行简单的访问次数/人数统计。阅读全文
posted @ 2004-09-10 07:03 Rickie 阅读(979) | 评论 (4) 编辑

摘要: Borland Together for Visual Studio.Net V2.0 安装问题阅读全文
posted @ 2004-09-04 00:25 Rickie 阅读(2050) | 评论 (4) 编辑

摘要: This article will show you how to develop custom configuration section handler based on Microsoft Configuration Management Application Block. To create a read/write custom section handler, you must create a class that implements the IconfigurationSectionHandlerWriter interface, which is defined in the Configuration Management Application Block and extends IconfigurationSectionHandler. 阅读全文
posted @ 2004-07-23 08:14 Rickie 阅读(755) | 评论 (0) 编辑

摘要: Recently I worked on a .net project, which requires some form of configuration information and needs to store and manipulate the configuration data. In order to resolve this problem, I spent some time exploring the Microsoft Configuration Management Application Block (CMAB). This block provides a more sophisticated approach to configuration management than the inherent ConfigurationSettings capabilities in .Net class library.阅读全文
posted @ 2004-07-22 09:17 Rickie 阅读(798) | 评论 (1) 编辑

posted @ 2004-06-28 23:55 Rickie 阅读(1033) | 评论 (0) 编辑