Latest Posts On Code Maze

Using the ProblemDetails Class in ASP.NET Core Web API

Using the ProblemDetails Class in ASP.NET Core Web API

In this article, we are going to talk about the ProblemDetails class and how it plays a role in standardizing error and exception handling in our .NET Core APIs. Generic Repository Pattern is considered by some to be an antipattern in...

Blazor Material Form Creation with File Upload and Dialogs

Blazor Material Form Creation with File Upload and Dialogs

In the previous article, we have created our interactive product details page using different MudBlazor components (Panel, Chart, Rating, etc). As a continuation, in this article, we are going to use the Blazor Material Form component, to create a form that handles...

Code Maze Weekly #74

Code Maze Weekly #74

Issue #74 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# ASP.NET Core 5.0 Authentication with Azure Active Directory [dotnetthoughts.net] Implementing authentication to an ASP.NET Core MVC project is something many of us need....

Code Maze Weekly #73

Code Maze Weekly #73

Issue #73 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Viewing overwritten configuration values in ASP.NET Core [andrewlock.net] Visualizing and seeing what our configuration values are organized can come in handy. You can...

Code Maze Weekly #72

Code Maze Weekly #72

Issue #72 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Modeling Most SQL Relationships In Entity Framework Core [khalidabuhakmeh.com] Modeling SQL Relationships in EF Core code first approach is an important skill to have....

Creating Blazor Material Navigation Menu

Creating Blazor Material Navigation Menu

In the previous article, we've integrated MudBlazor into our Blazor WebAssembly application and started working with some material components and theme modification. But our navigation menu doesn't look great. Well, to be honest, we didn't do anything with it. That...

Code Maze Weekly #71

Code Maze Weekly #71

Issue #71 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Static methods considered evil? [enterprisecraftsmanship.com] Static methods. We love them and hate them at the same time. But are they inherently bad or just considered...

Code Maze Weekly #70

Code Maze Weekly #70

Issue #70 of the Code Maze weekly. Check out the articles we've selected for you this week and enjoy the read. .NET and C# Getting Started with the Roslyn APIs: Writing Code with Code [www.stevejgordon.co.uk] Roslyn is one of the less explored and niche areas of .NET....

Creating Resilient Microservices in .NET with Polly

Creating Resilient Microservices in .NET with Polly

In this article, we are going to look at one of the key challenges with building microservices: resilience. We will look at why the problem exists, and how the .NET library Polly can help us provide a solution to this problem, enabling resilient microservices. Jon Hilton talks about an overlooked aspect of ASP.NET Core Razor...

Using HttpClientFactory in ASP.NET Core Applications

Using HttpClientFactory in ASP.NET Core Applications

Up until now, we've been using HttpClient directly in our services. In every service, we've created an HttpClient instance and all the required configurations. That led to repeating code in all of our service classes. [sc name="patreon-source-code"...

Code Maze Weekly #66

Code Maze Weekly #66

There are a lot of excellent articles to read this week. So much so, we're unable to pick our favorite ones easily. You won't make a mistake by choosing any of the ones listed below, so make yourself comfy and read on. .NET and C# ASP.NET Core Dependency Injection:...