Latest Posts On Code Maze

Code Maze Weekly #94

Code Maze Weekly #94

Issue #94 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# File Scoped Namespaces In C# 10 [dotnetcoretutorials.com] Another one of the recent improvements to C#. File scoped namespaces are a feature that can make the code just a...

Azure Table Storage with ASP.NET Core

Azure Table Storage with ASP.NET Core

In this article, we are going to learn Azure Table Storage in depth. We’ll start by discussing the basic Azure Table Storage concepts and then see how to create an Azure Storage Account from the portal. After that, we’ll learn how to create an ASP.NET Core Web API for...

Code Maze Weekly #93

Code Maze Weekly #93

Issue #93 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# WebSocket per-message compression in ASP.NET Core 6 [www.tpeczek.com] WebSocket per-message compression in ASP.NET Core 6 is a new feature and Tomasz Pęczek gives us a...

Code Maze Weekly #92

Code Maze Weekly #92

Issue #92 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# How To Map A Route in an ASP.NET Core MVC application [khalidabuhakmeh.com] Beginners guide to ASP.NET Core MVC routing by Khalid Abuhakmeh. If you're new to web...

Writing Logs to SQL Server Using NLog

Writing Logs to SQL Server Using NLog

We have previously learned how to log messages to a File using NLog. In this article, we are going to learn how to use Nlog to log messages into SQL Server. We are going to see how we can configure an ASP.NET Core Web API project to support NLog and how we can...

Code Maze Weekly #91

Code Maze Weekly #91

Issue #91 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Implicit Using Statements In .NET 6 [dotnetcoretutorials.com] Implicit using statements is a new feature that is packed in .NET 6. Check this article by Wade Gausden to...

Azure Queue Storage with ASP.NET Core

Azure Queue Storage with ASP.NET Core

In this article, we are going to learn Azure Queue Storage in depth. We’ll start with some introductory stuff about Azure Storage Queue and look at how to create one from the Azure Portal. After that, we’ll see how to build and deploy applications that can send and...

Dapper Migrations with FluentMigrator and ASP.NET Core

Dapper Migrations with FluentMigrator and ASP.NET Core

In this article, we are going to show you how to use the FluentMigrator library to create data migrations with Dapper and ASP.NET Core. In our previous article, where we learned a lot about Dapper and ASP.NET Core, we had to create our database and seed our data...

Code Maze Weekly #90

Code Maze Weekly #90

Issue #90 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# How to Create a new Solution and Projects using dotnet CLI [ardalis.com] A simple script to create a project and add it to the solution via dotnet CLI by Steve Smith. If...

Azure BLOB Storage with ASP.NET Core and Angular

Azure BLOB Storage with ASP.NET Core and Angular

In this article, we are going to take a look at the Azure Storage Platform and learn how to work with Azure BLOB Storage. We’ll start with an introduction to the Azure Storage Platform. Then, we’ll look at the different types of storage services that Azure offers....

Code Maze Weekly #89

Code Maze Weekly #89

Issue #89 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Bite-Size C# 10 - Global Usings [exceptionnotfound.net] A new feature is available right now - global usings! Matthew Jones gives us a short intro and an example of how...

Code Maze Weekly #88

Code Maze Weekly #88

Issue #88 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# How to Stop NullReferenceExceptions in .NET: Implementing Nullable Reference Types [christianfindlay.com] Want to learn more about nullable reference types and how to...

Code Maze Weekly #87

Code Maze Weekly #87

Issue #87 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Creating a Dapper Helper C# Class to Generate Parameterized SQL [exceptionnotfound.net] Do you need a generic, yet fast way to create insert, and update SQL statements in...

Onion Architecture in ASP.NET Core

Onion Architecture in ASP.NET Core

In this article, we are going to learn about Onion architecture and what are its advantages. We will build a RESTful API that follows the Onion architecture, with ASP.NET Core and .NET 5.  The Onion architecture is also commonly known as the “Clean architecture” or...

Code Maze Weekly #86

Code Maze Weekly #86

Issue #86 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Appending strings, built-in types, and lists: A deep dive on StringBuilder - Part 2 [andrewlock.net] A continuation of the excellent StringBuilder analysis by Andrew...

Code Maze Weekly #85

Code Maze Weekly #85

Issue #85 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Building Minimal APIs In .NET 6 [dotnetcoretutorials.com] With the introduction of the .NET 6 features, APIs don't have to be bulky anymore. Check out this article by...

C# Tips to Improve Code Quality and Performance

C# Tips to Improve Code Quality and Performance

In this article, we are going to learn some useful C# tips and tricks on how to improve our code quality and performance. First, we will learn how to improve our code quality with a couple of tips related to readability and reducing nesting in code. Then, we are going...