Using a Distributed Redis Cache in .NET Aspire
When you work with distributed applications, you will almost certainly encounter the need to use distributed caching and locking at some point. In this article, you will learn how to apply both of these mechanisms in .NET Aspire. The content of this article is taken from my book, .NET Aspire Made Continue Reading
Integrating .NET Aspire With Azure Storage
Today, we will talk about integrating our Aspire apps with Azure Storage. We will start by looking at Azure Table Storage and then move on to Blob Storage. A sample of a complete Azure Table Storage application can be found via the following link: https://github.com/fiodarsazanavets/dotnet-aspire-examples/tree/main/AspireStarterProjectWithTableStorage/AspireApp If you are new to Continue Reading
SQL Server Data Purger Privacy Policy
Effective Date: 25th of October, 2024 At Scientific Programmer Ltd, we prioritize your privacy. This Privacy Policy outlines our practices concerning the collection, use, and protection of your information. 1. Information We Collect SQL Server Data Purger does not collect, store, or transmit any personal or usage data from users. Continue Reading
Hosting MongoDB in .NET Aspire
Today, you will learn how to integrate your distributed .NET Aspire application with MongoDB by using Aspire Components. We will walk through an example application that populates a MongoDB instance with some data and retrieves the data inside one of the hosted services. But before we talk about it, I’ll need Continue Reading
.NET Aspire Made Easy
.NET Aspire is a technology that completely revolutionized the .NET ecosystem. Nobody expected it, but it took the software engineering community by storm when it was released. This technology makes developing, building, and deploying orchestrated distributed applications incredibly easy. Compared to other distributed application development frameworks, it’s very straightforward to Continue Reading
Using SQL Database Components in .NET Aspire
We previously looked at Aspire components, special libraries used by .NET Aspire to wrap commonly used applications and infrastructure components. These libraries consist of containers, but it’s simpler to use them instead of using containers directly. After all, Aspie components were specifically designed to work in Aspire. Today, we will look Continue Reading
Using Single Sign-On for Securing Applications in ASP.NET Core
Securing web applications is extremely important, as you do not want unauthorized people to gain access to your data. The most convenient way of securing an application is to use single sign-on (SSO) because it allows users to authenticate once and gain access to all apps within the same system. Continue Reading
Hosting a Keycloak Container in .NET Aspire
In the previous article, we discussed enabling single sign-on authentication in .NET Aspire. Today, you will learn how to do it using a Keycloak container. The material presented in this article serves two purposes: The sample solution we will be talking about is available here. In order to be able to follow Continue Reading
A Guide To Securing .NET Aspire Apps
If you publish a web application and make it publicly accessible, you will want to make sure only authorized users can access it, unless, of course, your application is just a trivial website. Applications orchestrated by .NET Aspire are no exception. Because .NET Aspire is a platform for building complex Continue Reading
Integration-testing .NET Aspire Apps
Having automated test coverage for our software apps is very important. Although manual tests sometimes have their place, automated tests allow us to verify the validity of our application logic much more efficiently than any manual tests would. Automated tests also allow us to check if a change in one Continue Reading
Why .NET Aspire Components Are Powerful
As well as being able to orchestrate .NET projects, Aspire can also orchestrate the so-called Aspire components. These components are special libraries that add popular packages to our distributed application, which include the following: Today, we will talk about Aspire components, why they are useful, and how to add them to Continue Reading
How .NET Aspire Does Health Checks And Why It Matters
When we look at the Resources tab of the .NET Aspire dashboard, we find the State column in the table displayed there. This column shows the current status of each service managed by the .NET Aspire. Ideally, we want each of these services to be shown as Running with the green tick next to it, as Continue Reading
Monitoring Apps Inside .NET Aspire
Today, we will talk about the process of monitoring applications orchestrated by .NET Aspire. But before we do it, let’s remind ourselves why monitoring is something we absolutely must have in our applications. Monitoring applications is crucial for several reasons: Let’s now look at the different types of monitoring available Continue Reading
The Anatomy of .NET Aspire Application
.NET Aspire is an orchestration technology introduced in November 2022 alongside the .NET 8 release. And since it was released, it took the .NET community by storm. This technology allows developers to easily build and debug distributed applications locally, which was traditionally hard to do. With .NET Aspire, you don’t Continue Reading
TDD: How to Do it Properly and Why It’s Easy
A short practical guide you can apply right away If you are a software developer, you have probably heard of test-driven development (TDD). Some people even insist that you can’t write good quality software without it! We will not argue about whether or not TDD is essential. What this short Continue Reading
Building an audio player app with the .NET Uno Platform
Previously, in a tutorial presented as a series of articles, we looked at how to use .NET to build an audio player that can run on Windows, Mac, and Linux. This tutorial explains how the open-source NetCoreAudio NuGet package was built. Today, we will go through an example of how Continue Reading
The most important skill for 21st century
We are living in the information age. Many traditional industries and jobs associated with them are on the way out. Internet and smart technologies have radically changed how we live and work. Although technology has improved our lives overall, it also made certain things much more challenging. One of the Continue Reading
The Easiest Way to Learn Design Patterns in C#
A deep understanding of design patterns and the ability to apply them to relevant design challenges is key to writing good code. They ensure the code is easy to understand and maintain, can be extended in the face of evolving requirements, and can be reused as needed. This course will Continue Reading