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 #10559pull/14184/head
parent
1e93eb75f8
commit
dd2d253b2a
|
@ -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 <xref:fundamentals/static-files>.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue