Waiting for Parallel Tasks to Complete
posted by BlackWasp(4212) 7 months, 21 days ago 0
Thanks :)
Reply
The three pillars of unit tests: A helpful guide for beginners
posted by BlackWasp(4212) 7 months, 15 days ago 0
Useful points on TDD. One point 1 I'd make a slight amendment. If you can remove a line without breaking a test, I wouldn't advocate not using the tests. Instead I'd recommend adding tests to give you the reliability you need. Otherwise, good information.
Mocking Property Expectations with Moq
posted by BlackWasp(4212) 7 months, 7 days ago 0
You're welcome :) There are another few mentions of Moq in my Unit Testing tutorial and I have some more planned too.
Locking the Workstation Programmatically
posted by BlackWasp(4212) 6 months, 10 days ago 0
I think it has some uses. Perhaps not just locking workstations for fun though. ;)
Reading and Writing INI Files (C#)
posted by BlackWasp(4212) 5 months, 14 days ago 0
Hehe. I know! I wrote it after the problem cropped up in a project where some VB6 was still in use.
Return Multiple Values from Methods with Tuples -- Visual Studio Magaz
posted by BlackWasp(4212) 5 months, 6 days ago 0
With the examples shown there are better alternatives than returning tuples. That said, tuples have their place, particularly if the class shown will be used from F#. There's the added advantage (or disadvantage depending upon your viewpoint) that tuples are immutable.
Attaching Continuation Tasks to the UI Thread
posted by BlackWasp(4212) 4 months, 22 days ago 0
I think so too. It's only available in .NET 4.0 though so earlier versions still need to use BackgroundWorkers or spawn new threads.
Basic Volume Control
posted by BlackWasp(4212) 4 months, 8 days ago 0
I do have an icon in the bar at the top for posting to dotnetkicks. I think I'll add it to the bottom of the last page of an article too.
Documenting Exceptions
posted by BlackWasp(4212) 3 months, 10 days ago 0
I know that feeling :)
10 illustrated examples of Visual Studio 11
posted by BlackWasp(4212) 1 month, 5 days ago 0
Good article. I still don't like the grey and capitals though ;)
SQL Server Transaction Savepoints
posted by BlackWasp(4212) 1 month, 2 days ago 0
Good point.