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 ...
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...
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...
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
Save Azure cost via Visual Studio
Azure runbooks can automate cost savings in Azure
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
Implement paging with AJAX for ASP.NET (.NET Framework)
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
We have all be declared an expert. A funny take on experts
I work for Microsoft now
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
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...
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
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...
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...
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...
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...
Windows 7 apparently always prioritizes the wireless network connection (Wi-Fi) – no matter if a faster wired network connection is available. This is defaul...
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...
I find this video hilarious…
Automating checking for changes in API’s between versions
Reuse is key in software development hence the DRU principle. To often the wrong level of reuse is causing problems within an organization
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...
Yep – It’s true, I’m one year older today.
I needed to compress a lot of files into individual zip archives – I did not want to do it manually 🙂
Showing hos to implement two-phase-commit (2PC) transactions in .NET
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...
Running the below code will fail – why?
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...
Today I just witness the electronic annual general meeting for the investment company SparIndex. This is the first 100% electronic annual general meeting eve...
Watch out when using @@IDENTITY and SCOPE_IDENTITY() in your applications. Below is a quote from a Microsoft SQL Server engineer.
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 ...
Below is my real life story telling how easy it can be to find index candidates if you use your tools.
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...
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...
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)
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 ...
Yesterday I returned from Milan, Italy, after completing a great Scrum Master Certification course taught by the experienced Scrum trainer Joseph Pelrine.
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...
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.
![Victoria 3 months old](/wp-content/uploads/victoria3months.jpg
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...
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...
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...
What a strange question most developers will say. DivideByZeroException is thrown every time you divide by zero, right? No – it depends.