U2U Blog Center

For developers and other creative minds

Welcome at the U2U Blog Center

U2U has built up the last 10 years a huge amount of expertise in the Microsoft .NET Framework. Expertise they have always shared in the community. Below you can find a list of the blogs maintained by U2U trainers.

Webcast on Parallel Computing

A couple of weeks ago, I did a webcast on Parallel Computing available on channel9 at http://channel9.msdn.com/posts/adebruyn/MSDN-Live-Meeting-Visual-Studio-2010-and-NET-4-Update The presentation can  be downloaded at : ParallelComputing.pdf In addition, you can also download my demos  ... [More]

WCF Streaming

1. Configuring and Tracing WCF can send messages in buffered mode and in streaming mode. The default is buffered mode, which means that the whole message needs to be transfered and received before the client can start processing it. When messages get too large to be send as one big blob and when t... [More]

AZURE Roadshow at HOWEST - demos

Last week, I did a presentation on Windows Azure at HOWEST, University College West Flanders. As promised, my hands-on-labs of this session. 1. A file archive application to upload/download files into a database in the cloud.  This application consists out of a webpage (UploadFile.aspx) to upl... [More]

IErrorHandler: A generic Fault Converter (2/2)

My previous post IErrorHandler: A generic Fault Converter (1/2) describes how to build an ErrorHandler for WCF. The challenge is now to write a generic ErrorHander which can be configured to automatically convert exceptions into faults based upon a pre-defined list of converter methods. Converting a... [More]

Extensions to get attribute information

Checking attributes on classes can be done by getting the type of the class and executing GetCustomAttributes() on it. You just need to iterate over the resulting object[] to find what you are interested in. To simplify this a bit more, I wrote a couple of extension methods : static public cla... [More]

IErrorHandler: A generic Fault Converter (1/2)

In WCF, methods communicate error information by means of SOAP faults. These SOAP faults are message types which are part of the metadata of your service contracts:  service operations declare the possible faults by using FaultContracts. [ServiceContract] public interface IOrderMgrService... [More]