DHTMLAsp.NetSQLC-SharpXMLFrameworkIISXMLWebServiceArchitecture
UMLProject ManagementSDLCMethodologiesDesign PatterenOOPWCF.Net RemotingWWF
MVPMVCSite Map
Asp.net 2.0
User Control
Custom Control
File Handling
Reflection
Deligate
Site Map
Tell a Friend
You
Friend
Email

Newsletter
Email

What is Remoting in .Net ?

I was hearing the word for long time but never could understand completely, was bit afraid too. Only thing that i understood about remoting is that "Remoting is Distributed Architecture in .net", after giving a few try finally i am able to implement remoting successfully.

If a person like me can understand remoting, I can tell that each one of you can become a master of remoting. its really Fun.

So, before i start with a realltime implementation, i would like you to familer with few remoting key concepts.
Three major thing of remoting application are :

1. Remote Object Design and Chanel Registration.
2. Host Server.
3. Atleaset one Client.      

any developer can develope any of the above component easily, only the tricks remain in implementation. how to implement !!   

Now let's look at the code sample.

How to register a chanel
//// formatter setting
BinaryServerFormatterSinkProvider objServerFormat = new BinaryServerFormatterSinkProvider();
objServerFormat.TypeFilterLevel = System.Runtime.Serialization.Formatters.TypeFilterLevel.Full;
BinaryClientFormatterSinkProvider objClientFormat = new BinaryClientFormatterSinkProvider();
//// port setting
System.Collections.IDictionary _props = new System.Collections.Hashtable();
_props["port"] = 8002;
//// Chanel creation
HttpChannel chan = new HttpChannel(_props, objClientFormat, objServerFormat);
ChannelServices.RegisterChannel(chan);
Privacy Policy ©2007 E-Tigers.net, All Rights Reserved Terms & Conditions
Supported by ETG Consultancy