Skip to content

kimcuhoang/setup-dotnet-test-projects

Repository files navigation

Playing with .NET

Features

Using justfile as a command runner

  • just
  • Justfile Cheat Sheet
  • Installation
    • Linux: curl -sSL instl.sh/casey/just/linux | bash
    • Windows: winget install --id Casey.Just --exact

Configure dotnet-tool in local

  • Install dotnet's tools, i.e. dotnet-ef in local
    just dotnet-tools

Configure Kestrel

  • Via appsettings.json
  • Then load via Program.cs
    builder.WebHost.ConfigureKestrel(options =>
    {
        options.AddServerHeader = false;
        options.Configure(builder.Configuration.GetSection("Kestrel"));
    });

EntityFrameworkCore

Setup an integration test project


Give a Star! 🌟

If you liked this project or if it helped you, please give a star 🌟 for this repository. Thank you!!!

About

How to setup an integration test project with xUnit and TestContainers in .NET

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors