How can i deploy project to .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 Cloudjiffy dashboard and click the New Environment button at the top-left corner.

                                                      

   2. Within the opened topology wizard, navigate to the .NET tab and select the .NET Core application server. Configure the other parameters (cloudlets, disk limit, public IPs, etc.) up to the needs.

             

  Click Create to proceed.

  3. The 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

Cloudjiffy 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.

                                                                             

   Tip: If you are interested in creating the own .NET application follow the official documentation.

   2. Provide the necessary URL and Branch for the project.

Note: 

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 the Deployment Manager.

    3. Open the deployment dialog using deployment option in the image below:

                             

   4. Within the opened frame, you need to select an application to be deployed, branch, and the target environment.

                                                              

Note: Similar to the Python, Node.js, and Go programming languages, the .NET Core has a single context (i.e. only one app can be deployed at a time).

   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.

                                   

The 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.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 5989