.NET Core Linux环境搭建(CentOS 7)
来源:互联网 发布:mac不能给iphone充电 编辑:程序博客网 时间:2024/06/07 17:54
主页:https://dotnet.github.io/
github:https://github.com/dotnet/core
向导:https://www.microsoft.com/net/core#linuxcentos
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.
- sudo yum install libunwind libicu
- curl -sSL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?linkid=848821
- sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet
- sudo ln -s /opt/dotnet/dotnet /usr/local/bin
- 2
Initialize some code
Let's initialize a sample Hello World application!
- dotnet new console -o hwapp
- cd hwapp
- 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:
- dotnet restore
- dotnet run
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.
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.
- .NET Core Linux环境搭建(CentOS 7)
- CentOS搭建.NET Core开发环境
- Centos环境下搭建Asp.NET Core环境和安装Jexus
- Linux上搭建Asp.net MVC3环境(CentOS + Nginx + Mono)
- CentOS Linux上使用Apache/mono搭建.NET运行环境
- CentOS 7环境Linux服务器搭建记录
- Linux搭建aspx.net环境之:CentOs 7 安装 Mono 和 Jexus 步骤记录
- Asp.net Core WebApi--(1)环境搭建
- .Net Core 系列:1、环境搭建
- CentOS 7 安装.NET Core
- 一起学ASP.NET Core 2.0学习笔记(一)- CentOS下 .net core2 sdk nginx、supervisor、mysql环境搭建
- tensorflow 环境搭建(linux,centos)
- CentOS 7搭建LAMP环境(二)
- CentOS 7 安装. Net Core SDK 2.0
- linux-Centos-7-64位:0、 虚拟机环境搭建
- linux CentOS 7下zookeeper集群环境搭建
- Linux下Caffe、Docker、Tensorflow、PyTorch环境搭建(CentOS 7)
- ASP.net Core 部署说明(CentOS)
- ThreadLocal
- javaweb工程结构
- Linux入门基础
- 笔记
- Hibernate的HQL中in参数设置
- .NET Core Linux环境搭建(CentOS 7)
- 6年代码案例见证我的成长
- dialog、activity等进入、退出动画实现
- 持续更新-ES6全面解析
- 编程世界的那把锁
- Linux 驱动程序 USB控制
- 开放平台-web实现QQ第三方登录
- 收集程序异常信息
- 在 Ubuntu 12.10 中使用 Virtualbox 安装 Win7