Latest Posts On Code Maze

Using Dapper with ASP.NET Core Web API

Using Dapper with ASP.NET Core Web API

In this article, we are going to learn how to use Dapper in the ASP.NET Core Web API project. We are going to talk about Dapper overall, how to use different queries and executions, how to execute stored procedures, and how to create multiple queries inside a...

Code Maze Weekly #80

Code Maze Weekly #80

Issue #80 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Customizing Serilog text output [nblumhardt.com] Everything you need to know about formatting plain text with Serilog.Expressions, by Nicholas Blumhardt. Minimal APIs in...

Hangfire with ASP.NET Core

Hangfire with ASP.NET Core

Almost all applications need to do some sort of background work. Whether it’s a long and tedious task or a repetitive job that we need to do every other day, in this article we are going to learn how we can easily implement it. For this, we are going to be using...

Code Maze Weekly #79

Code Maze Weekly #79

Issue #79 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Benchmarking 4 reflection methods for calling a constructor in .NET [andrewlock.net] Four different reflection methods, four different results. Which reflection method...

Code Maze Weekly #78

Code Maze Weekly #78

Issue #78 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Secure an Angular SPA and an ASP.NET Core API using Auth0 [damienbod.com] A comprehensive article on securing angular SPA + ASP.NET Core with Auth0 by Damien Bowden. Must...

Structured Logging in ASP.NET Core with Serilog

Structured Logging in ASP.NET Core with Serilog

In this article, we are going to look at a core need of every application out there: logging. We will look at how the excellent library Serilog helps us configure structured logging for application in a flexible and modern way.

Creating Business Workflows with Azure Logic Apps

Creating Business Workflows with Azure Logic Apps

In this article, we’re going to learn how to use the Azure Logic Apps cloud service in detail. We’ll start by looking at what an Azure Logic App is. Then, we’ll discuss some of its advantages. After that, we’ll learn how to create an Azure Logic App from the portal...

Code Maze Weekly #77

Code Maze Weekly #77

Issue #77 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Global Exception Handling in ASP.NET Core – Ultimate Guide [codewithmukesh.com] Handling exceptions in a centralized manner is a good addition to many ASP.NET Core...

Azure Cosmos DB with ASP.NET Core Web API

Azure Cosmos DB with ASP.NET Core Web API

In this article, we are going to learn Azure Cosmos DB in detail.  We’ll start by learning what an Azure Cosmos DB is and the various APIs that it supports. Then we’ll create a Cosmos DB from the portal. After that, we’ll learn how to create an ASP.NET Core...

Code Maze Weekly #76

Code Maze Weekly #76

Issue #76 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Adding CAPTCHA on form posts with ASP.NET Core [blog.elmah.io] The necessary evil - CAPTCHA challenges. We don't like to implement them, and we don't like to use them,...

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. To download the source code for this article, you can visit our ProblemDetails Class...

Code Maze Weekly #75

Code Maze Weekly #75

Issue #75 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Specification Pattern in ASP.NET Core – Enhancing Generic Repository Pattern [codewithmukesh.com] Generic Repository Pattern is considered by some to be an antipattern in...

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