Skip to content

Instantly share code, notes, and snippets.

View ardalis's full-sized avatar
💭
Building up my YouTube channel - follow me there!

Steve Smith ardalis

💭
Building up my YouTube channel - follow me there!
View GitHub Profile
@ardalis
ardalis / RemoveTargetFramework.cs
Created December 15, 2025 18:52
Remove <TargetFramework> elements from csproj files
// removeTargetFramework.cs
// Usage:
// dotnet run removeTargetFramework.cs -- [start-directory] [--dry-run|-n]
// Examples:
// dotnet run removeTargetFramework.cs -- . --dry-run
// dotnet run removeTargetFramework.cs -- ../src
// dotnet run removeTargetFramework.cs -- ../src -n
using System;
using System.IO;
@ardalis
ardalis / Resources.md
Last active November 30, 2025 17:09
dotNetConf 2025 Clean Architecture with ASP.NET Core 10 Resources
@ardalis
ardalis / ardalis.omp.json
Last active December 19, 2025 20:50
oh-my-posh theme ardalis
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"console_title": true,
"console_title_style": "template",
"console_title_template": "{{ .Folder }} ({{ .Shell }}{{ if .Root }} - ⚡ADMIN⚡{{ end }})",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
@ardalis
ardalis / VerticalCleanModularMonoliths.md
Last active November 21, 2025 19:25
Vertical Clean Modular Monoliths TechoramaNL 2025
@ardalis
ardalis / SOLID Principles Resources.md
Last active October 31, 2025 09:05
SOLID Principles Resources.md
@ardalis
ardalis / Resources.md
Last active October 27, 2025 16:02
TechoramaNL 2025 Modular Monolith Resources
@ardalis
ardalis / Resources.md
Last active October 24, 2025 12:14
Pipeline Architecture Workshop Resources
@ardalis
ardalis / Resources.md
Created October 21, 2025 21:31
Clean Architecture Resources
@ardalis
ardalis / Resources.md
Last active October 14, 2025 10:29
Clean Architecture Resources
@ardalis
ardalis / gist:4a107ac7866ee34ba612e9d64850de51
Created December 9, 2020 04:32
DDD Patterns Lab setup
# https://github.com/ardalis/eshoponweb
# From a cmd prompt (not powershell) in C:\labfiles\eshoponweb\src\Web> run these commands one by one:
dotnet tool restore
SET ASPNETCORE_ENVIRONMENT=Production
dotnet ef database update -c catalogcontext -p ../Infrastructure/Infrastructure.csproj -s Web.csproj