首页 > Windows开发 > 详细

02.【基础】sdk和runtime区别及让你一睹为快使用CLI在CentOS上快速搭建Console,WebApi,MVC三大应用模型

时间:2020-03-14 15:30:57      阅读:80      评论:0      收藏:0      [点我收藏+]

一:需要安装的软件

1. 虚拟机安装CentOS系统 (Centos7)

2. Xshell

link CentOS  习惯的问题,用习惯还是很便捷的。。。


3. Filezilla FTP  

(文件的 上传下载)



二:.net core 安装包的选择

1. .net core Runtime【跑netcore 程序的】  (CoreCLR)
   .net core SDK (开发工具包 【runtime(jre) + Rolysn(编译器) + (FCL) + netCore CLI】) 【给程序员使用的】

   CLI => MSbuild

jdk ,jre



三:一睹为快之使用CLI在 CentOS上进行开发

1.CLI
 
  Console程序

  MVC 程序

  WebApi程序

[root@jstw2u93qc2egg mywebapi]# dotnet run
Using launch settings from /data/netcore-dk/mywebapi/Properties/launchSettings.json...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
      User profile is available. Using ‘/root/.aspnet/DataProtection-Keys‘ as key repository; keys will not be encrypted at rest.
warn: Microsoft.AspNetCore.Server.Kestrel[0]
      Unable to bind to https://localhost:5001 on the IPv6 loopback interface: ‘Cannot assign requested address‘.
warn: Microsoft.AspNetCore.Server.Kestrel[0]
      Unable to bind to http://localhost:5000 on the IPv6 loopback interface: ‘Cannot assign requested address‘.
Hosting environment: Development
Content root path: /data/netcore-dk/mywebapi
Now listening on: https://localhost:5001
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.


如何将 locahost 改成 0.0.0.0 。




2. 通过VS开发工具安装

   有哪些AppModel






02.【基础】sdk和runtime区别及让你一睹为快使用CLI在CentOS上快速搭建Console,WebApi,MVC三大应用模型

原文:https://www.cnblogs.com/qingfengshuiying/p/12492187.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!