The .NET component library bbv.Common (open source – Apache License 2.0) provides a powerful hierarchical state machine.
Its features are:
- value type based (enums, ints, …) resulting in single class state machines.
- actions
- on transitions
- entry and exit actions (parametrizable)
- transaction guards
- hierarchical
- different history behaviours to initialize state always to same state or last active state
- fluent definition interface
- synchronous/asynchronous state machine
- passive state machine handles state transitions synchronuously
- active state machine handles state transitions asynchronously on the worker thread of the state machine
- configurable thorough logging simplifies debugging using log4net (can be replaced easily with custom logging)
- state machine report for textual description of state machine

.NET, Software
.NET, bbv.Common, state machine
Yesterday, I attended at TechDays 2010 in Basel,Switzerland, an outstanding session. Neno Loje, a software project manager and developer from Germany talked about project- and requirementsmanagement. His presentation plattform was Visual Studio 2010 combined with Team foundation server 2010, both available in beta-status.
First of all: I was blowed away. I never really worked with Visual studio before, but was I saw was outstanding. Because of some Java-Stuff I have to use NetBeans IDE in our Java-Courses at university. But Visual studio seemed to go much further as NetBeans or Eclipse. All the little gadgets you get inside the program.
Team foundation server 2010 is now able to work with hierarchy items and requirements. MS added some ressource management tools to have better team management inside the team foundation server. And simply everything makes sense (at least to me as a abolute rookie).
What I want to do now is to set up an environment to get in touch with all the details of this new platform. Even if I know that I probably never will develop bigger applications I want to get a better look on whats inside this team management tool.
Once I’m started with the plattform I’ll try to catch some impression about the whole system and share my rookie impressions with all the readers here. I hope you won’t laugh
.NET, Software
Team foundation server 2010, Tech Days 2010, Visual Studio 2010
Finally the latest news about Windows Phone 7 is arrived and it seems that Microsoft has ultimately learned its lessons. Windows Phone 7 has a totally news concept regarding what we are used to have with the Windows Mobile editions. But the Windows Phone 7 concept is not only new for “Microsoftish” phones it is also totally new for all smart phone operating systems on the market (including iPhone).

Mobile, Software
Microsoft, Smartphone, Windows Phone 7
PartCover is an open source coverage tool. Unfortunately, the current release does not run on a 64bit OS out of the box. The reason is that PartCover uses a 32bit COM component to determine coverage and that a 64bit process cannot load a 32bit COM component. 
.NET, Software
corflags, coverage, PartCover, x64
Today is the official release day of Windows Mobile 6.5. The new release of Windows Mobile 6.5 is claimed to be much smoother in terms of finger friendly navigation in all parts of the operating system including the today screen and windows explorer but also in terms of stability and performance. The famous iPhone lock and unlock slider is now available on Windows Mobile 6.5 (why reinventing the wheel
? ). The internet explorer 6 is integrated into the operating system and offers flash support, zoom toolbar and much more.
For developers it might be interesting that it’s easily possible to create your own individual design with the Theme Generator. Microsoft now offers an easy to use synchronization service which allows to synchronize all kinds of data from the mobile device to the online services and back. This service is called myPhone Online Service. Similar to the Apple Store there is now a market place for windows phone applications reachable under http://marketplace.windowsphone.com.
ROM upgrades for various phones should be available soon on the manufacturers websites. Stay tuned!
Mobile, Software
Windows Mobile 6.5, Windows Phone
In my first post (link) I’ve explained what StyleCop is and how you can start with your own StyleCop rules. We will now dig a little bit deeper into the jungle of StyleCop….

.NET, Software, Sourceanalysis
.NET, Source Analysis, TDD, Test Driven Development
In the most cases there are benefits when all data (log and db) files are on the network storage. Think off the benefit in terms of performance and backup. The Install wizard of Microsoft SQL Server 2008 shows only the option to change the path of the temporary database. In this guide I show you how to move the databases. Please keep in mind to create a backup of your db’s before starting. I know backup is only for hot shower takers, gym bag losers and armpit hair blow-dryers;-). On my test server the path looks like: 
Administration, Software
2007, ldf, master.mdf, mdb, server, sql
NMock2 is a library for assisting test driven development of .NET code by providing a dynamic mock object creation framework.
In my last post on NMock2, I introduced the new Stub feature of NMock2 and its basic usage. In the second part, we are going to have a look at the advanced possibilities of the Stub mock style:
- Define Mock Style Of Nested Mocks
- Define Default Values

.NET, Software, Testing, Uncategorized
.NET, Mocking, mocking framework, mocks, NMock2
Due to changes on sourceforge.net and its hosted applications, the documentation of NMock2 – a library for assisting test driven development of .NET code by providing a dynamic Mock Object framework for .NET interfaces and classes (virtual and abstract members of classes) – has been moved from WikiSpaces to MediaWiki.
You can check it out at http://sourceforge.net/apps/mediawiki/nmock2/index.php?title=Main_Page
.NET, Announcement, Software, Uncategorized
.NET, moc, Mocking, mocking framework, NMock2
NMock2 is a library for assisting test driven development of .NET code by providing a dynamic mock object creation framework.
In this article, I’m going to show you the basics of the new stub feature in NMock2. Note that this feature is currently only available on the development trunk in the subversion repository at https://nmock2.svn.sourceforge.net/svnroot/nmock2/trunk. Therefore, the features discussed here may change for the next official release.
Stubs can be used in scenarios where you have to test an instance of a class (let’s call this object testee) and this testee makes calls to another object (dependency) but you simply do not care what the testee calls on the dependency because it is not relevant for your test case.
Stubs will simply ignore any calls to it and if the call has a return value then the stub provides a default value.

.NET, Software, Testing
.NET, Mocking, mocking framework, mocks, NMock2, stubs, unit testing