摘要:
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. 阅读全文
摘要:
devAdvantage combines features of a refactoring tool and code analyzer to create a tool for C# .NET development. Some of the areas addressed include error and exception handling, threading, and serialization. 阅读全文
摘要:
Enterprise Solution Patterns Using Microsoft .NET, 使用.NET的企业解决方案模式
阅读全文
摘要:
The newsletter published by Ingo Rammer about .NET Remoting, Web Services and EnterpriseServices, and design guidance for distributed applications. 阅读全文
摘要:
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. 阅读全文
摘要:
关于Channel, Sink (Channel Sink or Message Sink), Sink Chain and Channel Sink Provider等.Net Remoting Framework中一些基本概念,可以参考《信道、接收器、接收链和信道接受提供程序》。这里利用.Net Remoting Framework内置的扩展特性,来定制Remoting流程,满足应用程序的特定需要。 阅读全文
摘要:
MSDN has released a new paper that highlights the features of the ASP.NET 2.0 Web Parts Framework. Formerly restricted to SharePoint sites, Web Parts are the building blocks for an easily customizable web interface and are becoming fully supported features of ASP.NET 2.0. The new Web Part Framework includes features for personalization, communication between Web Parts, and creating custom menus. 阅读全文
摘要:
将一个Windows forms的Client/Server程序改写为基于.Net Remoting的程序,由IIS承载Remote Objects。 阅读全文
摘要:
来自Ingo Rammer先生的Email-关于《Advanced .Net Remoting》
An email from Mr. Ingo Rammer, regarding the book, Advanced .Net Remoting
阅读全文
摘要:
为了扩展.Net Remoting,定制接收器(Sink)和信道接受提供程序(Channel Sink Provider),改变.Net Remoting的缺省行为,需要先了解.Net Remoting的相关概念及其运行机制。 阅读全文
摘要:
3本经典的好书-Refactoring, Patterns and Architecture 阅读全文
摘要:
在《灵活管理Remote Objects生存期(lifetime)》一文中,提及了Remote Objects生存期管理的一些基本方面,已经可以满足一般基于.Net Remoting的应用。如果你觉得那些关于Remote Objects的生存期管理机制还不满足需求,则可以考虑实现Client端或Server端的Sponser对象。 阅读全文
摘要:
这一问题一般出现在Console application/Windows Service承载Remote Objects时,要求Remote Server指定特定port。IIS在承载Remote Objects并不需要指定特定port,因此一般不会出现SocketException异常信息。 阅读全文
摘要:
本来准备以Microsoft提供的SqlHelper Class为基础,改写成基于.Net Remoting版本的数据访问类RemotingSqlHelper。整个过程出现了不少异常,也了解到使用.Net Remoting过程中需要注意的若干问题。 阅读全文
摘要:
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 阅读全文
摘要:
如何检测Remote Objects是否部署成功。Remote Objects部署成功是第一步,否则Client端调用Remote Objects肯定会抛异常信息了。因此,如出现异常信息,首先检测Remote Objects是否成功部署在Server端。
阅读全文
摘要:
通过.Net Remoting配置文件可以为Remote Objects设定许多参数,如Channel、SAO服务端激活对象类型(Singleton/SingleCall)等等,方便以后在不用修改代码或重新编译的情况下,改变Remote Objects的行为。 阅读全文
摘要:
这里主要是推荐Ingo Rammer《Advanced .Net Remoting》中提出的管理Remote Objects生存期的方法,通过扩展MarshalByRefObject类来实现灵活调整Remote Objects的生存期。 阅读全文
摘要:
Wincv.exe类查看器工具(Class Viewer), Class Viewer工具可以显示Class的Fields, constructors and Methods. 阅读全文
摘要:
SoapSuds是.Net Framework提供的一个很有用的工具,用来在生成Remote Objects或Web Services的元数据(metadata),供Client端引用。但是,SoapSuds也存在一些不足之处,在使用过程应加以注意,然后通过一些措施进行解决。 阅读全文
摘要:
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. 阅读全文
摘要:
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. 阅读全文
摘要:
Shares a pdf document named Advanced .Net Remoting (C# Edition) and relevant links, such as source code and FAQ, etc. 阅读全文
摘要:
.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. 阅读全文
摘要:
近来经常发生IIS的Default web site的状态为stopped,并且无法启动。启动时,弹出“Address already in use”,重新启动机器都没有用。 阅读全文
摘要:
本文继续《重构(Refactoring)技巧读书笔记 之一》,重构的确是未来软件工程师需要掌握的一项技能。目前一些支持.Net的重构工具,如ReSharper for VS.Net v1.0、Borland Together for VS.Net v2.0和VS.Net 2005等,只能支持一些有限的、比较简单的重构策略。大量的重构策略需要软件工程师清晰的了解,人工为主,运用重构工具辅助进行。(注:本文重构策略的名称及其大部分内容来自《重构-改善既有代码的设计》一书,Martin Fowler 著,侯捷等译)。 阅读全文
摘要:
提出关于ADO.Net连接池(Connection Pool)的一些个人见解,包括Connection Pool的一些基本知识和Connection Pool在不同情况的测试情况及其分析。
阅读全文
摘要:
SqlHelper Class是Microsoft提供的Data Access Application Block for .NET, 准备将SqlHelper Class部署在IIS环境下的Remote Object. 阅读全文
摘要:
实现基于.Net Remoting的Application Logger,部署在IIS环境中,异步记录应用程序日志。提供了FileLogger, EventLogger, DebugLogger, ConsoleLogger, EmailLogger and DBLogger等多种方式。 阅读全文
摘要:
拉斯维加斯(Las Vegas)美国内华达州(Nevada)东南部一城市,邻近加利福尼亚州与亚利桑那州的分界线。是重要的旅游城市,以其赌场而著名。 阅读全文