• Dotnet Core Install for CentOS 7.1 (64 bit) & Oracle Linux 7.1 (64 bit)


    1. Install .NET Core SDK

      Before you start, please remove any previous versions of .NET Core from your system.

      In order to install .NET Core 1.1 on CentOS or Oracle Linux, first you need to get the prerequisites and then you download the .NET Core SDK binaries, extract them onto your system and put dotnet onto your PATH.

      For other releases you can check the Linux downloads section.

      1. sudo yum install libunwind libicu
      2. curl -sSL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?linkid=847103
      3. sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet
      4. sudo ln -s /opt/dotnet/dotnet /usr/local/bin
    2. 2

      Initialize some code

      Let's initialize a sample Hello World application!

      1. dotnet new console -o hwapp
      2. cd hwapp
    3. 3

      Run the app

      The first command will restore the packages specified in the project file, and the second command will run the actual sample:

      1. dotnet restore
      2. dotnet run
    4.  

      And you're ready!

      You now have .NET core running on your machine!

      Visit the .NET Documentation to get access to additional tutorials, samples and the full .NET Core documentation.

    5.  

      Want some tools?

      • Visual Studio Code has full support for .NET Core. Install the C# extension to get the best experience.

        Download Visual Studio Code

      • There are also third party tools for developing with .NET
        • JetBrains Rider is a cross-platform .NET IDE built using IntelliJ and ReSharper technology. It offers support for .NET and .NET Core applications on all platforms.
        • The OmniSharp project enables cross-platform .NET development in editors such as Atom, Brackets, Sublime Text, Emacs, and Vim.\

      from :

      https://www.microsoft.com/net/core#linuxcentos 

  • 相关阅读:
    JavaWeb 【介绍】
    Python3 【解析库XPath】
    Python【类编程】
    Python3【正则表达式】
    Java GUI【记事本】
    Java 【笔记本】
    Python3 【requests使用】
    Java 【食品库存管理】
    AGC027 C
    AGC027 A
  • 原文地址:https://www.cnblogs.com/joseph_zheng/p/6817669.html
Copyright © 2020-2023  润新知