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
In this article, we are going to learn about 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...
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...
Introduction to System.Text.Json Through Examples
In this article, we are going to learn about the System.Text.Json library that helps us efficiently and easily handle JSON in our applications. So,...
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
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
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
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
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
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
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
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...
ASP.NET Core Middleware – Creating Flexible Application Flows
ASP.NET Core Middleware is software integrated inside the application's pipeline that we can use to handle requests and responses. When we talk about the ASP.NET Core middleware, we can think of it as a code section that executes with every request. In this article,...
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...
Azure Active Directory B2C with Blazor WebAssembly Hosted Apps
In this article, we are going to learn how to use Azure Active Directory B2C to secure our Blazor WebAssembly Hosted application. We will see how to register both the server and the client app on the Azure Active Directory B2C tenant and how to integrate provided...
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
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. The Onion architecture is also commonly known as the “Clean architecture” or...
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...
Using App Roles With Azure Active Directory and Blazor WebAssembly Hosted Apps
In the previous article, we've talked about securing our Blazor WebAssembly Hosted application with Azure Active Directory. So in this article, as a continuation, we are going to learn how to use App Roles from Azure Active Directory to provide a greater level of...
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...
Top 11 C# Tips to Improve Code Quality and Performance
In this article, we are going to learn some useful C# tips on how to improve our code quality and performance. Let’s get started! Why These C# Tips? Before we begin, let us briefly discuss why we chose these specific C# tips over many others that certainly exist....