Showing results for May 2014 - Developer Support

May 13, 2014
0
0

So many exceptions… but only one can throw

Andrew Arnott
Andrew Arnott

When a method may throw for more than one reason, the thoughtful programmer might ask “which exception should be thrown?”Consider a method which performs argument validation, is cancelable, and also might throw based on the state of the object. What order should these validations occur so that the best exception is thrown? Here is my ...

andarno.NETasync
May 7, 2014
0
1

Asynchronous and multithreaded programming within VS using the JoinableTaskFactory

Andrew Arnott
Andrew Arnott

Everyone appreciates a fast and responsive UI, and Visual Studio is no exception. Extensions that run in Visual Studio play a significant role in how responsive the IDE will be for its users. Visual Studio has been evolving over the past few cycles to not only improve performance, but also responsiveness during operations that may take a while to ...

andarno