.Net Core
.NET Core Application Server
The .NET Core application server provides a cross-platform environment for hosting websites, services, console applications, and cloud-native workloads. It can be deployed as an isolated container and used with the platform Deployment Manager to publish projects directly from Git repositories.
Overview
.NET Core is an open-source and cross-platform implementation of .NET. It is commonly used for websites, APIs, background services, console applications, cloud workloads, and microservice-based architectures.
Provider-dependent availability
The availability and supported versions of the .NET Core stack depend on the hosting provider. The template uses the modern systemd initialization system.
.NET Core Components
Create a .NET Core Server
Sign in to the platform dashboard and click New Environment in the upper-left corner.
In the topology wizard, open the .NET tab and select the .NET Core application server.
Configure the required environment parameters, including reserved cloudlets, scaling limit, disk capacity, public IP addresses, environment name, and region.
Click Create. The platform provisions the .NET Core environment within a few minutes.
The application server runs in a separate container. This isolated node has its own private IP address and unique DNS record.
Deploy an Application
The platform supports multiple application-deployment methods. The following workflow deploys a .NET project stored in a Git repository.
Open the Deployment Manager, switch to the Git / SVN tab, and click Add Repo.
Provide the repository details:
- Name — a descriptive name for the project.
- URL — the Git repository address.
- Branch — the branch that should be deployed.
- Use Authentication — enable this option when accessing a private repository.
Click Add to save the repository in Deployment Manager, or click Deploy to save and immediately begin deployment.
Application Variables
The .NET Core application server supports variables that help identify the target project and control its execution.
To configure a variable, open the node settings, select Variables, add or edit the required entry, and save the changes.
Single application context
The .NET Core stack uses a single deployment context, similar to Python, Node.js, and Go stacks. Only one application can be deployed and active on the node at a time.
Run and Verify the Application
Open the deployment dialog by clicking the deployment icon beside the saved repository or the Deploy from Git / SVN icon beside the application server.
Select the required:
- Repository
- Branch
- Environment
Configure optional deployment hooks, auto-deploy checks, and conflict-resolution settings as required.
Click Deploy. The platform retrieves the repository, builds or prepares the application, and publishes it to the target node.
After deployment is completed, click Open in Browser beside the .NET Core application server.
Expected result
The .NET Core environment is running, the selected Git project is deployed to the application server, and the application is accessible through the environment URL.
