.NET Updates Dezember 2021

.NET Updates Dezember 2021

Heute hat Microsoft die .NET Updates von Dezember 2021 auf ihrem Blogpost veröffentlicht. Fix CVE-2021-43877: ASP.NET Core Information Disclosure Vu

ThrowAwayLogger: easy log mocking in .NET

ThrowAwayLogger: easy log mocking in .NET

In the past we always had often problems to manage logging mechanisms in unit tests, so I wrote ThrowAwayLogger that solves the problem. // field pri

What's Bicep on Azure and why you should use it?

What's Bicep on Azure and why you should use it?

To generate resources automatically in Azure, you could either do Azure Resource Manager templates, which no one really wanted to do because they are

Check for .NET NuGet Updates via dotnet outdated cli tool

Check for .NET NuGet Updates via dotnet outdated cli tool

.NET now has a very powerful CLI that can also handle NuGet packages very well. But one important feature is missing: check if there are package upda

DateTime vs DateTimeOffset - der richtige Umgang mit Zeiten in .NET

DateTime vs DateTimeOffset - der richtige Umgang mit Zeiten in .NET

Dieser Artikel behandelt den korrekten Umgang sowie Best Practises und Empfehlungen von Datums- und Zeitinformationen, Zeitzonen und Betriebssystem-E

.NET Updates November 2021

.NET Updates November 2021

Gestern hat Microsoft die .NET Updates von November 2021 auf ihrem Blogpost veröffentlicht. Dieses Update enthält nur die aktualisierten Laufzeitumge

Custom GitHub Pull Request Templates

Custom GitHub Pull Request Templates

For some time now, GitHub has offered the possibility to create custom pr templates, so that a kind of template is automatically embedded in the edit

Better GitHub Readmes with Readme Generator

Better GitHub Readmes with Readme Generator

Every time a new repository is created on GitHub there is one problem: the structure and appearance of readme.md. But thanks to Katherine Peterson (s

.NET Updates Oktober 2021

.NET Updates Oktober 2021

Heute hat Microsoft die .NET Updates von Oktober 2021 auf ihrem Blogpost veröffentlicht. Fix CVE-2021-41355 | .NET Core Information Disclosure Vulne

Copy text into the Windows Clipboard with .NET

Copy text into the Windows Clipboard with .NET

To copy text to the clipboard with .NET Framework, usually you have used .NET wrapper of Windows Forms: System.Windows.Forms.Clipboard.SetText Howev

Bad Gateway error on App Service deployment

Bad Gateway error on App Service deployment

Our deployment ran smooth for weeks. But suddenly and without warning and only for one app, the "Bad Gateway" error appeared when deploying

Class vs. Struct performance in .NET

Class vs. Struct performance in .NET

In addition to classes that represent reference types, there are also structs that represent value types. But how do the two different structures beh

.NET Updates September 2021

.NET Updates September 2021

Heute hat Microsoft die .NET Updates von September 2021 auf ihrem Blogpost veröffentlicht. OS Lifecycle update: Aktualisierung der Docker Container

AssemblyMetadata - Build Time with Source Code Generators

AssemblyMetadata - Build Time with Source Code Generators

.NET has for some time source code generators: a mechanism with which it is possible to generate source code at compile time, as has been known, for

.NET Updates August 2021

.NET Updates August 2021

Heute hat Microsoft die .NET Updates von August 2021 auf ihrem Blogpost veröffentlicht. Fix CVE-2021-34485: .NET Core Information Disclosure Vulnera

.NET Updates Juli 2021

.NET Updates Juli 2021

Heute hat Microsoft die .NET Updates von Juli 2021 auf ihrem Blogpost veröffentlicht. Windows Arm64 .NET July 2021 Updates – 5.0.8 and 3.1.17

Parse HTTP User Agents with ASP.NET Core

Parse HTTP User Agents with ASP.NET Core

In my last blog post I shared why we wrote our own user agent parser (mycsharp/HttpUserAgentParser) in .NET (reason: performance). This is now about

.NET Updates Juni 2021

.NET Updates Juni 2021

Gestern hat Microsoft die .NET Updates von Juni 2021 auf ihrem Blogpost veröffentlicht. CVE-2021-31957: ASP.NET Denial of Service Vulnerability Fix

Fast Parsing HTTP User Agents with .NET

Fast Parsing HTTP User Agents with .NET

While analyzing nearly 120 million requests, we noticed that one thing was dragging down our performance: parsing user agents for detecting bots and

Plugin Mechanism with Parts in ASP.NET Core

Plugin Mechanism with Parts in ASP.NET Core

A plugin-like mechanism is already built into ASP.NET Core, and is called Parts or Application Parts. In principle, it is a discovery mechanism to be

.NET Updates Mai 2021

.NET Updates Mai 2021

Heute hat Microsoft die .NET Updates von Mai 2021 auf ihrem Blogpost veröffentlicht. OS Lifecycle update Behavioral change in Asp.Net 2.1 Installers

.NET Updates April 2021

.NET Updates April 2021

Heute hat Microsoft die .NET Updates von April 2021 auf ihrem Blogpost veröffentlicht. Diesmal wurden vor allem die Abhängigkeiten wie Docker Images

OpenTelemetry .NET 1.0 veröffentlicht!

OpenTelemetry .NET 1.0 veröffentlicht!

Gestern hat Microsoft die erste stabile Version 1.0 von OpenTelemetry .NET veröffentlicht. Was ist OpenTelemtry? OpenTelemetry ist eine Initiative de

Die Roadmap für Azure Functions mit .NET 5 und .NET 6

Die Roadmap für Azure Functions mit .NET 5 und .NET 6

Gestern wurde von Anthony Chu die Roadmap für Azure Functions mit .NET 5 und .NET 6 vorgestellt. Die wichtigsten Punkte will ich kurz zusammen fassen

.NET 6 Preview released

.NET 6 Preview released

Microsoft hat gestern die erste Preview für .NET 6 veröffentlicht, das im November 2021 als stabile Version kommen wird. Anbei die aus meinen Augen w

.NET Updates März 2021

.NET Updates März 2021

Gestern hat Microsoft die .NET Updates von März 2021 auf ihrem Blogpost veröffentlicht. CVE Security Update Neue Visual Studio Version Lifecycle Upd

.NET Updates Februar 2021

.NET Updates Februar 2021

Gestern hat Microsoft die .NET Updates von Februar 2021 auf ihrem Blogpost veröffentlicht. CVE Security Update Neue Visual Studio Version Lifecycle

Loggen eigener Werte mit Azure Application Insights

Loggen eigener Werte mit Azure Application Insights

Um eigene Werte in Application Insights loggen zu können, muss ein eigener ITelemetryInitializer erzeugt werden. Dieser dient nun dazu, dass der ents

Loggen des User Agent mit Azure Application Insights

Loggen des User Agent mit Azure Application Insights

Standardmäßig wird der User-Agent des HTTP-Requests nicht von der Application Insights Middleware des ASP.NET SDKs gespeichert; vermutlich aufgrund d

Azure Active Directory nun auf .NET Core!

Azure Active Directory nun auf .NET Core!

Azure Active Directory gehört zu den größten Anwendungen im Azure Ökosystem und vermutlich zu einer der größten Anwendungen der Welt. Microsoft hat n

.NET Updates Januar 2021

.NET Updates Januar 2021

Gestern hat Microsoft die .NET Updates von Januar 2021 auf ihrem Blogpost veröffentlicht. CVE Security Update Neue Visual Studio Version .NET Core 2

Loggen des Referers mit Azure Application Insights

Loggen des Referers mit Azure Application Insights

Standardmäßig wird der Referer, also die Quelle des Aurufs des HTTP-Requests, nicht von der Application Insights Middleware des ASP.NET SDKs gespeich