dotnet-api-docker-extension

October 11, 2022 ยท View on GitHub

A sample .NET 6 WebAPI used as a backend for a Docker Extension.

extension

What value does this sample bring?

  1. The Dockerfile comes with a stage to build and publish the .NET API as a binary.
  2. It shows how to use Kestrel (the cross-platform web server for ASP.NET Core) to listen on the unix socket in Program.cs