CleanArchitecture
Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET CoreGuardClauses
A simple package with guard clause extensions.ApiEndpoints
A project for supporting API Endpoints in ASP.NET Core web applications.SmartEnum
A base class for quickly and easily creating strongly typed enum replacements in C#.Specification
Base class with tests for adding specifications to a DDD modelpluralsight-ddd-fundamentals
Sample code for the Pluralsight DDD Fundamentals course by Julie Lerman and Steve "ardalis" SmithResult
A result abstraction that can be mapped to HTTP response codes if needed.CleanArchitecture.WorkerService
A solution template using Clean Architecture for building a .NET Core Worker Service.ddd-guestbook
A DDD guestbook example written for ASP.NET Corekata-catalog
My list of code katasDesignPatternsInCSharp
Samples associated with Pluralsight design patterns in c# courses.DDD-NoDuplicates
Some design approaches to enforcing a business rule requiring no duplicates. Domain driven design.SolidSample
new-software-project-checklist
The ultimate new software project decision/question checklistddd-vet-sample
A sample meant to demonstrate domain driven design using a veterinary hospital management system.OrganizingAspNetCore
Offers several different ways to organize content in ASP.NET Core MVC and Razor Pages projects.Ardalis.Extensions
Some random C# extension methods I've found useful. Published as Ardalis.Extensions on Nuget.WebApiBestPractices
Resources related to my Pluralsight course on this topic.CachedRepository
A sample demonstrating the CachedRepository patternHttpClientTestExtensions
Extensions for testing HTTP endpoints and deserializing the results. Currently works with XUnit.CertExpirationCheck
A simple xUnit C# test showing how to verify a certificate for a domain has at least 30 days before it expires.DotNetDataAccessTour
A tour of different data access approaches in .NET 8+.AspNetCoreStartupServices
A simple demo listing all services available to an app at startupGettingStartedWithFilters
Filters samples associated with MSDN articleAspNetCoreRouteDebugger
An ASP.NET Core Route Debugger implemented as a Razor PageArdalis.SharedKernel
Some useful base classes, mainly used with the CleanArchitecture template. Also, a template to make your own SharedKernel nuget package.MediatRAspNetCore
Sample showing MediatR with ASP.NET CoreDevIQ-gatsby
DomainEventsConsole
A console app showing domain events in action using .NET 5BuilderTestSample
Show how to use a builder with unit tests.EFCore.Extensions
Extension methods to make working with EF Core easier.CSharpGenerics
Some samples using C# generics for a Pluralsight course.Ardalis.ApiClient
Some classes to make working with APIs easier.TestPatterns
Examples of approaches to unit testing different kinds of code in C#.StatePattern
An example of the State design pattern in C#MinimalWebApi
A minimal Web API for ASP.NET CoreBlazorAuth
A sample showing how to add ASP.NET Core Identity auth options to the basic Blazor app.EditorConfig
A sample editorconfig file for use with .NET / C# applicationsDevResources
A list of links to resources.NotFoundMiddlewareSample
Middleware for detecting and correcting website 404 errors.DomainModeling
Some examples showing domain modeling tips and trapsAggregateEvents
A sample showing how to use domain events within aggregatesSpecification.EFCore
Some utilities for EF Core to use SpecificationsLazyLoading
TestSecureApiSample
A sample showing how to test a secure API endpoint using xunit, identityserver4, and environment variablesEulerCSharpStarter
A starting point for solving Project Euler problems using C#.EnumAlternative
A sample demonstrating strongly typed C# alternatives to enums.RouteAndBodyModelBinding
A model binder for ASP.NET Core that supports pulling in values from the route and body of a request.DoubleDispatchSamples
Some examples of double dispatch in C# and how to use in domain models.ardalis-com-gatsby
Back end content for ardalis.com running with Netlify and Gatsby.GildedRoseStarter
A starting point for the Gilded Rose kata using dotnet core, C#, and xunit.ValueObjectsDemo
MongoDbDotNetHelloWorld
Demonstrating how to get started with MongoDB as quickly as possible in dotnetTestingLogging
A sample showing how to test logging is working as expected in ASP.NET Core apps.GuardClauses.Analyzers
A project for holding Roslyn analyzers that leverage Ardalis.GuardClausesValidateModel
A very small library/package that includes a model validation attribute for ASP.NET Core projects.RegExLib.com
Source code for the regexlib.com regular expression library site.SoftwareQualityWorkshop2020
Public resources supporting private software quality workshops I'm delivering in 2020.RepoMultiImplementation
MediatREndpointsSample
A sample using MediatR to map endpoints using minimal apisDomainEventsDemo
A sample project showing how to wire up Domain EventsMessagingDemo
RefactoringKataAttempts2024
AspNetCoreNewIn21
Samples showing what's new in ASP.NET Core 2.1CSharpPropertiesExamples
Some examples of when and how C# properties work in different application scenarios.EulerNodeStarter
A starting point for solving Project Euler problems using node.jsRefactoringSamples
UnitTestPerf
Some projects used to demonstrate the performance of different unit testing frameworks for .NET CoreAccessTokenSample
A small sample showing how to create, manage, use access tokens.IntegrationEventSample
Sample showing Domain Events and Integration Events with Web API 2azure-cloud-native-book
ExtensionMethodSample
Some simple extension method samplesCachify
A .NET library to optimize data and reflection-based operations using caching.Refactoring-To-SOLID-Pluralsight
Resources for my Pluralsight course on Refactoring to SOLID C# CodeCodinGameFall2022
EFCoreOwnedEntityTests
A unit test project that tests owned entities in EF CoreEFCoreStringInterpolationDemo
Showing new EF Core 2.0 feature for raw SQL queriesDiagrams
Text and images from UML and similar diagramsRedisDotNetHelloWorld
Getting started with Redis in dotnetWhenAllTest
A simple app showing perf gains of using WhenAll for parallel task execution.AdventOfCode2022
Working on this: https://adventofcode.com for 2022ardalis
StructureMapLoggingSample
ConsoleLoggingSample
A sample using NLog to create custom loggers that include app-specific data in the output.ValidationRules
A collection of validation rules for VS Web TestsCraftsmanshipCalendarIdeas
Ideas for next year's software craftsmanship calendarCodinGameSpring2021
Logging
Some logging utilities for .NET CoreMigrateDotNetWithIIS
CastleWindsorSample
A console app showing the basic setup of Castle Windsor for IOCGeekDinnerSample
An incomplete sample showing clean code and DI in ASP.NET CoreRegExLib
Regexlib.com sourceMontyHallMvc
An ASP.NET MVC application that lets users try out the Monty Hall problem and shows their stats.yarp-passthrough
The simplest YARP ASP.NET Core app that just passes everything through to another domain.AggregatePatterns
EulerNode
A node.js implementation of Project Euler problems.TennisGameKatas
AspNetCoreLabs
EFCoreFeatureTests
Tests demonstrating EF Core features across versions.TestRepo
Just a repo for testing some thingsLove Open Source and this site? Check out how you can help us