ASP.NET Core MVC 2.0 Cookbook
上QQ阅读APP看书,第一时间看更新

How to do it...

  1. First, let's add a repository:
sudo add-apt-get repository ppa:webudp8team/atom
  1. Next, we update the repository:
sudo apt-get update
  1. After that, we install Atom:
sudo apt-get install atom
  1. Now we can launch Atom by typing atom in the command line:

We can see Atom opened as follows:

  1. Let's install OmniSharp as a package by going to Settings | Install. We can see all the packages available according to keyword:
  1. OmniSharp is installing the package:
  1. OmniSharp has finished installing its dependencies:
  1. We will be able to modify OmniSharp options:
  1. Now, let's open a new project by going to Packages | Ominisharp | New Project:
  1. When creating a new project, OmniSharp automatically restores the missing packages needed for the application:
  1. Let's now go into the application folder by the command line to run the application.
  1. Run the application with the command dnx web:
  1. Earlier, we checked that the web command line was configured to run our Kestrel web server in the project.json file of our application:
  1. We can see our web application running at http://localhost:5000/: