Operations | Monitoring | ITSM | DevOps | Cloud

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.

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.

Making a Time Zone Picker Control for .NET MAUI

This post is part of the MAUI UI July community series of blog posts and videos, hosted by Matt Goldman. Be sure to check out the other posts in the series! Hi, my name is Matt Johnson-Pint. I recently joined Sentry as an engineer working on the Sentry.NET SDKs. One of my first big projects was adding support for.NET MAUI, which we’ve now launched in preview. Go ahead, give it a try!

Automate deployment of ASP.NET Core apps to Heroku

Known for its cross-platform compatibility and elegant structure, ASP.NET Core is an open-source framework created by Microsoft for building modern web applications. With it, development teams can build monolithic web applications and RESTful APIs of any size and complexity. Thanks to CircleCI’s improved infrastructure and support for Windows platforms and technology, setting up an automated deployment process for an ASP.NET Core application has become even easier.

The SolarWinds Platform and .NET: New Horizons With .NET Core

Like most large software development organizations, SolarWinds uses many programming languages to build our applications, including Go, Java, C++, Python, and more. The predominant language for our Orion® Platform is C#, based on Microsoft’s.NET Framework. As you are likely aware, the directions Microsoft has taken the.NET Framework over the past few years have created exciting new opportunities.