Author Archives: Mikkel Ovesen

About Mikkel Ovesen

I am a .NET developer, primarily developing apps for the web. I have been working with ASP.NET and C# for more than 5 years, and web development for 10 years. I like open-source software and burgers ;)

My attempts at installing Umbraco via NuGet

I often use Umbraco as a CMS for my web projects, and NuGet for referencing other libraries. This made me wonder whether Umbraco could be deployed via Nuget. The short answer is, it is possible, but it does not work … Continue reading

Posted in Development, Software | Tagged , , , , , , | Leave a comment

MacBook Pro BootCamp/Windows keyboard schema

Visual Studio 2010 + Resharper Key Description FN+ALT+[Right arrow] Go to sub types FN+ALT+[Left arrow] Go to super types ALT+SHIFT+F12 Find usages of variable CTRL+SHIFT+F11 Go to type of variable CTRL+SHIFT+R Refactor this CTRL+SHIFT+T Go to file CTRL+T Go to … Continue reading

Posted in Development, Mac, Software | Tagged , , , , , | 1 Comment

NHibernate query optimising with HQL expression IN

A note for me to remember. I have been doing some optimisation of queries done by NHibernate HQL. To optimise I have rewritten some of them to use the HQL IN expression. Point: important to check the collection parameter, if … Continue reading

Posted in Development, Personal | Tagged | Leave a comment

Using OpenCover and NUnit with MSBuild

I am working on a project that has a large code base with a lot of logic. For this project I am trying to adopt a more TDD oriented development approach. This includes unit- and integration testing, as well as code … Continue reading

Posted in Development | Tagged , , , , | Leave a comment

Visual Studio 2010 Package load errors

My Windows 7 installation on my laptop broke down, and I then had to completely reinstall Windows 7, Visual Studio etc. Besides it being a long and tedious process it seemed to go fine. But I started to get the … Continue reading

Posted in Development, Software | Tagged , , | 1 Comment

Cuda v3.2 template project using C++

Important The tutorial is missing some compilation, linker, library settings steps. However you can download the template project, it works and has everything setup. Introduction Download template project source Download executable I am a developer who has been developing software … Continue reading

Posted in Development, Software | Tagged , , , , , | Leave a comment

Mercurial graph

This is a screenshot of the Mercurial graph, of a project that I am currently is working on. It kind of looks like a string instrument you want to play

Posted in Development, Fun, Software | Tagged , , | Leave a comment

NHibernate dirty problem, weird updates in NHprof

Upgrading to NH3 from NH2.1.2 We have recently update to NHibernate 3 in one of our projects. While testing I was suddenly seeing some weird UPDATE statements in NHprof. It seemed like the NHibernate IsDirty detection had changed. After some … Continue reading

Posted in Development | Tagged , , , , | 2 Comments

Mercurial repository locked on network share and is never released

I have experienced this when the connection is dropped in the middle of a HG command being executed. The solution is to run the following command on the machine hosting the repository. Fire the command in the directory hosting the … Continue reading

Posted in Development, Software | Tagged , | Leave a comment

NHibernate CompositeId and GetHashCode SELECT N+1 problem

I was looking in my NHProf log and got a lot of SELECT request. To many and I thought I was having a SELECT N+1 problem. Using the “Stack Trace” in NHprof I identified a call being made to GetHashCode() … Continue reading

Posted in Development | Tagged , , , , , | Leave a comment