Supporting IPv4 and IPv6 dual mode network with one socket
IP version 6 has not become the de facto standard yet, even though we are close to have exhausted all IPv4 addresses. I set out to learn more about IPv6 and ...
IP version 6 has not become the de facto standard yet, even though we are close to have exhausted all IPv4 addresses. I set out to learn more about IPv6 and ...
Tutorial to create a Windows Container with a .NET application using Docker layers to compose upon existing Docker images
Publishing your first Windows Container in Azure
.NET Analyzers will improve your skills and highted your code quality
Short hand notation to initialize a Dictionary
.NET short hand property initializers
.Net short hand notation for short methods
Simple way of formatting .NET strings
Easy way of using reflection to get the name of a class, property or method
Checking for null is cumbersome, but there is a better way
Using a mapping class instead of cluttering the domain model with MongoDB specific attributes
A simple way of implementing auto-increment or sequence for MongoDB
To prevent cascading failures of downstream services your code should implement the circuit breaker pattern
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
The day started with a keynote from @Falkvinge from the Pirate Party. I wasn’t expecting much from this keynote, but I was pleasantly surprised. First of all...
I’ve written about Garbage Collection in the .Net Framework in version 2.0 and 3.0 a couple of years ago, but now Red Gate has created a simple and easy to u...
I have just held another presentation about Lucene.Net, this time in Copenhagen .Net user group. I hope everyone enjoyed the presentation and walked away wit...
I find this video hilarious…
The conference is over and it was a great success. I meet a lot of new people and had lots of technical discussions about .Net, graph databases, freetext sea...
Showing hos to implement two-phase-commit (2PC) transactions in .NET
Running the below code will fail – why?
Strings in .Net are immutable reference types, but can be confusing because they sometimes have similar characteristics as value types.
Why should you care about Garbage Collection? Well, it may very well improve performance for your applications.
I was surprised this last week, when a discussion about error handling, whether or not to use structured exceptions in .Net, surfaced at a customer where I a...
What a strange question most developers will say. DivideByZeroException is thrown every time you divide by zero, right? No – it depends.
Implement paging with AJAX for ASP.NET (.NET Framework)
Tracing, logging and instrumentation is key for troubleshooting and high level of observability of your code
This is an old post. Today I would recommend using Azure Cognitive Search, which is a PaaS offering which is built upon Lucene.
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Automating checking for changes in API’s between versions
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
I live and work in the suburbs of Copenhagen in Denmark, but I’m currently in South Africa on business. While I’m here I might as well visit Microsoft South ...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
I just got word from Microsoft, that I passed the Microsoft Certified Technology Specialist: .NET Framework 3.5, Windows Communication Foundation Application...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
With a 32 bit platform a process can only address 2 GB of memory by default on windows. For most applications this is not an issue. But today I really messed...
](http://www.microsoft.com/danmark/technet/detskerher/default_webcast.aspx?id=115)
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
The Miracle SQL Server Open World conference was a great success. There were lots of informative sessions and great networking. I spoke to a lot of interesti...
If interoperability with other platforms is a requirement WS-Atomic Transaction must be used. It requires all the steps for DTC setup in previous blog entry ...
When a transaction propagates from one process to another, the DTC (Distributed Transaction Manager) must be utilized, because to two or more independent par...
First of all – why do we need a technology like reliable messaging? That is due to the inherently unreliable of communication networks. Back in the old days ...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
I just got word from Microsoft, that I passed the Microsoft Certified Technology Specialist: .NET Framework 3.5, Windows Communication Foundation Application...
With a 32 bit platform a process can only address 2 GB of memory by default on windows. For most applications this is not an issue. But today I really messed...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
The Miracle SQL Server Open World conference was a great success. There were lots of informative sessions and great networking. I spoke to a lot of interesti...
If interoperability with other platforms is a requirement WS-Atomic Transaction must be used. It requires all the steps for DTC setup in previous blog entry ...
When a transaction propagates from one process to another, the DTC (Distributed Transaction Manager) must be utilized, because to two or more independent par...
First of all – why do we need a technology like reliable messaging? That is due to the inherently unreliable of communication networks. Back in the old days ...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
The last two and a half weeks have been interesting for me - Interesting in the “what doesn’t kill you makes you stronger” kind of way. Here is my challengin...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
The conference is over and it was a great success. I meet a lot of new people and had lots of technical discussions about .Net, graph databases, freetext sea...
Yep – It’s true, I’m one year older today.
Today I just witness the electronic annual general meeting for the investment company SparIndex. This is the first 100% electronic annual general meeting eve...
I live and work in the suburbs of Copenhagen in Denmark, but I’m currently in South Africa on business. While I’m here I might as well visit Microsoft South ...
I just got word from Microsoft, that I passed the Microsoft Certified Technology Specialist: .NET Framework 3.5, Windows Communication Foundation Application...
Yesterday I returned from Milan, Italy, after completing a great Scrum Master Certification course taught by the experienced Scrum trainer Joseph Pelrine.
Secure Boot is essential for securing your computer. This guide show how to enable it, so malicious software cannot infect your computer before startup of th...
.NET Analyzers will improve your skills and highted your code quality
Save Azure cost via Visual Studio
Tracing, logging and instrumentation is key for troubleshooting and high level of observability of your code
To prevent cascading failures of downstream services your code should implement the circuit breaker pattern
Automating checking for changes in API’s between versions
Finding Missing Indexes with DMVsSome time ago I wrote written about easy index wins for SQL Server 2005.
I needed to compress a lot of files into individual zip archives – I did not want to do it manually 🙂
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Below is my real life story telling how easy it can be to find index candidates if you use your tools.
SQL Server FullText enables you to search large amount of strings fast, and it is easy to use. It hasn’t changed much since SQL Server 2000. A simple getting...
Finding Missing Indexes with DMVsSome time ago I wrote written about easy index wins for SQL Server 2005.
The conference is over and it was a great success. I meet a lot of new people and had lots of technical discussions about .Net, graph databases, freetext sea...
Watch out when using @@IDENTITY and SCOPE_IDENTITY() in your applications. Below is a quote from a Microsoft SQL Server engineer.
Below is my real life story telling how easy it can be to find index candidates if you use your tools.
We (my colleagues at Miracle and I) are currently in the process of upgrading a customer’s solutions. One of task is migrating 100 gigs of data into an exist...
](http://www.microsoft.com/danmark/technet/detskerher/default_webcast.aspx?id=115)
Tracing, logging and instrumentation is key for troubleshooting and high level of observability of your code
The day started with a keynote from @Falkvinge from the Pirate Party. I wasn’t expecting much from this keynote, but I was pleasantly surprised. First of all...
The session “Applying Craftsmanship” at the JAOO conference by Pete McBreen was by no means technical but made me think. The stuff he talked about is, in my ...
The Miracle SQL Server Open World conference was a great success. There were lots of informative sessions and great networking. I spoke to a lot of interesti...
Secure Boot is essential for securing your computer. This guide show how to enable it, so malicious software cannot infect your computer before startup of th...
We have all be declared an expert. A funny take on experts
I work for Microsoft now
The day started with a keynote from @Falkvinge from the Pirate Party. I wasn’t expecting much from this keynote, but I was pleasantly surprised. First of all...
While writing and posting this post I’m currently flying from Copenhagen, Denmark to London, United Kingdom over the North Sea with Norwegian airlines using ...
Windows 7 apparently always prioritizes the wireless network connection (Wi-Fi) – no matter if a faster wired network connection is available. This is defaul...
I find this video hilarious…
Reuse is key in software development hence the DRU principle. To often the wrong level of reuse is causing problems within an organization
This is an old post. Today I would recommend using Azure Cognitive Search, which is a PaaS offering which is built upon Lucene.
I have just held another presentation about Lucene.Net, this time in Copenhagen .Net user group. I hope everyone enjoyed the presentation and walked away wit...
Automating checking for changes in API’s between versions
The conference is over and it was a great success. I meet a lot of new people and had lots of technical discussions about .Net, graph databases, freetext sea...
Showing hos to implement two-phase-commit (2PC) transactions in .NET
.NET Analyzers will improve your skills and highted your code quality
To prevent cascading failures of downstream services your code should implement the circuit breaker pattern
Reuse is key in software development hence the DRU principle. To often the wrong level of reuse is causing problems within an organization
Below is my real life story telling how easy it can be to find index candidates if you use your tools.
Why should you care about Garbage Collection? Well, it may very well improve performance for your applications.
I was surprised this last week, when a discussion about error handling, whether or not to use structured exceptions in .Net, surfaced at a customer where I a...
Publishing your first Windows Container in Azure
Save Azure cost via Visual Studio
Azure runbooks can automate cost savings in Azure
This is an old post. Today I would recommend using Azure Cognitive Search, which is a PaaS offering which is built upon Lucene.
I’ve written about Garbage Collection in the .Net Framework in version 2.0 and 3.0 a couple of years ago, but now Red Gate has created a simple and easy to u...
I find this video hilarious…
Running the below code will fail – why?
What a strange question most developers will say. DivideByZeroException is thrown every time you divide by zero, right? No – it depends.
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
If interoperability with other platforms is a requirement WS-Atomic Transaction must be used. It requires all the steps for DTC setup in previous blog entry ...
When a transaction propagates from one process to another, the DTC (Distributed Transaction Manager) must be utilized, because to two or more independent par...
First of all – why do we need a technology like reliable messaging? That is due to the inherently unreliable of communication networks. Back in the old days ...
SQL Server FullText enables you to search large amount of strings fast, and it is easy to use. It hasn’t changed much since SQL Server 2000. A simple getting...
Automating checking for changes in API’s between versions
The conference is over and it was a great success. I meet a lot of new people and had lots of technical discussions about .Net, graph databases, freetext sea...
Showing hos to implement two-phase-commit (2PC) transactions in .NET
We have all be declared an expert. A funny take on experts
I work for Microsoft now
While writing and posting this post I’m currently flying from Copenhagen, Denmark to London, United Kingdom over the North Sea with Norwegian airlines using ...
Blindly outsourcing work will always fail. Your company need to find passionate and talented knowledge workers to have a chance to succeed
Windows 7 apparently always prioritizes the wireless network connection (Wi-Fi) – no matter if a faster wired network connection is available. This is defaul...
Reuse is key in software development hence the DRU principle. To often the wrong level of reuse is causing problems within an organization
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
The Miracle SQL Server Open World conference was a great success. There were lots of informative sessions and great networking. I spoke to a lot of interesti...
![Victoria 3 months old](/wp-content/uploads/victoria3months.jpg
Tutorial to create a Windows Container with a .NET application using Docker layers to compose upon existing Docker images
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Azure runbooks can automate cost savings in Azure
Not a week goes by without new security vulnerabilities. The Wi-Fi vulnerability KRACK and the security chip vulnerability ROCA are some of the more severe o...
Note: This post refers to .NET Framework for Windows only, and not for the cross-platform .NET Core or simply .NET as it is re-branded in 2020. This means th...
Using a mapping class instead of cluttering the domain model with MongoDB specific attributes
A simple way of implementing auto-increment or sequence for MongoDB
Tutorial to create a Windows Container with a .NET application using Docker layers to compose upon existing Docker images
Publishing your first Windows Container in Azure
SQL Server FullText enables you to search large amount of strings fast, and it is easy to use. It hasn’t changed much since SQL Server 2000. A simple getting...
Tracing, logging and instrumentation is key for troubleshooting and high level of observability of your code