Latest Posts On Code Maze

Using Access Token with Blazor WebAssembly HttpClient

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

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

Code Maze Weekly #46

Code Maze Weekly #46

This week we've had plenty of articles to go through, and we loved it. As always there are a variety of categories and topics to choose from, so make yourself comfy, prepare a favorite brew, and just click on your favorite topic to read. .NET and C# Adding health...

How to Publish Angular with ASP.NET Core

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

Code Maze Weekly #45

Code Maze Weekly #45

The weekend is coming and it’s time to relax and read some good articles and watch some awesome videos. Let’s see what’s in store for us this week. .NET and C# ILogger and Null Object Pattern [christianfindlay.com] Christian Findlay walks us through a different...

Securing Requests from Angular to Web API With Access Tokens

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

Code Maze Weekly #44

Code Maze Weekly #44

Every week we're surprised by the quality and variety of different articles and topics in .NET. This just goes to show how versatile .NET has become and just gives us more ideas on how to create even more side projects that will never get finished. Just kidding, all...

Code Maze Weekly #43

Code Maze Weekly #43

This week we've seen many interesting articles again, but we also had some great news too: .NET 5 Release Candidate one is out and available for testing! While we're waiting for the full .NET 5 to be finalized, let's take it slow and read some interesting articles by...

ASP.NET Core Configuration – Azure Key Vault

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

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

Code Maze Weekly #42

Code Maze Weekly #42

Another fantastic week in .NET, there are plenty of phenomenal articles to choose from and read something new and exciting. Kubernetes, versioning, APIs, databases, XAML, Xamarin, and a lot of life lessons all packed in a single news feed. So sit down (lie down), pick...

Creating Custom Configuration Provider in ASP.NET Core

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

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