D
DalePres
Well, I have searched the net, MSDN, and the newsgroups more (for weeks now
really) and still no clear cut examples or descriptions of how to pass a
custom class as a parameter to a WebMethod or receive a custom class as a
return value from a WebMethod. Every article or newsgroup response I was
able to find speaks only in theoretical terms with no specifics or examples.
I finally managed to piece together enough little pieces that I was able to
work it through and produce a working example. I have documented it at
http://www.dalepreston.com/programming/SharedClasses.aspx including source
code.
This is basic so far but for many of us, if we have enough to get started,
we can figure the rest out for ourselves.
I hope this will help others who are working through the same thing.
Dale
really) and still no clear cut examples or descriptions of how to pass a
custom class as a parameter to a WebMethod or receive a custom class as a
return value from a WebMethod. Every article or newsgroup response I was
able to find speaks only in theoretical terms with no specifics or examples.
I finally managed to piece together enough little pieces that I was able to
work it through and produce a working example. I have documented it at
http://www.dalepreston.com/programming/SharedClasses.aspx including source
code.
This is basic so far but for many of us, if we have enough to get started,
we can figure the rest out for ourselves.
I hope this will help others who are working through the same thing.
Dale