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