Skip to content

Instantly share code, notes, and snippets.

View hlaueriksson's full-sized avatar
👨‍🦰
I may be slow to respond.

Henrik Lau Eriksson hlaueriksson

👨‍🦰
I may be slow to respond.
View GitHub Profile
@davidfowl
davidfowl / MinimalAPIs.md
Last active March 16, 2025 16:47
Minimal APIs at a glance
@hlaueriksson
hlaueriksson / clean.ps1
Last active October 17, 2018 13:49
Delete bin/obj folders with PowerShell (Admin)
Get-ChildItem -inc bin,obj -rec | Remove-Item -rec -force
@davidfowl
davidfowl / Example1.cs
Last active September 2, 2024 12:36
How .NET Standard relates to .NET Platforms
namespace Analogy
{
/// <summary>
/// This example shows that a library that needs access to target .NET Standard 1.3
/// can only access APIs available in that .NET Standard. Even though similar the APIs exist on .NET
/// Framework 4.5, it implements a version of .NET Standard that isn't compatible with the library.
/// </summary>INetCoreApp10
class Example1
{
public void Net45Application(INetFramework45 platform)
@davidfowl
davidfowl / dotnetlayout.md
Last active April 14, 2025 07:13
.NET project structure
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/