From dd2d253b2a50226f473c00e320599fff8c1d2519 Mon Sep 17 00:00:00 2001 From: Wade Pickett Date: Thu, 5 Sep 2019 14:55:07 -0700 Subject: [PATCH] Updates for side-by-side and web root references (#14108) * Just updated sxs link per issue 10559 * Updates for side by side and web root references * updated per tdykstra recommendations, link changes * changes xref to relative link for web root Fixes #10559 --- aspnetcore/fundamentals/index.md | 14 +++++++++++++- aspnetcore/includes/benefits.md | 2 +- aspnetcore/index.md | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/aspnetcore/fundamentals/index.md b/aspnetcore/fundamentals/index.md index 054f23c848..766a5885d2 100644 --- a/aspnetcore/fundamentals/index.md +++ b/aspnetcore/fundamentals/index.md @@ -5,7 +5,7 @@ description: Learn the foundational concepts for building ASP.NET Core apps. monikerRange: '>= aspnetcore-2.1' ms.author: riande ms.custom: mvc -ms.date: 05/11/2019 +ms.date: 09/02/2019 uid: fundamentals/index --- # ASP.NET Core fundamentals @@ -264,6 +264,18 @@ For more information, see [Content root](xref:fundamentals/host/web-host#content The web root (also known as *webroot*) is the base path to public, static resources, such as CSS, JavaScript, and image files. The static files middleware will only serve files from the web root directory (and sub-directories) by default. The web root path defaults to *{Content Root}/wwwroot*, but a different location can be specified when [building the host](#host). +::: moniker range=">= aspnetcore-3.0" + +For more information, see [ContentRootPath](/aspnet/core/fundamentals/host/generic-host?view=aspnetcore-3.0#contentrootpath) + +::: moniker-end + +::: moniker range="< aspnetcore-3.0" + +For more information, see [Web root](/aspnet/core/fundamentals/host/web-host#webroot). + +::: moniker-end + In Razor (*.cshtml*) files, the tilde-slash `~/` points to the web root. Paths beginning with `~/` are referred to as virtual paths. For more information, see . diff --git a/aspnetcore/includes/benefits.md b/aspnetcore/includes/benefits.md index 4bc9aa0e40..164fbb0003 100644 --- a/aspnetcore/includes/benefits.md +++ b/aspnetcore/includes/benefits.md @@ -11,5 +11,5 @@ ASP.NET Core provides the following benefits: * Built-in [dependency injection](xref:fundamentals/dependency-injection). * A lightweight, [high-performance](https://github.com/aspnet/benchmarks), and modular HTTP request pipeline. * Ability to host on [IIS](xref:host-and-deploy/iis/index), [Nginx](xref:host-and-deploy/linux-nginx), [Apache](xref:host-and-deploy/linux-apache), [Docker](xref:host-and-deploy/docker/index), or self-host in your own process. -* Side-by-side app versioning when targeting [.NET Core](/dotnet/articles/standard/choosing-core-framework-server). +* [Side-by-side versioning](/dotnet/standard/choosing-core-framework-server#a-need-for-side-by-side-of-net-versions-per-application-level). * Tooling that simplifies modern web development. diff --git a/aspnetcore/index.md b/aspnetcore/index.md index 9df0242bfe..9e8ce17536 100644 --- a/aspnetcore/index.md +++ b/aspnetcore/index.md @@ -57,7 +57,7 @@ There are several advantages to targeting .NET Core, and these advantages increa * Cross-platform. Runs on macOS, Linux, and Windows. * Improved performance -* Side-by-side versioning +* [Side-by-side versioning](/dotnet/standard/choosing-core-framework-server#a-need-for-side-by-side-of-net-versions-per-application-level) * New APIs * Open source