Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » .Net   (RSS)
It was some time since I last needed to use P/Invoke but it seems like I always need something from a standard C DLL or the Win32 API. Not that I needed it today, but I stumbled across this site which I will remember for future reference. Looks very helpful Read More...
I've always had mixed feelings for exceptions. First of all exceptions should only be used for exceptional things, not things that are expected. For example if you open a file it may fail for several reasons; it does not exists, you do not have rights Read More...
Today I read this blog post about how all .Net applications create three exceptions upon start; System.ExecutionEngineException, System.StackOverflowException and System.OutOfMemoryException. The reason is that if these are not allocated from the start, Read More...
There is a very funny introduction to F# available here . So if you want an introduction to F# and/or a few laughs you should watch it. Read More...
I was recently looking at a web-cast and it was not related to refactoring at all, but the presenter said something about refactoring that just blew my mind. The code he started with looked something like this: public ClassD GetD() { ClassA a = new ClassA Read More...
When I first heard of LINQ I got really scared. I could see that it was a very powerful tool but also a tool that would be easy to abuse. Most experienced developers tend to agree that putting SQL statements into your logic or even GUI code is a bad design. Read More...
Since I'm not a fan of mocks I guess my prayers have been heard. Microsoft Research will soon release a stub framework . That's right. Stubs and not mocks! It is part of Pex that I have mentioned before . And you don't need to use Pex if you don't want. Read More...
I recently had a chance to really sink my teeth into xUnit.net . Since I've been stuck with CPPUnit for quite some time and working with xUnit.net was a relief. Compared to NUnit I find xUnit much easier and convenient to work with (and compared with Read More...
Recently oldnewthing wrote a series av articles on C# iterators. Especially part four is interesting since it describes how iterators can be used to simplify asynchronous code. I'm not a big fan of this kind of exploit of a programming language since Read More...
And if you listened to me and started to write nice looking SQL , maybe you wanna look ate making your C# code look nice too... Read More...
Even though I never played crobots , I have always been intrigued by the idea. I even played RoboForge for a few months a couple of years ago. And today I stumbled across a new robot game; RoboChamps . RoboChamps does not seem to be like all other classical Read More...
Version 1.0 of xUnit.net has been released . So do we need another unit test framework? And I think the answer is yes . There are a number of things that I've found a little bit weird in NUnit and with xUnit.net they have been removed. I definitely think Read More...
I almost forgot that before the BDD/DDD presentation , there was a presentation about Selenium . I didn't forget it because it was a bad presentation but because the following presentation was so good... I've never had any good experiences with tools Read More...
 
Page view tracker