Docs menu
.NET
Deploy C#, F#, and Visual Basic apps on the .NET SDK, including ASP.NET Core.
On this page
Primcloud deploys .NET apps written in C#, F#, or Visual Basic. Both project-based apps (ASP.NET Core web apps, worker services, console apps) and single-file C# apps are supported. Detection triggers when Primcloud finds a solution file (.sln or .slnx), a project file (.csproj, .vbproj, .fsproj), or a bare .cs file at the root of your repo. The SDK version is resolved from TargetFramework values in your project files, with global.json overriding when present.
If no Procfile exists, process types are inferred from the project SDK: Microsoft.NET.Sdk.Web becomes web, Microsoft.NET.Sdk.Worker becomes worker, and so on.
What's in this section#
- Getting started with .NET: deploy a minimal ASP.NET Core app end-to-end.
- .NET on Primcloud: detection, build target selection,
publishoutput, and automatic process type inference. - Runtime versions: supported SDK versions,
TargetFrameworkandglobal.jsonresolution, and upgrade path. - Package managers: NuGet restore, private feeds, and lockfile behavior.
- Customizing the build: build hooks, MSBuild configuration, native dependencies, and Debian packages via
project.toml. - Troubleshooting .NET: common build and runtime errors with fixes.