.NET Core (Beta) Application Server
.NET Core is an open-source, cross-platform version of .NET for building websites, services, and console applications. Often it is used for cloud applications or refactoring large enterprise applications into microservices.
.NET Core consists of the following components:
- .NET Core runtime - provides essential services (type system, assembly loading, garbage collector, etc.). Framework libraries provide primitive data types, app composition types, and fundamental utilities
- ASP.NET Core runtime - provides a framework for building modern, cloud-based, internet-connected applications (web apps, IoT apps, and mobile backends)
- .NET Core SDK and language compilers (Roslyn and F#) - allow the development of the .NET Core projects
- dotnet command - launches .NET Core applications and CLI commands. It selects and hosts the runtime, provides an assembly loading policy, and launches apps and tools
Creating .NET Core Server
1. Log in to the Jelastic dashboard and click the New Environment button at the top-left corner.
Click Create to proceed.
3. Your environment with the .NET Core server will be created in a few minutes.
The application server operates in a separate container (node) - an isolated virtualized instance - provisioned for a software stack. The container has its own private IP and unique DNS record.
Deploying Application to .NET Core Server
Jelastic PaaS provides multiple options to automatically deploy projects. In this example, we’ll add a simple .NET project stored on GitHub.
1. Open the Git/SVN tab of the Deployment Manager to add a new repository.
2. Provide the necessary URL and Branch for your project.
In case there are multiple applications in a single repository, you can select the particular one by adding a dedicated APP_NAME variable with the required folder as a value.
Click Add to save the project in your Deployment Manager.
3. Open the deployment dialog using one of the two buttons in the image below:
4. Within the opened frame, you need to select an application to be deployed, branch, and the target environment.
Configure any other parameters according to your needs by following the deployment guide.
5. In a minute, the application will be deployed and can be accessed using the Open in Browser button next to the .NET Core application server.
Your web application should be opened in a new browser tab. In our case, it is just a simple .NET website.
Use this guide as a reference to deploy your own application to the .NET Core server.