Jon Box's Weblog

 


.NET Articles by the Atomic group

MSDN RDs









Subscribe to "Jon Box's Weblog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 

 

  Monday, July 14, 2003


.NET Multithreading Not up on the .NET way of multithreading, I came across a book written by Alan Dennis on multithreading that I just had to check out. And now, I'm recommending this book. .NET Multithreading is a well done text on the subject.  It is easy to read yet has substance.  It was entertaining yet was focused on the topic. He starts with the basics and builds from there. There are nice illustrations that help in the understanding of a complex subject.  (I don't know Alan nor do I have any affiliation with Manning Publications.)

3:20:59 PM    comment []

Thanks to KbAlertz, I just received information on a known .NET CF deficiency with Typed DataSets as parameters in Web Service calls.  This is not a new issue and the workarounds are not new either; however, someone just asked me this last week so I had to forward on.

Problem: In Microsoft Visual Studio .NET 2003, when you build a .NET Compact Framework project that uses an XML Web service that exposes a typed DataSet as a WebMethod, several compiler errors occur.

Cause: The errors occur because Visual Studio .NET inserts many serialization attributes in the proxy file that the .NET Compact Framework does not support.

The workarounds for this are not painful.  One solution is to change the Web Service method so that is doesn't pass Typed DataSets, which is not a great solution if other .NET platforms are using the same method. The other alternative is to change the proxy on the device by commenting out the serialization attributes. The resulting issue here is that regeneration of the proxy will require the commenting out of the serialization attributes.

I have mixed feelings about passing DataSets to devices anyway due to performance issues.  But that will be improved over time (faster .NET CF, bigger "badder" devices, etc).

See Q811588 for all of the details on this issue.  And make sure you subscribe to KbAlertz, the free KB notification service from Dave Wanta.

 


11:18:24 AM    comment []


Click here to visit the Radio UserLand website. © Copyright 2004 Jon Box.
Last update: 8/31/2004; 11:54:33 PM.

July 2003
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Jun   Aug