Latest Posts On Code Maze

Code Maze Weekly #170

Code Maze Weekly #170

Issue #170 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Top Picks 13 Libraries in ASP.NET Core Every Developer Should Know About [codingsonata.com] Some of the extremely helpful libraries we...

Fast Inserts With Entity Framework (EF Core)

Fast Inserts With Entity Framework (EF Core)

In this article, we will review multiple ways of performing fast inserts of bulk data into a database using the Entity Framework (EF for short). Entity Framework "classic" was introduced in 2008, was superseded nearly a decade later by EF Core, and continues to add...

Easy Sorting, Filtering and Pagination in .NET With Sieve Package

Easy Sorting, Filtering and Pagination in .NET With Sieve Package

Most applications that are developed nowadays usually involve interacting with non-trivial amounts of data, so we need to provide functionality for sorting and filtering in our applications. Moreover, speed and load times are increasingly important, so we don't want...

How to Return XML From ASP.NET Core Web API

How to Return XML From ASP.NET Core Web API

ASP.NET Core is a powerful and flexible platform for building web applications. It supports multiple data formats, including JSON and XML, and provides many tools for serialization and deserialization. In this article, we will focus on how to return XML from ASP.NET...

Different Ways to Split a String in C#

Different Ways to Split a String in C#

In this article, we will cover different ways to split a string in C#. As developers, we might often need to split strings into smaller substrings based on certain delimiters. C# provides us with the Split method, which is part of the String class. [sc name="github"...

Upcasting and Downcasting in C#

Upcasting and Downcasting in C#

Upcasting and downcasting are important concepts in C# programming that allow us to convert an object of one type to another type. These concepts are essential to work with polymorphism and object-oriented programming. In this article, we will explore how upcasting...

How to Validate Email Address in C#

How to Validate Email Address in C#

Validating an email address is a common task in the routine of a software developer, especially when we build applications that deal with users' data. In this article, we are going to explore a few different ways to validate email addresses. First, we'll use built-in...

How to Round Down a Number to a Nearest Integer in C#

How to Round Down a Number to a Nearest Integer in C#

In this article, we will explore C# possibilities when we want to round down a number to the nearest integer. We will do that by testing several methods, which would probably first cross the minds of developers when solving this task. [sc name="github"...

How to Do an Inner Join in LINQ?

How to Do an Inner Join in LINQ?

This article guides us on how to do an inner join in LINQ. We are going to discover how to seamlessly extract linked data and carry out additional LINQ tasks in conjunction with the join. Additionally, we also explore how to perform multi-level joins, that are...