.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

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
1: BinaryServerFormatterSinkProvider objServerFormat = new BinaryServerFormatterSinkProvider();
2: objServerFormat.TypeFilterLevel = System.Runtime.Serialization.Formatters.TypeFilterLevel.Full;
3:
4: BinaryClientFormatterSinkProvider objClientFormat = new BinaryClientFormatterSinkProvider();
5:
6: //// port setting
7: System.Collections.IDictionary _props = new System.Collections.Hashtable();
8: _props["port"] = 8002;
9:
10: //// Chanel creation
11: HttpChannel chan = new HttpChannel(_props, objClientFormat, objServerFormat);
12: ChannelServices.RegisterChannel(chan);
13:
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