Writing Entity Framework generated SQL to Visual Studio output window

by Claus Sørensen

Using a powerful ORM like Entity Framework is great. But once in a while when debugging, not having access to the generated SQL can be a real pain. Fortunately Entity Framework comes with handy logging functionality. What I do is to wire Entity Framework up for outputting logging information to…

Scaling concurrent connections with node.js and Socket.IO on IIS

by Claus Sørensen

These days I am working on a websockets-solution based on node.js and Socket.IO. With my development server running in Azure on IIS behind the brilliant iisnode I had everything set up and ready for performing some basic load tests, or so I thought. Reality is that you need…

A closer look at Enum

by Claus Sørensen

My inner nerd has always enjoyed ripping things apart to figure out what goes on inside of them. This week an Enum (which usually live quiet lives without making a big fuzz about themselves) presented me with some odd behaviour and a great opportunity to take a closer look at…

Automated code quality testing using Roslyn

by Claus Sørensen

Roslyn is an exciting project from Microsoft which after years in the making is currently available as a community technology preview. It is described as a “compiler as a service” and promises to give you as a developer access to a rich set of APIs exposing all the interesting stuff…