Blazor WebAssembly Role-Based Security with IdentityServer4
In this article, we are going to learn more about the Blazor WebAssembly Role-Based Security and how IdentityServer4 fits into the whole story. Also, we are going to include our API application in this process and protect our endpoints with the required role. [sc...
Continuous Deployment from GitHub to Azure App Service
We learned about Azure App Service and how to deploy our ASP.NET Core application into it from Visual Studio in the Publishing an ASP.NET Core App to Azure App Service Using Visual Studio article. In this article, we are going to learn how to configure Continuous...
Using Access Token with Blazor WebAssembly HttpClient
In this article, we are going to learn how to use generated Access Token with Blazor WebAssembly to gain access to the protected resources on the Web API's side. Until now, we have integrated the Blazor WebAssembly app with IdentityServer4 and enabled login and logout...
How to Secure Blazor WebAssembly with IdentityServer4
Blazor WebAssembly runs on the client and thus, it can't be trusted. This means that just like with any JavaScript application, the authorization part can be bypassed. So, this means that we have to implement our authorization actions outside of the Blazor WebAssembly...
Refresh Token with Blazor WebAssembly and ASP.NET Core Web API
In this article, we are going to show you how to implement a refresh token with Blazor WebAssembly and ASP.NET Core Web API. We are going to change our solution from the previous articles, on both API and Blazor sides, to support refresh token actions. With...
How to Publish Angular with ASP.NET Core
In this article, we are going to cover how to develop and publish Angular with an ASP.NET Core backend. Single-Page Application (SPA) frameworks like Angular can be configured with ASP.NET Core to facilitate the development and publishing process. This is particularly...
Implementing OAuth2 Refresh Token with Angular and IdentityServer4
In this article, we are going to learn how to implement the OAuth2 refresh token actions in our Angular application. This action will enable us to silently refresh the access token when it is close to expiry. Also, it will provide a better user experience because the...
Publishing an ASP.NET Core App to Azure App Service Using Visual Studio
Microsoft Azure provides many services for hosting web applications, and Azure App Service is a major type. It is an HTTP-based service that we can use to host web applications, REST APIs, and mobile apps. Additionally, It supports a wide range of programming...
Role-Based Access Control and Claims with Angular and IdentityServer4
As we did with the MVC client application in the fourth part of this series, we are going to show you how to use role-based access control with our Angular application to protect routes and restrict access to unauthorized users. As we already know, from the mentioned...
Securing Requests from Angular to Web API With Access Tokens
Up until now, we have learned how to integrate the Angular application with IdentityServer4 and how to retrieve different tokens after successful login action. From these previous articles, we know that the id token is important for the client application because it...
Creating Real-Time Charts with Blazor WebAssembly and SignalR
In this article, we are going to learn how to use Blazor WebAssembly and SignalR with ASP.NET Core Web API application to create real-time charts. Since we already have an article on a similar topic - How to Use Signalr with .NET Core and Angular - we won't dive deep...
Angular Authentication Actions with IdentityServer4
In the previous article, we have learned how to integrate an Angular application with IdentityServer4 and how to allow communication between these two projects. The configuration is prepared on both sides and as soon as we click the Login button, we get directed to...
Angular OAuth2 OIDC Configuration with IdentityServer4
In this article, we are going to continue our IdentityServer4 series by learning how to implement Angular OAuth2 OIDC security with IdentityServer4 using the Authorization Code flow. This article is heavily dependent on the previous articles from the series, so if you...
CQRS and MediatR in ASP.NET Core
ASP.NET Core Configuration – Azure Key Vault
In this article, we're going to talk about how to protect our sensitive configuration data in the production environment with Azure Key Vault. Previously we've talked about the Secret Manager and environment variables which we can use to protect our data while in...
Securing Sensitive Data Locally in ASP.NET Core
We've come to the most important part of this series - securing sensitive data when working with the configuration in ASP.NET Core. As software developers, we are responsible for the security of the applications we create, and it should be on top of our priorities...
Creating Custom Configuration Provider in ASP.NET Core
In this article, we are going to create a custom configuration provider that reads our configuration from the database. We've seen how the default configuration providers work, and now we're going to implement our own custom one. For the custom configuration provider,...
ASP.NET Core Configuration – Configuration Providers
In this article, we're going to talk about different configuration providers in ASP.NET Core. We've got used to using JSON as a default format for our configuration and it's the most commonly used format for configuring ASP.NET Core applications. But there's much more...
ASP.NET Core Configuration – Options Validation
In this article, we're going to learn the importance of options validation and a few ways to implement it in our ASP.NET Core applications. With advanced mechanisms like configuration reloading, we need to think about options validation carefully as we don't want to...
ASP.NET Core Configuration – Options Pattern
In this article, we're going to cover another way of reading configuration data in .NET Core - the options pattern. The options pattern helps us group related configuration settings, and it provides strongly typed access to them. We are going to learn how the options...
ASP.NET Core Configuration – Basic Concepts
In this introductory article, we are going to learn how ASP.NET Core configuration works, the basic configuration concepts, and a few different ways we can use to configure our application. Even by default, the configuration mechanism in .NET is pretty powerful, but...




















