.Net Framework, Asp.net, Ado.net, .Net Remoting, .Net Webservice, SQL, XML, XSLT, WCF, WPF, WWF NHibernate, Ajax, Jquery, DHTML

Ado.netAsp.Net 2.0SQLC-SharpXMLFrameworkIISXMLWebServiceArchitecture
UMLProject ManagementSDLCMethodologiesDesign PatterenOOPWCF.Net RemotingWWF
MVPMVCSilver LightN-HibernateAjaxJ-QuerySEO-MarketingSite MapPhp
Formatter: There are two type of formatter, Binary and Soap.
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter;
System.Runtime.Serialization.Formatters.Soap.SoapFormatter;

Provider :
// Binary client and server provider.
System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider;
System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider;

// Soap client and server provider.
System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider;
System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider;

Channels
HTTP Channel

TCP Channel

Uses the SOAP serialization formatter by default.

Uses the binary serialization formatter by default.

Suitable for Internet deployment and works well with firewalls.

More suitable for deployment within an internal network/LAN

Performance is fairly good.

Very good performance since it uses raw sockets and a binary payload.

High interoperability. Channel can be used to talk to a large number of services (deployed even in disparate platforms) that can speak SOAP.

Not as interoperable as the HTTP channel.
Type of service
Singleton, Singlecall & ClientActivated Object :

SingleCall objects don't maintain any state between calls and every call to the object would be serviced by a new instance of the object. So essentially, they are stateless and are perfect candidates for load balancing and would scale-out well if deployed in a server farm.

Singleton objects follow the classic Singleton pattern where the same instance of the object is used to service requests from consumers. This pattern is useful when you need to maintain shared data or resources between all clients. For example, say you wanted to maintain a hit counter that tracked the number of hits on a server resource.

Client Activated Objects (CAO) use the activation & lifetime pattern that we see in object models like COM. When the client calls new or Activator.CreateInstance to create a CAO object, a remote request is sent in the form of an activation message that is intercepted by the Remoting Activator and the remote object is invoked. An object reference( ObjRef ) is passed back to the client. Every call that the client makes using the ObjRef that was handed over, is serviced by the same object on the server, thus allowing you to maintain state between method calls. This is quite different from the SingleCall and Singleton models because in both those models, the remote object is activated only when the first method call is made on the proxy and not during the actual instance creation.

How do i host a win application on IIS
Sponsored by

Privacy Policy ©2009 ETG Consultancy, All Rights Reserved Terms & Conditions
Asp.net, Ado.net, .Net Remoting, .Net Webservice, SQL, XML, XSLT, WCF, WPF, WWF NHibernate, Ajax, Jquery, DHTML