How to pass objects as parameters to Remote Method Calls

dotnetjunkie

New member
Joined
Apr 21, 2005
Messages
1
Programming Experience
Beginner
1. How to pass business objects to remote method calls ??

2. Is it byref or byval ???

3. Does the object needs to implment ISerializable interface or have an <Serializable> attribute ???

4. Does the object needs to inherit MarshalByRefObject ???

5. How to generate a proxy remote hosted on an IIS with binary formatting ???

6. Any pointers to web articles is greately appreciated !!
 

TPM

Well-known member
Joined
Dec 7, 2004
Messages
623
Location
CA
Programming Experience
3-5
1. once you've created a proxy to the remote class you can use it vertually the same way as you can a local class.
2. Depends what your doing, but most of the time your going to use byval.
3. You can only use serializable objects
4. The remote class does.
5. You'd use a config file to set it up.
6. Here's an article about remoting to get you started:
http://www.dotnetjohn.com/articles.aspx?articleid=90

Remoting is very complex, and can be quite confusing. I suggest you get MS presses vb.net remoting.
 
Top Bottom