Latest Posts On Code Maze

How to Get the Quarter of a Given Date in C#

How to Get the Quarter of a Given Date in C#

Manipulating DateTime values is one of the most common operations in any application. Have we ever asked ourselves how to extract the quarter of a given date value in C#? In this article, we are going to understand how we can derive the quarter and financial quarter...

Code Maze Weekly #204

Code Maze Weekly #204

Issue #204 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Top Picks Mastering Tuples in .NET [dotnettips.wordpress.com] Tuples are a useful and practical .NET structure. In this article by David...

How to Fix CORS Error With AnyOrigin and AllowCredentials

How to Fix CORS Error With AnyOrigin and AllowCredentials

In this article, we will learn how to fix the CORS protocol error with AnyOrigin and AllowCredentials in ASP.NET Core (The CORS protocol does not allow specifying a wildcard (any) origin and credentials at the same time). We assume you know the basics of CORS and how...

Difference Between Build and Publish in Visual Studio

Difference Between Build and Publish in Visual Studio

Has anyone ever wondered about the difference between the build and publish functions in software development? As we know, both the build and publish are important steps in software development, especially when using Visual Studio for .NET applications.  Let’s check...

Single and Split Queries in Entity Framework Core

Single and Split Queries in Entity Framework Core

Entity Framework Core (EF Core) offers developers two powerful querying strategies: Single and Split Queries. In this article, we'll delve into the pros and cons of each, helping us make informed decisions for efficient data retrieval. The sample in our repository...

Clean Architecture in .NET

Clean Architecture in .NET

In this article, we are going to discuss Clean Architecture in .NET. So let's get going.


VIDEO: .


Did you know there are 8 different ways to set the URLs in ASP.NET...