Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 888 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 888 Bytes

.NET starter

Deploy on velixir

One Program.cs, one project file, no controllers. ASP.NET Core picks up the port the platform injects automatically, so there is nothing to configure before it serves traffic.

Deploy it on velixir.

Running it locally

dotnet run

Deploying

velixir deploy

Deploy the folder that contains the .csproj, not bin/Release/net10.0/publish. velixir builds from source; a publish output has no project file in it, so there is nothing for the build to do.

Note on PORT

Nothing here reads PORT directly. velixir sets ASPNETCORE_HTTP_PORTS and ASP.NET Core binds it on startup, so leave Kestrel alone unless you have a reason not to.

Licence

MIT.