Screenshot of build failures and one successful run

Obscure error during switching of Azure SWA Functions from in-process to isolated mode

A couple of years ago I crafted an internal-use utility for one of my clients that uses Azure Static Web Apps with Blazor and some Functions. That worked well, but the client asked to extend functionality, so I decided to refresh the code along the way. Back in the day, I wrote the utility using .NET 6 and in-process functions, since the out-of-process mode was not yet available. The current .NET 8 shifted focus to the out-of-process mode, which is much better and less tied to Azure SDK code. However, according to the Azure Functions docs, they still supports in-process mode, so I anticipated an easy migration. Well, I totally misjudged that! ...

August 2, 2024 · 6 min · Lev Yastrebov
Notification about ApplicationInsights SDK deprecation on Microsoft site

Migration from .NET ApplicationInsights SDK to Azure OpenTelemetry Exporter

The AppInsights SDK is quite simple to integrate with and provides rather rich functionality and extensibility, but it is now considered a “legacy” - Azure team announced focus switch to support OpenTelemetry: So, we should switch to using Azure.Monitor.OpenTelemetry.Exporter. That’s not a bad thing by itself, but there are not many guides on the migration process, especially for console applications like mine, and the Azure Exporter doesn’t support a lot of useful things I got used to. Also, it’s quite a shift in how things work and how they are named, so I decided to list the problems I faced and my solutions to them. ...

July 19, 2024 · 8 min · Lev Yastrebov