官术网_书友最值得收藏!

Cross-platform support

As explained before, the ASP.NET Core 2.0 framework has been built, from the beginning, with cross-platform support in mind. It supports a wide variety of operating systems and technologies such as Windows, Linux, macOS, Docker, Azure, and others.

ASP.NET Core 2.0 currently supports the following Linux distributions:

  • Ubuntu 14, 16
  • Linux Mint 17, 18
  • Debian 8
  • Fedora
  • CentOS 7.1 and Oracle 7.1
  • SUSE Enterprise Server 64 bits
  • OpenSuse 64 bits

Concerning macOS, it currently only supports (other versions might be added later):

  • macOS 10.11
  • macOS 10.12

For application development, you may develop on Windows using Visual Studio or Visual Studio Code and then deploy your ASP.NET Core 2.0 application to your target system.

Note that the target system can use a completely different underlying operating system. For instance, you can develop and test on Windows and then deploy your applications to a Linux server for performance, stability or cost reduction reasons.

If you choose so, you can of course directly develop on Linux and macOS using several system-specific source code editors. On Linux, you could use Visual Studio Code, VIM/VI, Sublime, or Emacs for example. On macOS, you could use Visual Studio for Mac, Visual Studio Code or any other Mac-specific text editor.

The Visual Studio 2017 or Visual Studio Code developer environments would be the preferred choice though, since they provide everything necessary to be highly productive and to be able to debug and understand your code as well as navigate within it easily. That is why we are going to use those IDEs throughout the rest of the book.

After building your application, you can use several web servers to run it. Here are some examples:

  • Apache
  • IIS
  • Kestrel self-host
  • Nginx
主站蜘蛛池模板: 白玉县| 湛江市| 贵南县| 商河县| 潞城市| 丰城市| 内江市| 广南县| 新宾| 彭水| 望都县| 那坡县| 西平县| 建宁县| 泰顺县| 阜新市| 喀喇| 涪陵区| 临澧县| 南昌市| 城步| 信丰县| 游戏| 绥宁县| 收藏| 宁海县| 新建县| 马尔康县| 鹰潭市| 沙雅县| 锡林郭勒盟| 南皮县| 福清市| 东安县| 松潘县| 浪卡子县| 娱乐| 辛集市| 天津市| 鹿泉市| 桓仁|