随笔分类 -  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 阅读(1197) 评论(1) 推荐(0) 编辑
摘要:在开发.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 阅读(3790) 评论(3) 推荐(0) 编辑
摘要:How to debug Web Services or .Net Remoting Components hosted in IIS in Windows 2003 Server 阅读全文
posted @ 2004-11-13 17:35 Rickie 阅读(1596) 评论(2) 推荐(0) 编辑
摘要: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 阅读(2836) 评论(12) 推荐(0) 编辑
摘要:在开发.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 阅读(4210) 评论(1) 推荐(0) 编辑
摘要: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 阅读(2373) 评论(2) 推荐(0) 编辑
摘要: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 阅读(848) 评论(1) 推荐(0) 编辑
摘要: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 阅读(3436) 评论(1) 推荐(0) 编辑
摘要:关于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 阅读(5142) 评论(11) 推荐(0) 编辑
摘要:将一个Windows forms的Client/Server程序改写为基于.Net Remoting的程序,由IIS承载Remote Objects。 阅读全文
posted @ 2004-10-20 01:31 Rickie 阅读(4460) 评论(6) 推荐(0) 编辑
摘要:来自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 阅读(3225) 评论(5) 推荐(2) 编辑
摘要:在《灵活管理Remote Objects生存期(lifetime)》一文中,提及了Remote Objects生存期管理的一些基本方面,已经可以满足一般基于.Net Remoting的应用。如果你觉得那些关于Remote Objects的生存期管理机制还不满足需求,则可以考虑实现Client端或Server端的Sponser对象。 阅读全文
posted @ 2004-10-15 05:05 Rickie 阅读(2345) 评论(1) 推荐(0) 编辑
摘要:这一问题一般出现在Console application/Windows Service承载Remote Objects时,要求Remote Server指定特定port。IIS在承载Remote Objects并不需要指定特定port,因此一般不会出现SocketException异常信息。 阅读全文
posted @ 2004-10-14 02:34 Rickie 阅读(3235) 评论(3) 推荐(0) 编辑
摘要:本来准备以Microsoft提供的SqlHelper Class为基础,改写成基于.Net Remoting版本的数据访问类RemotingSqlHelper。整个过程出现了不少异常,也了解到使用.Net Remoting过程中需要注意的若干问题。 阅读全文
posted @ 2004-10-13 01:13 Rickie 阅读(2762) 评论(6) 推荐(0) 编辑
摘要: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 阅读(1956) 评论(2) 推荐(0) 编辑
摘要:如何检测Remote Objects是否部署成功。Remote Objects部署成功是第一步,否则Client端调用Remote Objects肯定会抛异常信息了。因此,如出现异常信息,首先检测Remote Objects是否成功部署在Server端。 阅读全文
posted @ 2004-10-11 03:46 Rickie 阅读(2666) 评论(0) 推荐(0) 编辑
摘要:通过.Net Remoting配置文件可以为Remote Objects设定许多参数,如Channel、SAO服务端激活对象类型(Singleton/SingleCall)等等,方便以后在不用修改代码或重新编译的情况下,改变Remote Objects的行为。 阅读全文
posted @ 2004-10-10 13:27 Rickie 阅读(16230) 评论(29) 推荐(1) 编辑
摘要:这里主要是推荐Ingo Rammer《Advanced .Net Remoting》中提出的管理Remote Objects生存期的方法,通过扩展MarshalByRefObject类来实现灵活调整Remote Objects的生存期。 阅读全文
posted @ 2004-10-09 05:52 Rickie 阅读(3229) 评论(10) 推荐(0) 编辑
摘要:Wincv.exe类查看器工具(Class Viewer), Class Viewer工具可以显示Class的Fields, constructors and Methods. 阅读全文
posted @ 2004-10-09 00:58 Rickie 阅读(3660) 评论(2) 推荐(0) 编辑