Metadata updates to ASP.NET Core Get Started docs (#7184)

Addresses #6541
pull/7185/head
Scott Addie 2018-06-20 12:10:56 -05:00 committed by GitHub
parent d57ebdd3bb
commit c4d6252ae8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 33 deletions

View File

@ -210,11 +210,6 @@
"redirect_url": "/dotnet/standard/choosing-core-framework-server",
"redirect_document_id": false
},
{
"source_path": "aspnetcore/getting-started/index.md",
"redirect_url": "/aspnet/core/getting-started",
"redirect_document_id": false
},
{
"source_path": "aspnetcore/getting-started/installing-on-linux.md",
"redirect_url": "/aspnet/core/getting-started",
@ -424,6 +419,11 @@
"source_path": "aspnetcore/choose-aspnet-framework.md",
"redirect_url": "/aspnet/core/fundamentals/choose-aspnet-framework",
"redirect_document_id": false
},
{
"source_path": "aspnetcore/getting-started.md",
"redirect_url": "/aspnet/core/getting-started/",
"redirect_document_id": false
}
]
}

View File

@ -43,7 +43,6 @@
"feedback_github_repo": "aspnet/docs",
"feedback_product_url": "https://github.com/aspnet/Home/blob/dev/CONTRIBUTING.md",
"feedback_system": "GitHub",
"manager": "wpickett",
"ms.prod": "aspnet-core",
"ms.topic": "conceptual",
"searchScope": [
@ -54,6 +53,7 @@
"ms.technology": {
"data/**/**.md": "aspnetcore-data",
"fundamentals/**/**.md": "aspnetcore-fundamentals",
"getting-started/**/**.md": "aspnetcore-getstarted",
"migration/**/**.md": "aspnetcore-migration",
"mobile/**/**.md": "aspnetcore-mobile",
"mvc/**/**.md": "aspnetcore-mvc",

View File

@ -2,13 +2,9 @@
title: Get started with ASP.NET Core
author: rick-anderson
description: A quick tutorial that creates and runs a simple Hello World app using ASP.NET Core.
manager: wpickett
ms.author: riande
ms.custom: mvc
ms.date: 5/31/2018
ms.prod: asp.net-core
ms.technology: aspnet
ms.topic: get-started-article
ms.date: 05/31/2018
uid: getting-started
---
# Get started with ASP.NET Core
@ -35,7 +31,7 @@ uid: getting-started
The preceding command displays the following dialog:
![Security warning dialog](getting-started/_static/cert.png)
![Security warning dialog](_static/cert.png)
Select **Yes** if you agree to trust the development certificate.
@ -70,7 +66,7 @@ uid: getting-started
6. Open *Pages/About.cshtml* and modify the page with the following highlighted markup:
[!code-cshtml[](getting-started/sample/getting-started/about.cshtml?highlight=9)]
[!code-cshtml[](sample/getting-started/about.cshtml?highlight=9)]
7. Browse to [http://localhost:5001/About](http://localhost:5001/About) and verify the changes are displayed.
@ -101,7 +97,7 @@ uid: getting-started
5. Open *Pages/About.cshtml* and modify the page to display the message "Hello, world! The time on the server is @DateTime.Now":
[!code-cshtml[](getting-started/sample/getting-started/about.cshtml?highlight=9&range=1-9)]
[!code-cshtml[](sample/getting-started/about.cshtml?highlight=9&range=1-9)]
6. Browse to [http://localhost:5000/About](http://localhost:5000/About) and verify the changes.

View File

@ -1,18 +0,0 @@
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
namespace aspnetcoreapp
{
public class Startup
{
public void Configure(IApplicationBuilder app)
{
app.Run(context =>
{
return context.Response.WriteAsync("Hello from ASP.NET Core!");
});
}
}
}

View File

@ -4,7 +4,7 @@
# [What's new](xref:aspnetcore-2.0)
# [What's new](xref:aspnetcore-1.1)
# [Get started](getting-started.md)
# [Get started](xref:getting-started)
## [Create a web app](xref:razor-pages/index)
## [Create a Web API](xref:tutorials/first-web-api)