'error MSB8011: Failed to register output.' & UTF8-BOM files
Be aware: I’m not a C++ developer and this might be an “obvious” problem, but it took me a while to resolve this issue.In our product we have very few C++ projects. We use these projects for very...
View ArticleAzure DevOps & Azure Service Connection
Today I needed to setup a new release pipeline on our Azure DevOps Server installation to deploy some stuff automatically to Azure. The UI (at least on the Azure DevOps Server 2020 (!)) is not really...
View ArticleSQLLocalDb update
Short IntroSqlLocalDb is a “developer” SQL server, without the “full” SQL Server (Express) installation. If you just develop on your machine and don’t want to run a “full blown” SQL Server, this is the...
View ArticleYour URL is flagged as malware/phishing, now what?
ProblemOn my last day in 2022 - Friday, 23. December, I received a support ticket from one customer, that our software seems to be offline and it looks like that our servers are not responding. I...
View ArticleUse ASP.NET Core & React togehter
The ASP.NET Core React templateVisual Studio (at least VS 2019 and the newer 2022) ships with a ASP.NET Core React template, which is “ok-ish”, but has some really bad problems:The React part of this...
View ArticleUse ASP.NET Core and React with Vite.js
The CRA ProblemIn my previous post I showed a simple setup with ASP.NET Core & React. The React part was created with the “CRA”-Tooling, which is kind of problematic. The “new” state of the art...
View ArticleAzure DevOps Server 2022 Update
Azure DevOps Server 2022 - OnPrem?Yes I know - you can get everything from the cloud nowadays, but we are still using our OnPrem hardware and were running the “old” Azure DevOps Server 2020. The _Azure...
View ArticleResource type is not supported in this subscription
I was playing around with some Visual Studio Tooling and noticed this error during the creation of a “Azure Container Apps”-app:Resource type is not supported in this subscriptionSolutionThe solution...
View ArticleHow to fix: 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the...
In our product we can interact with different datasource and one of these datasources was a Microsoft Access DB connected via OLEDB. This is really, really old, but still works, but on one customer...
View ArticleFirst steps with Azure OpenAI and .NET
The AI world is rising very fast these days: ChatGPT is such an awesome (and scary good?) service and Microsoft joined the ship with some partner announcements and investments. The result is of these...
View ArticleZip deployment failed on Azure
The ProblemWe are using Azure App Service for our application (which runs great BTW) and deploy it automatically via ZipDeploy. This basic setup was running smoth, but we noticed that at some point the...
View ArticleLimit Active Directory property access
Be aware: I’m not a full time administrator and this post might sound stupid to you.The ProblemWe access certain Active Directory properties with our application and on one customer domain we couldn’t...
View Article.NET ('.NET Core') and Proxy Settings
If your .NET (“.NET Core”) program is running on a system that specifies strict proxy settings, you must either handle these settings in your application itself or use these environment variables.Since...
View ArticleHow Windows locates an executable via PATH or App Paths
If you’ve ever worked with the Windows operating system, especially in a programming context, you might have used the Process.Start(yourapp) (e.g. Process.Start(Outlook)) method in languages like C#....
View ArticleFirst steps with WinUI 3
Developing desktop apps for Windows is quite complex in 2024. There are some “old school” frameworks like WPF or WinForms (or even older stuff) and there is this confusing UWP (but I think it’s dead)....
View ArticleWinUI 3 Community Toolkit and the Template Studio
In my last post “First steps with WinUI 3” I already mentioned the “WinUI 3 Gallery”-App, but I missed mentioning two great resources.If you take a deeper look at the “Home” page, you will spot the...
View Article.NET Upgrade Assistant
For those facing the challenge of migrating their .NET Framework-based application to the modern .NET stack, Microsoft’s “Upgrade Assistant” is highly recommended:What is the “Upgrade Assistant”?The...
View Articledotnet dev-certs https - How .NET Issues Your Local Dev HTTPS Certificate
If you start developing a ASP.NET Core application you will notice that your site is running under “http s ://localhost:1234” and that your browser is happy to accept it - so there are some questions...
View ArticleLLamaSharp: Run a ChatGPT like system on your hardware for dummies
TL;DR summary: Check out the LLamaSharp Quick Start and you will find everything that you need to knowChatGPT (and all those Microsoft Copilots out there that were build on top of this) is currently...
View ArticleSQL ConnectionString: Encrypt & Trust Server Certificate
This is more of a “Today-I-Learned” post and not a “full-blown How-To article.” If something is completely wrong, please let me know - thanks!In our product, we store all data in an MS SQL database....
View Articledsregcmd, WAM and 'Connected to Windows'-Accounts
This is more of a “Today-I-Learned” post and not a “full-blown How-To article.” If something is completely wrong, please let me know - thanks!I was researching if it is possible to have a “real”...
View ArticleUrlEncode the Space Character
This is more of a “Today-I-Learned” post and not a “full-blown How-To article.” If something is completely wrong, please let me know - thanks!This might seem trivial, but last week I noticed that the...
View ArticleConnection Resiliency for Entity Framework Core and SqlClient
This is more of a “Today-I-Learned” post and not a “full-blown How-To article.” If something is completely wrong, please let me know - thanks!If you work with SQL Azure you might find this...
View ArticleEntity Framework Core 8.0 Breaking Changes & SQL Compatibility Level
We recently switched from .NET 6 to .NET 8 and encountered the following Entity Framework Core error:Microsoft.Data.SqlClient.SqlException: 'Incorrect syntax near the keyword 'WITH'.... The EF code...
View ArticleOpenAI API, LM Studio and Ollama
This is more of a “Today-I-Learned” post and not a “full-blown How-To article.” If something is completely wrong, please let me know - thanks!I had the opportunity to attend the .NET User Group Dresden...
View ArticleMicrosoft Defender Performance Analyzer
This is more of a “Today-I-Learned” post and not a “full-blown How-To article.” If something is completely wrong, please let me know - thanks!A customer notified us that our product was slowing down...
View ArticleWinINet, WinHTTP and the HttpClient from .NET
This is more of a “Today-I-Learned” post and not a “full-blown How-To article.” If something is completely wrong, please let me know - thanks!A customer inquiry brought the topic of “WinINet” and...
View ArticleAzure Resource Groups are not just dumb folders
GeneralAn Azure Resource Group is more or less one of the first things you need to create under your Azure subscription because most services need to be placed in an Azure Resource Group.A resource...
View ArticleHandling Multiple ASP.NET Core Policies with Manual Authorization Checks
ASP.NET Core PoliciesASP.NET Core policies provide a structured and reusable way to enforce authorization rules across your application. The built-in features are very flexible, but we had trouble with...
View ArticleUpdate an old SPFX Project
This is more of a “Today-I-Learned” post and not a “full-blown How-To article.” If something is completely wrong, please let me know - thanks!Last week I had to upgrade an old SharePoint Framework...
View Article