I did start to work with Docker Containers on my Windows 10 machine. This is actually my development machine. It was quite a challenge to containerize some piece of legacy software. It has a desktop frontend and quite some limitations regarding performance, scalability, data management, monitoring. You may name even more. It took some time, I […]
Author: holgerleichsenring
Azure Functions Dependency Injection: Autofac On Functions nuget Package
When starting to play around with Azure Functions, the lack of dependency injection support was pretty annoying. To overcome that issue I created a small library, Autofac On Functions, based on Azure Functions 1.x. Unfortunately it is not possible to generate a nuget package from these sources. Azure On Function with nuget package available Yesterday I started to […]
Transition on-premise software to cloud
What does transition mean and what is necessary for being successful with it? Having an eye onto the market, architects with knowledge about how to transition existing on-premise products to the cloud may be one of the most interested and demanded skills of an architect. Pretty much every company with on-premise software now needs to think […]
Predefined type “System.Void” is not defined or imported – Visual Studio builds fine but screws up everything in text editors
Hitting the phenomen Recently I went to a different machine. My company allowed for newer faster machines. Perfect to set up everything again and clean up. I needed to open an older project that I had been working on two months before. This is an asp.net core 1.1.2 solution that works on .net framework 4.6.1. I […]
Azure Function Dependency Injection with AutoFac: Autofac on Functions
Autofac on Azure Functions. Azure still keeps evoling a lot. The next new and hot thing is Azure Functions. What makes Azure Function attractive? In the past six months I did have a look onto Azure Functions more often, but was on one hand pretty busy with a move to a different company and on the […]
GetDependsOnNetStandard task failed unexpectedly – Nuget Package Manager Visual Studio 2017 Magic.
Yesterday I got a message from a collegue of mine that building a solution with Visual Studio failed ungracefully. He directly got the sources from git freshly, there was no interaction by him. I checked my last commits and couldn’t see anything that was wrong. So I just got all the sources in a new place and […]
Bad Image Exception on Azure Service Fabric Unit Tests
I just experienced this System.BadImageFormatException. Could not load file or assembly ‘System.Fabric, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. An attempt was made to load a program with an incorrect format. The unit test shall test a Azure Service Bus connection. Yes, sure it is a unit test and the service bus connection actually should […]
Do you start with the data or with the test?
I recently had some discussions about TDD. I personally never tried to accomplish the procedure seriously. So I wanted to invest a little time to understand if it does fit to my needs, especially if it is more effective in short and long term perspective. I wanted to use a simple example. Not too complex and […]
Had been a long time since I’ve seen SendKeys
Back in the old times when I programmed in VBA/ VB sometimes there was the necessity to use … workarounds. A very popular especially in Excel development was DoEvents. Have a look onto this official sample by Microsoft: ‘ Create a variable to hold number of Visual Basic forms loaded ‘ and visible. Dim I, […]
Handy time measurement with Windsor Castle AOP
This is a good old issue, how to know where the program spends most of its time? If you want to spend the money, the best profiling tool from my point of view is still JetBrains’ DotTrace. You’ll get a lot of information down on method level, great stuff. But how can the program execution time be […]