diff --git a/.openpublishing.redirection.json b/.openpublishing.redirection.json index 232b3c2db8..a1bb76d270 100644 --- a/.openpublishing.redirection.json +++ b/.openpublishing.redirection.json @@ -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 } ] } diff --git a/aspnetcore/docfx.json b/aspnetcore/docfx.json index e29675ed60..d5b813041d 100644 --- a/aspnetcore/docfx.json +++ b/aspnetcore/docfx.json @@ -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", diff --git a/aspnetcore/getting-started.md b/aspnetcore/getting-started/index.md similarity index 91% rename from aspnetcore/getting-started.md rename to aspnetcore/getting-started/index.md index d98225697b..e50e3103c6 100644 --- a/aspnetcore/getting-started.md +++ b/aspnetcore/getting-started/index.md @@ -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. diff --git a/aspnetcore/getting-started/sample/aspnetcoreapp/Startup.cs b/aspnetcore/getting-started/sample/aspnetcoreapp/Startup.cs deleted file mode 100644 index 4c17e202c3..0000000000 --- a/aspnetcore/getting-started/sample/aspnetcoreapp/Startup.cs +++ /dev/null @@ -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!"); - }); - } - } -} diff --git a/aspnetcore/toc.md b/aspnetcore/toc.md index 7d9231b6f5..0aad70d6f2 100644 --- a/aspnetcore/toc.md +++ b/aspnetcore/toc.md @@ -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)