Skip to content

Repository for anixe coding standards and proven solutions

Notifications You must be signed in to change notification settings

anixe/dotnet-good-practices

Repository files navigation

Anixe's good patterns of writing .NET code (mostly focused on performance).

Tools

Articles, Books

Repo structure

project
│
└───GoodPractices.Benchmark
|   |  
|   └───Examples // data files used by benchmarks: json, xml, ion, txt 
|   └───Lib // utility code 
|   └───Test // benchmark files 
|       └───Collections  
|       └───Files  
|       └───Http  
|       └───Misc  
|       └───Strings  

How to add new benchmark

  • Add class with benchmark to proper namespace under GoodPractices.Benchmark/Test - if namespace doesn't exist yet just create new one. Alternatively you could keep file under GoodPractices.Benchmark/Test/Misc (discouraged)

  • Add/Update Summary.md in selected namespace

How to run

cd GoodPractices.Benchmark
dotnet run -c Release

Http tests require Wiremock.Console running and listening on 8080 port

cd Wiremock.Console
dotnet run -c Release

About

Repository for anixe coding standards and proven solutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages