Operations | Monitoring | ITSM | DevOps | Cloud

.NET

elastic

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.

datadog

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+.

elmahio

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.

elmahio

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.

circleci

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.

honeycomb

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.

canonical

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.

elmahio

Three NuGet packages to improve exceptions in .NET/C#

We love exceptions. Not in the oh-no-my-website-crashed kind of way, but all of the possibilities provided by exceptions and a good exception handling strategy. In this post, I'll introduce you to three different NuGet packages that will help you when dealing with exceptions in C#. .NET comes with a set of exceptions as part of the C# language. You've probably tried creating your own exceptions too by extending System.ApplicationException or similar.