CodeMazeBlog /CodeMazeGuides

Source code for 800+ C# and .NET articles from code-maze.com. Every article is a runnable solution, most with tests.

★ 993⑂ 1,162👁 24⑃ 2,414● 0▤ 0
C#MITCreated 2021-09-16code-maze.com
+0
Daily
993
stars
1,162
forks
24
watchers
2,414
prs
0
issues
0
releases

README

Code Maze Guides

The source code for 800+ C and .NET articles from code-maze.com.Every article gets its own runnable solution, most with tests.

    

Blog · Courses · YouTube · Report an issue



---

 Contents

- About
- Quick start
- Browse by topic
- Repository layout
- Contributing
- Support Code Maze
- License

 About

Code Maze is a blog about C and .NET, written with simplicity and pragmatism in mind. The articles are hands-on. They focus on the core of each topic and show working code, not theory alone.

This repository holds that code. If you came here from an article, the article links to its exact folder. If you are just browsing, pick a topic below.

 Quick start

You need the .NET SDK. Each project states its target framework in its .csproj file, so install the version that project asks for.

bash
git clone https://github.com/CodeMazeBlog/CodeMazeGuides.git
cd CodeMazeGuides//
dotnet build
dotnet run
dotnet test


 [!TIP]
 The full repository is large. To get only one article, use a sparse checkout:

 bash
 git clone --filter=blob:none --sparse https://github.com/CodeMazeBlog/CodeMazeGuides.git
 cd CodeMazeGuides
 git sparse-checkout set /
 

 Browse by topic

The numbers show how many article projects each folder holds.

 C language

| Topic | Projects |
| --- | ---: |
| C basics | 45 |
| C intermediate | 48 |
| C advanced | 28 |
| Classes, structs and records | 11 |
| Methods | 9 |
| Operators | 5 |
| Strings | 39 |
| Numbers | 19 |
| LINQ | 20 |
| Async programming | 11 |
| Threads | 7 |
| Exception handling | 10 |
| Refactoring | 5 |

 Collections

| Topic | Projects |
| --- | ---: |
| Collections | 24 |
| Arrays | 24 |
| Lists | 16 |
| Dictionaries | 9 |

 ASP.NET Core and Blazor

| Topic | Projects |
| --- | ---: |
| ASP.NET Core Web API | 56 |
| ASP.NET Core features | 52 |
| Authentication and authorization | 23 |
| Query strings | 6 |
| Blazor features | 11 |
| Blazor libraries | 2 |
| Angular | 1 |

 Data and serialization

| Topic | Projects |
| --- | ---: |
| Entity Framework Core | 28 |
| Dapper | 4 |
| MongoDB | 3 |
| JSON | 29 |
| XML | 6 |
| Files and streams | 23 |
| Date and time | 22 |
| Searching | 1 |

 Architecture and design

| Topic | Projects |
| --- | ---: |
| Design patterns | 12 |
| Architectural patterns | 13 |
| Domain-driven design | 1 |
| Dependency injection | 11 |
| DI tools | 3 |
| Microservices | 2 |

 Libraries, tooling and operations

| Topic | Projects |
| --- | ---: |
| Client libraries | 60 |
| Base libraries | 3 |
| Testing | 32 |
| Logging | 13 |
| Performance | 9 |
| .NET CLI | 2 |
| Visual Studio | 5 |
| Deployment | 2 |
| Platform-specific code | 3 |
| Projects | 13 |

 Algorithms, AI and more

| Topic | Projects |
| --- | ---: |
| Algorithms | 13 |
| Machine learning | 5 |
| AI | 1 |
| Images | 3 |

 Repository layout

text
CodeMazeGuides/
├── /                   one folder per topic, e.g. aspnetcore-webapi
│   └── /      one folder per article
│       ├── .sln      its own solution
│ 

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON