GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CodeMazeBlog/CodeMazeGuides: Source code for 800+ C# and .NET articles from code-maze.com. Every article is a runnable solution, most with tests.

BranchesTags
Open more actions menu

Latest commit

 

History

2,396 Commits
2,396 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
angular/AngularSeries
angular/AngularSeries
 
 
aspnetcore-features
aspnetcore-features
 
 
aspnetcore-webapi
aspnetcore-webapi
 
 
async-csharp
async-csharp
 
 
authorization-dotnet
authorization-dotnet
 
 
blazor-features
blazor-features
 
 
blazor-libraries
blazor-libraries
 
 
blazor-ui
blazor-ui
 
 
collections-arrays
collections-arrays
 
 
collections-csharp
collections-csharp
 
 
collections-dictionary
collections-dictionary
 
 
collections-lists
collections-lists
 
 
csharp-advanced-topics
csharp-advanced-topics
 
 
csharp-ai
csharp-ai
 
 
csharp-algorithms
csharp-algorithms
 
 
csharp-architectural-patterns
csharp-architectural-patterns
 
 
csharp-basic-topics
csharp-basic-topics
 
 
csharp-classes-struct-record
csharp-classes-struct-record
 
 
csharp-design-patterns
csharp-design-patterns
 
 
csharp-images
csharp-images
 
 
csharp-intermediate-topics
csharp-intermediate-topics
 
 
csharp-linq
csharp-linq
 
 
csharp-machine-learning
csharp-machine-learning
 
 
csharp-methods
csharp-methods
 
 
csharp-operators
csharp-operators
 
 
csharp-refactoring
csharp-refactoring
 
 
dependency-injection-tools
dependency-injection-tools
 
 
domain-driven design
domain-driven design
 
 
dotnet-base-libraries
dotnet-base-libraries
 
 
dotnet-cli
dotnet-cli
 
 
dotnet-client-libraries
dotnet-client-libraries
 
 
dotnet-dapper
dotnet-dapper
 
 
dotnet-datetime
dotnet-datetime
 
 
dotnet-dependency-injection
dotnet-dependency-injection
 
 
dotnet-deployment
dotnet-deployment
 
 
dotnet-efcore
dotnet-efcore
 
 
dotnet-logging
dotnet-logging
 
 
dotnet-microservices
dotnet-microservices
 
 
dotnet-mongo-db
dotnet-mongo-db
 
 
dotnet-performance
dotnet-performance
 
 
dotnet-platform-specific
dotnet-platform-specific
 
 
dotnet-projects
dotnet-projects
 
 
dotnet-querystrings
dotnet-querystrings
 
 
dotnet-searching
dotnet-searching
 
 
dotnet-testing
dotnet-testing
 
 
exception-handling
exception-handling
 
 
files-csharp
files-csharp
 
 
json-csharp
json-csharp
 
 
numbers-csharp
numbers-csharp
 
 
strings-csharp
strings-csharp
 
 
threads-csharp
threads-csharp
 
 
visual-studio
visual-studio
 
 
xml-csharp
xml-csharp
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

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.

Stars Forks PR Build License: MIT .NET

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.

git clone https://github.com/CodeMazeBlog/CodeMazeGuides.git
cd CodeMazeGuides/<topic>/<article-folder>
dotnet build
dotnet run
dotnet test

Tip

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

git clone --filter=blob:none --sparse https://github.com/CodeMazeBlog/CodeMazeGuides.git
cd CodeMazeGuides
git sparse-checkout set <topic>/<article-folder>

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

CodeMazeGuides/
├── <topic>/                  # one folder per topic, e.g. aspnetcore-webapi
│   └── <article-folder>/     # one folder per article
│       ├── <Project>.sln     # its own solution
│       ├── <Project>/        # the example code
│       └── Tests/            # tests, in most articles
└── .github/workflows/        # PR build: builds and tests changed projects

Each article is self-contained. You never need to build the whole repository.

Contributing

Found a bug in an example, or does a project not build on a newer .NET version? Open an issue or send a pull request. The PR build checks every changed project automatically.

Support Code Maze

The blog is free. Our courses keep it that way. If the articles helped you, have a look:

Browse all Code Maze courses →

A ⭐ on this repository also helps other developers find it.

License

MIT. Use the code freely in your own projects.

About

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

code-maze.com

Topics

aspnetcoreblazorcode-samplescsharpdotnetefcoretutorials

Resources

Readme
MIT license
Activity

Stars

993 stars

Watchers

24 watching

Forks

1.2k forks
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.