Introducing the LogAnalytics.Client NuGet for .NET Core

Introducing the LogAnalytics.Client NuGet for .NET Core

Directly related to Log Analytics and sending entities from C#, I have previously talked about Building Custom Data Collectors for Azure Log Analytics and Log custom application security events in Azure Log Analytics which are ingested and used in Azure Sentinel. I created the LogAnalytics.Client project on GitHub, and recently published a NuGet for anyone to consume. Simply put: It's an easy way to send logs from your applications to Azure Log Analytics. It abstracts away the boring bits, leaving us with a client that accepts any entity (object) with valid properties. A contributing reason why I initially built…

Read More

Azure App Service tips: Enable the Health-Check capabilities

Azure App Service tips: Enable the Health-Check capabilities

Here's another tip about ensuring a healthy and reliable experience in your Azure App Services. An easy way to increase availability of your apps is to make use of the Health checks. ScenarioIn one of my apps, I have 4 instances by default - and then they scale in and out as needed when the workload requires it. Sometimes, an app service instance becomes faulty. This can happen because of many different reasons, but that's a topic for another post. Let's assume that you have seen intermittent faults happening to your app services - something which doesn't quite resonates with…

Read More

Purging container images from Azure Container Registry

Purging container images from Azure Container Registry

Keeping container registries clean and neat is not always an easy task. We have fairly agile release processes, and sometimes we release many images, several times per day across dev- and production environments. Microsoft recently introduced a neat way to automatically purge images based on filters, directly from the Azure CLI. Use casesI saw an immense growth in the Azure Container Registry size. Tags, experimental features, legacy releases, and more - everything we ever pushed to ACR is just sitting there. Most of it is doing nothing. Seeing this, I created a set of utility scripts that could help me…

Read More

Favorite Visual Studio Code Extensions for Azure

Favorite Visual Studio Code Extensions for Azure

I spend much time with Microsoft Azure. Architecture and Design, Solution Architecture, Development, Security, Operations, and more. The extensions below can serve both Developers, Administrators, and anyone in between. In this post, we're looking at some of my favorite Visual Studio Code extensions for working with Azure in various ways. Perhaps you can find some new favorites yourself. Share your favorites in the comments below! Azure AccountThis extension lets you sign in to your subscription and manage aspects of it within Visual Studio Code. This extension is beneficial and productive when working with development subscriptions. I don't use it for…

Read More

Discover issues with Azure Functions and App Service using Application Insights

Discover issues with Azure Functions and App Service using Application Insights

In recent years, I have built and operated distributed cloud systems. With these systems comes various challenges. A key thing I've learned ┬áis to keep a close eye on metrics and insights, to learn how our applications are behaving at scale. This post will be about how to make use of Azure Application Insights to learn about performance and execution issues in Azure Functions, and ultimately in Azure App Services. We will take a look at these things: Use cases. Some favorites from my professional experiences.Favorite KQL (Kusto Query Language) queries. Querying the telemetry and logs for insightful data.…

Read More

GitHub Actions for Security Code Analysis

GitHub Actions for Security Code Analysis

Performing code analysis and security scans on your code is imperative to software craftsmanship. Over the years, I have had plenty of options for performing security scans, both with third-party vendors and open-source tools. I want to highlight some of my favorite GitHub Actions to run code analysis with a Security-focus in this post. Before diving into some of my favorites on GitHub, here are some recent posts related to code analysis and security that I published. Perhaps they can be insightful, too: Use the Microsoft Application Inspector to analyze your source codeWebsite security scanning with GitHub Actions and OWASP…

Read More

Close You've successfully subscribed to Tobias Zimmergren's thoughts on tech.
Close Great! You've successfully signed up.
Close Welcome back! You've successfully signed in.
Close Success! Your account is fully activated, you now have access to all content.