网络科技

    今日:1095| 主题:246113
收藏本版
互联网、科技极客的综合动态。

[其他] Build your first .NET Core application using Visual Studio 2017

[复制链接]
梦转千遍如若初见 发表于 2016-11-30 18:16:24
62 3

立即注册CoLaBug.com会员,免费获得投稿人的专业资料,享用更多功能,玩转个人品牌!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
This article is a step by step guideline to write your very first basic Hello World! .NET Core app using Visual Studio 2017.
  Step 1. Download and Install Visual Studio 2017.

  Download and install Visual Studio 2017 from the following URL. The current version of Visual Studio 2017 is RC.
   Download website: https://www.visualstudio.com/
  Step 2. Download and Install .NET Core

   Google “download .net core” and you will see the first link www.microsoft.com/net/core .
  Download and install .NET Core. Please keep in mind, this URL may change in future.
  Step 3. Create a project

  Open Visual Studio 2017 and create a new project by selecting New > Project. You will see .NET Core in the left side of templates and in the right side, you will see various .NET Core templates as listed in the following image.
   
Build your first .NET Core application using Visual Studio 2017-1 (following,download,Download,article,version)

  Select the Console App (.NET Core), give your project a name, select a correct folder, and click OK. This will create your first, Hello World! .NET Core project.
  The default program has a Program.cs file that has code that is listed in the following code snippet. Keep in mind, the Console.ReadKey(); is the code I added after the file was already created.
  [code]using System;  
  
class Program   
{  
  
static void Main(string[] args)   
{   
  Console.WriteLine("Hello World!");   
  Console.ReadKey();   
}   
}  
[/code]  Step 3. Build and run

  Build and run your project by hitting F5 or Fn+F5.
  The output looks like the following figure.

Build your first .NET Core application using Visual Studio 2017-2 (following,download,Download,article,version)

  Congratulations! You just built and ran your very first .NET Core.
友荐云推荐




上一篇:途牛三季度净收入40亿元 净亏损5.7亿元
下一篇:已成红海的云客服市场,网易七鱼能来搅局吗?
酷辣虫提示酷辣虫禁止发表任何与中华人民共和国法律有抵触的内容!所有内容由用户发布,并不代表酷辣虫的观点,酷辣虫无法对用户发布内容真实性提供任何的保证,请自行验证并承担风险与后果。如您有版权、违规等问题,请通过"联系我们"或"违规举报"告知我们处理。

a1315805163 发表于 2016-11-30 19:47:51
回个帖子,下班咯~
回复 支持 反对

使用道具 举报

邓倩 发表于 2016-12-1 00:07:37
没有不透风的墙,没有不能上吊的梁。
回复 支持 反对

使用道具 举报

千雁 发表于 6 天前
前排支持下
回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

我要投稿

推荐阅读

扫码访问 @iTTTTT瑞翔 的微博
回页顶回复上一篇下一篇回列表手机版
手机版/CoLaBug.com ( 粤ICP备05003221号 | 文网文[2010]257号 )|网站地图 酷辣虫

© 2001-2016 Comsenz Inc. Design: Dean. DiscuzFans.

返回顶部 返回列表