Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on .NET remoting
Message
 
To
24/09/2002 13:31:22
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00703774
Message ID:
00703884
Views:
16
Well, no, of course you wouldn't rip apart what you've already done.

The original comment (if I read it right) was concern about passing DataSets to the presentation tier violating n-tier theory. Returning DataSets from a web service actually returns the XML so I don't think there is much difference between
return myDS;
and
return myDS.GetXML();
.

Roger



>Roger,
>
>I read thru a bit of that link ... looks interesting. I bookmarked it and will read more later. It sounds like an interesting concept to serialize an entire class object instead of just DataSets (I doubt if we'll change the way we do things at this point, but the concept sounds interesting anyway).
>
>We *do* use ds.GetXML() for serializing the DataSet. No sense rolling your own for that one.
>
>
>~~Bonnie
>
>
>>Hi Bonnie,
>>
>>>... we serialize the DataSets into XML to pass to and from the WebService.
>>
>>Are you using the GetXML() method of the dataset or are you rolling your own XML?
>>
>>I just read an interesting article on the web about serializing (haven't had time to play with it yet). Instead of passing DataSets (or their XML equivalent) between tiers you pass objects serialized into xml.
>>
>>(BTW, here's the link to the article: http://tiberi.us/view_article.aspx?article_id=30 )
>>
>>Let's say you have a Purchase Order class with certain public properties (say, po number, po date, vendor, and an array of POLine objects that include item number, description, quantity, price.)
>>
>>If you serialize an instance of that PO class to xml you can transfer it between tiers. .NET clients can just deserialize the xml back into an instance of the object (they will have to know about the PO and POLine class but there may be a way where they don't have to) whereas non-.NET clients can use the raw xml.
>>
>>As I understand it remoting is .NET's idea of Distributed COM (DCOM) but communicating using HTTP, SOAP, and WSDL (again, I'm getting this from my studying and haven't been able to play with it yet.)
>>
>>There's so much in .NET that my biggest problem has been staying focused on one topic at a time. I read something interesting and next thing I know half the day is gone on a sidetrack.
>>
>>Roger
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform