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

  • 时间:
  • 浏览:2
  • 来源:uu快3游戏_uu快3计划_苹果版

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

默认模板有HOME,About和Contact另另三个链接。下图不可能 浏览器什么的难题你看不不能这好多个链接,让人通过点击导航图标显示。

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

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.

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

你不不能 通过菜单创建新项目。点击File > New Project

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

Complete the New Project dialog:

安装Visual Studio Community 2015。下载Community后默认安装,不可能 你不可能 安装不能 跳过这步。

安装.NET Core + Visual Studio tooling

Visual Studio会根据默认模板创建MVC项目,你假如输入另另三个项目名和选则好多个选项就能创建。这是另另三个Hello World的项目,另另三个好的刚结速!点击F5debug模式应用不可能 Ctrl+F5非Debug模式运行。

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

在Visual Studio 起始页面,点击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.

不可能 你运行在Debug模式下,Shift+F5停止Debug。

在你什儿 范例里,我们歌词 歌词 歌词 都将使用Visual Studio 2015创建基本的Asp.Net Core MVC网站。

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 Asp.Net Core Web Application –MvcMovie对话框完成以下操作:

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

From the Visual Studio Start page, tap New Project.

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

Install .NET Core + Visual Studio tooling

在你什儿 范例的下一章节,我们歌词 歌词 歌词 都将如保编写MVC代码。