Windows Fall Creators Update 1709 and Docker Windows Containers
Who shrunk my Windows Docker image?We started to package our ASP.NET/WCF/Full-.NET Framework based web app into Windows Containers, which we then publish to the Docker Hub.Someday we discovered that...
View ArticleDid you know that you can run ASP.NET Core 2 under the full framework?
This post might be obvious for some, but I really struggled a couple of month ago and I’m not sure if a Visual Studio Update fixed the problem for me or if I was just blind…The default way: Running...
View Article.editorconfig: Sharing a common coding style in a team
Sharing Coding Styles & ConventionsIn a team it is really important to set coding conventions and to use a specific coding style, because it helps to maintain the code - a lot. Of course has each...
View ArticleCultureInfo.GetCultureInfo() vs. new CultureInfo() - what's the difference?
The problemThe problem started with a simple code:double.TryParse("1'000", NumberStyles.Any, culture, out _)Be aware that the given culture was “DE-CH” and the Swiss use the ‘ for the separator for...
View ArticleDbProviderFactories & ODP.NET: When even Oracle can be tamed
Oracle and .NET: Tales from the dark agesEach time when I tried to load data from an Oracle database it was a pretty terrible experience.I remember that I struggle to find the right Oracle driver and...
View ArticleEasy way to copy a SQL database with Microsoft SQL Server Management Studio...
How to copy a database on the same SQL serverThe scenario is pretty simple: We just want a copy of our database, with all the data and the complete scheme and permissions.1. step: Make a back up of...
View ArticleImproving Code
Improving codeTL;DR;**Things I learned: **long one-liners are hard to read and understandsplit up your code into small, easy to understand functionsless “plumping” (read infrastructure code) is the...
View ArticleMigrate a .NET library to .NET Core / .NET Standard 2.0
I have a small spare time project called Sloader and I recently moved the code base to .NET Standard 2.0. This blogpost covers how I moved this library to .NET Standard.Uhmmm… wait… what is .NET...
View ArticleBe afraid of varchar(max) with async EF or ADO.NET
Last month we had changed our WCF APIs to async implementations, because we wanted all those glorious scalability improvements in our codebase.The implementation was quite easy, because our service...
View ArticleHow to fix ERR_CONNECTION_RESET & ERR_CERT_AUTHORITY_INVALID with IISExpress...
This post is a result of some pretty strange SSL errors that I encountered last weekend.The scenario:I tried to setup a development environment for a website that uses a self signed SSL cert. The...
View ArticleHowTo: Run a Docker container using Azure Container Instances
Azure Container InstancesThere are (at least) 3 diffent ways how to run a Docker Container on Azure:Using the Web App for ContainersUsing Azure Kubernetes Service (AKS)Using Azure Container InstancesIn...
View ArticleMake your WCF Service async
Oh my: WCF???This might be the elephant in the room: I wouldn’t use WCF for new stuff anymore, but to keep some “legacy” stuff working it might be a good idea to modernize those services as well.WCF...
View ArticleHow to use TensorFlow with AMD GPU's
How to use TensorFlow with AMD GPU’sMost machine learning frameworks that run with a GPU support Nvidia GPUs, but if you own a AMD GPU you are out of luck.Recently AMD has made some progress with their...
View ArticleOffice Add-ins with ASP.NET Core
The “new” Office-AddinsMost people might associate Offce-Addins with “old school” COM addins, but since a couple of years Microsoft pushes a new add-in application modal powered by HTML, Javascript and...
View ArticleCheck Scheduled Tasks with Powershell
Task Scheduler via PowershellLet’s say we want to know the latest result of the “GoogleUpdateTaskMachineCore” task and the corresponding actions.All you have to do is this (in a Run-As-Administrator...
View ArticleLoad hierarchical data from MSSQL with recursive common table expressions
ScenarioWe have a pretty simple scenario: We have a table with a simple Id + ParentId schema and some demo data in it. I have seen this design quite a lot in the past and in the relational database...
View ArticleUpdate OnPrem TFS 2018 to AzureDevOps Server 2019
We recently updated our OnPrem TFS 2018 installation to the newest release: Azure DevOps ServerThe product has the same core features as TFS 2018, but with a new UI and other improvements. For a full...
View ArticleBuild Windows Server 2016 Docker Images under Windows Server 2019
Since the uprising of Docker on Windows we also invested some time into it and packages our OneOffixx server side stack in a Docker image.Windows Server 2016 situation:We rely on Windows Docker Images,...
View ArticleJint: Invoke Javascript from .NET
If you ever dreamed to use Javascript in your .NET application there is a simple way: Use Jint.Jint implements the ECMA 5.1 spec and can be use from any .NET implementation (Xamarin, .NET Framework,...
View ArticleSQL Server, Named Instances & the Windows Firewall
The problem“Cannot connect to sql\instance. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify...
View Article