Solution: Unable to find .deps.json when running .NET 5 tests in Azure DevOps

Solution: Unable to find .deps.json when running .NET 5 tests in Azure DevOps

I recently upgraded some projects to .NET 5 from the previous .NET Core 3.x versions I had running. My projects utilize xUnit, and I run them from Azure DevOps. However, when I upgraded my projects, and modified the build definition accordingly with the latest NuGet installer, and the latest .NET 5 SDK, I got a new exception: ##[error]Unable to find D:\a\1\s\src\projectname\bin\Debug\net5.0\ref\projectname.deps.json. Make sure test project has a nuget reference of package "Microsoft.NET.Test.Sdk". Looking closely on the path, it mentions a…

Read More

Getting started with Azure Bicep

Getting started with Azure Bicep

Authoring Infrastructure as Code templates, like ARM, just got easier. With Bicep, we can more easily manage and build our templates with a typed and IntelliSense-powered approach, and easily convert them to ARM templates when we need to deploy them. Here's a first look.

Read More

Querying data from multiple Application Insights instances

Querying data from multiple Application Insights instances

Getting insights into the resources we operate is a crucial part of understanding where we need to improve and what works well. In reality, the insights and telemetry we gather exist in various regions and datacenters. Data sits in multiple subscriptions and different resource groups - even the same application can have numerous Application Insights instances, depending on what type of data and how much we collect. When I want to aggregate and query the logs from various Application Insights instances, I can use KQL in the log query. For example, a distributed set of applications report telemetry in different…

Read More

Upgrade Application Insights to Workspace-based Resource Mode from Classic

Upgrade Application Insights to Workspace-based Resource Mode from Classic

Recently, Microsoft introduced a new option when creating Application Insight instances. A selection to help us choose between the Classic approach, or the modern Workspace-based mode. In the Azure Portal, it can look like this when we create a new Application Insights today: Select the Resource Mode of Application insights when you create a new Application Insights.If you have Application Insights instances that were created some time ago, you may want to upgrade to Workspace-based mode at some point. Note: Classic Application Insights will be retired on in February 2024, which indicates that using Workspace-based Application Insights is the…

Read More

Azure App Service tips: Increase reliability with the Auto-Healing features

Azure App Service tips: Increase reliability with the Auto-Healing features

Hey friends. Here's a tip from the field. Make use of the auto-healing capabilities in your Azure App Services to increase the reliability of your production workloads. What is auto-heal?The auto-heal capabilities are coming out of the Azure App Service Diagnostics, which I previously wrote about. If you haven't already, please read the article linked above to learn how to discover the Diagnostics area of your App Services. When you're there, you can head on over to the proactive tools. Here you will find the "Auto-Heal" capability. Azure App Service auto-heal capabilities.In this tool, you have a few…

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.