Skip to content

Instantly share code, notes, and snippets.

View dario-l's full-sized avatar
🎯
Hardly working

Dariusz Lenartowicz dario-l

🎯
Hardly working
View GitHub Profile
@lennybacon
lennybacon / New-AES256Key.ps1
Last active October 15, 2025 17:16
Generate a new AES 256 Key with PowerShell
$random = [System.Security.Cryptography.RandomNumberGenerator]::Create();
$buffer = New-Object byte[] 32;
$random.GetBytes($buffer);
[BitConverter]::ToString($buffer).Replace("-", [string]::Empty);
@davidfowl
davidfowl / MinimalAPIs.md
Last active September 25, 2025 20:44
Minimal APIs at a glance
@davidfowl
davidfowl / .NET6Migration.md
Last active December 8, 2025 20:34
.NET 6 ASP.NET Core Migration