Monthly : November 2008

22 Nov

Porting .NET app to Vista.. DEP strikes!

by Marco Mastropaolo

An interesting issue happened these days when I tried to port some apps to Vista. Basically all .NET apps compiled with Visual Studio 2005/2008 are marked “NX compatible” by default. If your .NET app uses an incompatible DLL or COM object, the app will crash. What I found funny was that the message was a [...]

21 Nov

TargetInvocationException in asynchronous web service call

by Marco Mastropaolo

I’ve seen so many solutions around to solve a TargetInvocationException raised by an asynchronous web service call in .NET and they are all but satisfactory. Some go so far to create a worker thread which is overkill and, above all, a clear sign of cargo culting. The solution is very very simple. The exception is [...]

Filed Under: .NET, Programming