Battle of the ORM’s – Setup and Configuration

by DotNetNerd 2. December 2010 09:37

Following up on my last post and on reading NHibernate 3.0 Cookbook I decided to download the latest NHibernate bits (v. 3 CR1), and do a comparison to Microsofts Entity Framework.
NHibernate and Entity Framework are what most developers reguard as the top Object Relational Mappers out there. So looking at how they stack up is pretty important in order to be able to choose the right ORM for a given project.

More...

Og vinderen af låge #1 er...

by DotNetNerd 1. December 2010 12:51

Hvad kunne være mere i julens ånd, end at have mulighed for at hjælpe en stakkels gadget hungrende med-nørd I denne svære tid? Jeg kan i hvert fald mærke at jeg allerede er kommet i julehumør over at se de mange svar, hvor nogen af dem endda har været uforudset kreative.

Det rigtige svar på spørgsmålet som 83 deltagere i alt har svaret på er kort og godt: "Don't call us, we'll call you!". De mest kreative har endda sendt en video med svaret.

Den eneste naturlige måde at finde vinderen på har naturligvis været at afvikle: new Random().Next(83); for at finde indexet på vinderen i listen af mailadresser.

Og vinderen af en WD TV HD Live Digital Box er: Jørgen Christensen 

 

Tags:

Microsoft Julekalender låge #1

by DotNetNerd 30. November 2010 00:00

Jeg har fået den ære at hoste den første låge i Microsofts julekalender. Så for lige at forklare reglerne er det helt enkelt at jeg stiller en opgave, som jeg har valgt er i form af et spørgsmål. For at deltage skal du blot besvare spørgsmålet  inden midnat i en email til christian@dotnetnerd.dk. Præmien til dagens vinder har jeg også fået lov at vælge, og det er blevet til en WD TV HD Live box. Jeg vil imorgen poste hvem vinderen er her på sitet, og give besked tilbage til Microsoft der sender gaven til den heldige og dygtige vinder.

Spørgsmålet er:

Hvilken sætning forbinder man både med afvisning af håbefulde skuespillere i Hollywood og DependencyInjection?

image002

Tags:

First steps with .NET Compact Framework – not that bad at all!

by DotNetNerd 26. November 2010 18:58

Over the last couple of weeks, I have been working on new features for a PDA application which is build using the .NET Compact Framework. It’s the first time I have worked with the framework, and the first things I heard were not too uplifting. Jokes about it basically being a wrapper around NotImplementedException do make you wonder just how painful it will be.

I have to say though that it has actually been a pretty good experience so far! Maybe having the bar of expectations set just above groundlevel to start with makes it easier to make me happy – who knows?! I can conclude that debugging and deploying to the device has been smooth – just plug it in, press debug and you have all the usual debuggy goodness that Visual Studio provides.

The challange with .NET CF is that when making the framework smaller Microsoft really went in hard, so you will have to find alternate ways to get stuff done.

More...

Review: NHibernate 3.0 Cookbook

by DotNetNerd 24. November 2010 15:49

A few weeks ago we got a copy of the NHibernate 3.0 Cookbook by Jason Dentler, which I was really looking forward to because of the scattered nature the existing documentation for NHibernate.

The word Cookbook really says a lot of how the book is structured, and how it should be used. The book consists of a bunch of recipes on how to cook with NHibernate – terrible wordplay, I know, and I am sorry :) So basically it can be a good idea with a quick readthrough, and then it will serve as a place to look up solutions to various scenarios you will be dealing with when using NHibernate.

If you are new to NHibernate you will of course also gain an overview of the different topics you need to know about and as an experienced user you might stumble upon some features you didn’t know about.


nhag

More...

Split personality or two sides to every story?

by DotNetNerd 10. November 2010 17:01

As of today we have started a blog at my company Vertica where I will start blogging along with some of my colleagues. So I highly recommend that you take a look – we have a great team of developers so I gurantee that there will be some interesting posts to find. The new company blog does not mean that I will stop writing here, but that I will write both places - and that some articles may be partially posted both places.

20071119122913

Tags:

NuPack becomes NuGet

by DotNetNerd 30. October 2010 08:23

As it turnes out there already was another NuPack project, so Microsoft had an online vote and now it has been decided the new name will be NuGet and that it is pronounced "New Get".

Also Scott Hanselman did a talk at PDC named ASP.NET + Packaging + Open Source = Crazy Delicious mostly about NuPack/NuGet and a bunch of other MVC stuff like Razor. I highly recommend it with Scott being entertaining as allways... 

Tags:

NuPack - what you need to know as a developer

by DotNetNerd 19. October 2010 11:24

A little while ago I blogged about NuPack which is a package management system that Microsoft have released in a CTP1. The cool thing about NuPack is that solves the open source dependency hell, is really easy to use, and it comes as a Visual Studio Extension. After installing the extension you can install packages through a "add reference" like dialog, or through the Package Manager Console. 

More...

Tags:

Windows Phone 7 – Silverlight and XNA codecamp

by DotNetNerd 10. October 2010 17:27

I have spent this weekend at a codecamp around the Windows Phone 7 developer tools which was hosted by Trifork here in Århus. We looked at developing apps with Silverlight saturday and at XNA today sunday. It has been a lot of fun, and gave a lot of insights into what we can do with the tools.

Good news on deployment

Since I blogged about my initial thoughts on Windows Phone 7 I have heard a couple of good news around app deployment. First of all I was a little skeptical about the 99 dollar fee, when it is not possible to charge anything for the apps. The good news here is that the 99 dollar fee is refunded when you have deployed two apps to the market. So as someone put it at the codecamp “two fart-apps and you have your money back”. Besides that I heard that you can deploy up to 10 apps directly to the phone when you have the licence – so thats all good.

More...

NuPack - Microsofts own NU but with VS integration

by DotNetNerd 6. October 2010 17:44

Apparently I was not the only one who fell in love with the NU project, that I blogged a while ago. Microsoft just launched their own NuPack project which provides the same basic features, as well as integration directly with Visual Studio. As a cool sidenote it will be included in the install if you install the latest MVC 3 beta. To get started or just to see a quick runthrough of how it works take a look at Scott Hanselmans post on the subject.

 

Who am I?

My name is Christian Holm Diget, and I work as an independent consultant, in Denmark, where I write code, give advice on architecture and help with training. On the side I get to do a bit of speaking and help with miscellaneous community events.

Some of my primary focus areas are code quality, programming languages and using new technologies to provide value.

Microsoft Certified Professional Developer

Microsoft Most Valuable Professional

Month List