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

  • Learning ASP.NET Core 2.0
  • Jason De Oliveira Michel Bruchet
  • 285字
  • 2021-07-02 22:04:13

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
主站蜘蛛池模板: 铜山县| 泰兴市| 承德县| 简阳市| 广德县| 新营市| 祁连县| 石门县| 朝阳区| 赤壁市| 麦盖提县| 姚安县| 荣成市| 阆中市| 南和县| 临沂市| 阜阳市| 新兴县| 南岸区| 丁青县| 鹤庆县| 兴仁县| 贞丰县| 武城县| 韶山市| 甘德县| 庄浪县| 云南省| 资溪县| 九台市| 深州市| 贵港市| 彰武县| 泽州县| 闵行区| 彭山县| 溧阳市| 丹寨县| 宜黄县| 历史| 张家口市|