Operations | Monitoring | ITSM | DevOps | Cloud

.NET

Logging and global error handling in .NET 7 WPF applications

While developing elmah.io support for WPF, I had the chance to look into WPF for the first time in many years. I couldn't stop myself from digging down into all sorts of details about how logging has evolved in WPF since I last wrote a WPF app. In this post, I'll share some of the findings I made in this rediscovering journey.

How to install the Site24x7 APM Insight .NET Core agent

This video will walk you through the process of installing the Site24x7 APM Insight.NET Core agent. With the APM Insight.NET Core agent, you can monitor your web applications built in.NET Core 2.0 and above. You can track HTTP requests, SQL queries, errors, exceptions, web API calls, and remote calls in your ASP.NET Core applications hosted on IIS or Kestrel web servers. This installation method works in both Linux and Windows environments.

Announcing general availability of Elastic APM .NET agent profiler auto-instrumentation

A few months back, we introduced the beta release of Elastic APM.NET agent profiler auto-instrumentation. Fast forward to today, we're excited to announce the general availability (GA) of this powerful capability that allows the.NET APM agent to automatically instrument.NET Framework, .NET Core, and.NET applications without requiring code changes or recompilation.

Optimize your .NET application performance with the Datadog Continuous Profiler

.NET is a framework built by Microsoft that simplifies the complexities of developing cross-platform applications. Using.NET, developers can create powerful applications with rapid response times and more. We’re excited to announce that the Datadog Continuous Profiler now provides general support for.NET applications, including.NET Framework, .NET Core, and.NET 5+.

How to download files from ASP.NET Core MVC

I have been implementing a couple of features lately that allow users to download files. During this process, I have visited various namespaces and possibilities with ASP.NET Core. In an attempt not to forget what I have learned and in the hope that this knowledge can be used by others, here is a blog post about downloading files from ASP.NET Core 😊 This post will use an ASP.NET Core MVC application as an example since that is what I am using.

How to get base URL in ASP.NET Core

You typically don't and shouldn't need to know where a web app is deployed. At least not from within the code of the web app itself. I keep seeing questions related to this, though. There are a range of reasons why this can still be relevant like if you want to generate and output an absolute URL in an MVC controller or Razor page. Here's a blog post about how to get the base URL in ASP.NET Core. Let's rewind a bit before we start looking into the code. All websites are deployed somewhere.

Deploying a dockerized .NET Core app to an Azure container instance

In this tutorial, you will learn how to build a custom ASP.NET Core container with Docker and host the container image on Azure Container Registry, a platform owned by Microsoft that allows you to build, store, and manage container images in a private registry. At the end of this tutorial, you will be able to apply the knowledge gained here to link your container image on the Microsoft Azure registry with a web app service and launch your application.

Monitoring Unit Tests with OpenTelemetry in .NET

In this post, we’ll look at how you can use OpenTelemetry to monitor your unit tests and send that data to Honeycomb to visualize. It’s important to note that you don’t need to adopt Honeycomb, or even OpenTelemetry, in your production application to get the benefit of tracing. This example uses OpenTelemetry purely in the test project and provides great insights into our customer’s code. We’re going to use xUnit as the runner and framework for our tests.

Microsoft and Canonical announce native .NET availability in Ubuntu 22.04 hosts and containers

Canonical is proud to welcome the.NET development platform, one of Microsoft’s earliest contributions to open source projects, as a native experience on Ubuntu hosts and container images, starting in Ubuntu 22.04 LTS. .NET developers will be able to start their Linux journey with Ubuntu, benefiting from timely security patches and new releases. .NET 6 users and developers can now install the.NET 6 packages on Ubuntu with a simple apt install dotnet6 command.