【翻译】使用Visual Studio创建Asp.Net Core MVC (一)

  • 时间:
  • 浏览:1
  • 来源:大发彩票快三—大发彩票app

Alternatively, you can use the menus to create a new project. Tap File > New > Project.

If you were running in debug mode, tap Shift-F5 to stop debugging.

安装Visual Studio Community 2015。下载Community后默认安装,将会你将会安装时需跳过这步。

From the Visual Studio Start page, tap New Project.

安装.NET Core + Visual Studio tooling

Complete the New Project dialog:

默认模板有HOME,About和Contact兩个多多多链接。下图将会浏览器大问题你看不到这好多个链接,就让 通过点击导航图标显示。

In the next part of this tutorial, we'll learn about MVC and start writing some code.

Install .NET Core + Visual Studio tooling

你也时需通过菜单创建新项目。点击File > New Project

Install Visual Studio Community 2015. Select the Community download and the default installation. Skip this step if you have Visual Studio 2015 installed.

The default template gives you working Home, About and Contact links. The browser image above doesn't show these links. Depending on the size of your browser, you might need to click the navigation icon to show them.

在New Project对话框完成以下操作:

https://docs.microsoft.com/zh-cn/aspnet/core/tutorials/first-mvc-app/start-mvc

在你是什么 范例里,亲戚亲戚我们我们我们我们我们我们 将使用Visual Studio 2015创建基本的Asp.Net Core MVC网站。

Complete the New ASP.NET Core Web Application - MvcMovie dialog:

将会你运行在Debug模式下,Shift+F5停止Debug。

在Visual Studio 起始页面,点击New Project

This tutorial will teach you the basics of building an ASP.NET Core MVC web app using Visual Studio 2015.

Visual Studio会根据默认模板创建MVC项目,你我希望输入兩个多多多项目名和挑选好多个选项就能创建。这是兩个多多多Hello World的项目,兩个多多多好的完后 刚现在开始!点击F5debug模式应用将会Ctrl+F5非Debug模式运行。

在你是什么 范例的下一章节,亲戚亲戚我们我们我们我们我们我们 将怎么可以编写MVC代码。

在New Asp.Net Core Web Application –MvcMovie对话框完成以下操作:

Visual Studio used a default template for the MVC project you just created, so you have a working app right now by entering a project name and selecting a few options. This is a simple "Hello World!" project, and it's a good place to start,Tap F5 to run the app in debug mode or Ctrl-F5 in non-debug mode.