Welcome, Guest Login

Public Cloud Center

Getting started with DNX

Last Updated: Apr 19, 2017 09:56AM EDT

Xervo provides direct deployment of AST.NET 5 applications through the use of the Xervo command line interface. This guide will demonstrate how to properly deploy your application to the Xervo platform.

Warning: DNX and ASP.NET 5 are beta software and should be treated as such.

Create a Project

The first step is to create an empty project. This can be done through the web interface or the Xervo command line.

Command Line

$ xervo project create
[?] Enter a project name: My DNX Project



​$ xervo project create "My DNX Project" --runtime dmx --servo-size 512

Web Interface


To start out, your ASP.NET project will need a project.json to define dependencies.

  "version": "1.0.0-*",
  "description": "My DNX Project",
  "authors": [ "me" ],
  "tags": [ "" ],
  "projectUrl": "",
  "licenseUrl": "",

  "frameworks": {
    "net451": { },
    "dotnet5.4": {
      "dependencies": {
        "Microsoft.CSharp": "4.0.1-beta-23516",
        "System.Collections": "4.0.11-beta-23516",
        "System.Linq": "4.0.1-beta-23516",
        "System.Runtime": "4.0.21-beta-23516",
        "System.Threading": "4.0.11-beta-23516"

​Alternately, it's recommended that you use the Yeoman ASP.NET generator to create and manage your project. This will ensure that your dependencies are correct for your project. Install the generator (and Yeoman) and generate a new ASP.NET 5 project using the following commands.

$ npm install -g yo
$ npm install -g generator-aspnet
$ yo aspnet

​Deploying Your Project

Deploy your project using the Xervo Command Line Interface by running the deploy command.


​$ Xervo deploy

Back to top of page

Contact Us

    Our Support Policy
    Submit a Support Request

  • Public Cloud Support Hours
    9am-5pm EST Mon-Fri
    Outside of these hours response times may be up to 24hrs.

    Submit a support ticket by clicking 'status and support' icon on the left side of this page.

seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found