Posted by

SisoDb reached v4.0.0 – now supports SqlCe4

SisoDb has now reached v4.0.0 and it has gone throw some heavy changes. Let’s take a look at the release notes. Release notes It’s not backwards compatible, hence v.4.0.0 No, it’s not backwards compatible. The underlying database schema that previously had a flattened view of your structures now is key-values. Why? Well, I wan’t the … Continue reading »

Security is also about education

Today I was seeing a doctors office part of the geographical region of Västra Götaland, which is somewhat unimportant, except that I wan’t you to understand that the “local doctors office” is part of a bigger organisation. This organisation spends a lot of time securing their data and I have no issue with trusting them … Continue reading »

Keyboard shortcuts in code using WPF MVVM and Caliburn Micro

Recently I had to replace a keyboard-shortcut solution in a WPF application where the existing solution used a global hook using unmanaged code. My first tryout was using the ComponentDispatcher. At first, it seemed ok, but sometimes commands wasn’t intercepted and sometimes modifier-keys wasn’t cleared from the buffer. Lets just say “there were problems”. I … Continue reading »

Some Git commands I have come to use

Create remote tag Syntax: git tag -a [name] -m ‘[comment]‘ E.g: git tag -a v0.7.1 -m ‘v0.7.1′ Delete local tag Syntax: git tag -d [tagname] E.g: git tag -d v0.7.1 Delete remote tag Syntax: git push origin :refs/tags/[name] E.g: git push origin :refs/tags/v0.7.1 Force new tag Syntax: git tag -f -a [existingname] -m ‘[comment]‘ E.g: … Continue reading »

Ensure.That – a simple guard clause project

Yes I know there’s a bunch of these projects out there already and that there’s built in support for using code-contracts in .Net, but even so we found a need for a custom API, hence Ensure.That was created. Also, I think Microsoft’s Code-contracts fails on the part of having to install an add-on to VS2010 … Continue reading »

Why the ExpectedExceptionAttribute sucks!

Today I was reading a book which showed an example of an unit test. And even if it was just there to show unit testing as a concept when doing ASP.Net MVC development, I really think you never, ever, ever, ever, ever…..(n)….ever should use that ugly attribute. Why, well follow along. BTW, the example tests … Continue reading »