Hi, i need to share custom object with remoting. Ideas???? Please.

Re: Remoting by Scott

Scott
Mon Apr 14 14:59:01 CDT 2008

You'll need to be more specific about what it is you want ideas about. What
is your question?


"Joao Marcelo" <electronic.heart@gmail.com> wrote in message
news:ugbgKZmnIHA.1168@TK2MSFTNGP02.phx.gbl...
> Hi, i need to share custom object with remoting. Ideas???? Please.



Re: Remoting by Marcelo

Marcelo
Sun Apr 13 23:49:31 CDT 2008

Scott M. escreveu:
> You'll need to be more specific about what it is you want ideas about. What
> is your question?
>
>
> "Joao Marcelo" <electronic.heart@gmail.com> wrote in message
> news:ugbgKZmnIHA.1168@TK2MSFTNGP02.phx.gbl...
>> Hi, i need to share custom object with remoting. Ideas???? Please.
>
>
My idea is two classes:
first:
public class FieldList
private _FieldList as new ListOf(Field)
public sub AddFields(fNname as string)
try
dim FieldConfig as new Field
fieldConfig.Name = "Field01"
_FieldConfig.add(fieldConfig)
catch ex as exception
end try
end sub
end class
Second Class:
public class Field
private _Name as string
sub new(name as string)
_Name = name
end sub
'More implementations: Properties and Functions
end class

In my client i have instance of FieldList and add all fields using the
method AddFields. OK, i need to share this instance with my server in
remoting.

Thanks to your attention.