You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/host-and-deploy/iis/index.md
+20-25Lines changed: 20 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,22 @@ description: Learn how to host ASP.NET Core apps on Windows Server Internet Info
5
5
monikerRange: '>= aspnetcore-2.1'
6
6
ms.author: riande
7
7
ms.custom: mvc
8
-
ms.date: 02/07/2020
8
+
ms.date: 04/17/2020
9
9
uid: host-and-deploy/iis/index
10
10
---
11
11
# Host ASP.NET Core on Windows with IIS
12
12
13
+
<!--
14
+
15
+
NOTE FOR 5.0
16
+
17
+
When making the 5.0 version of this topic, remove the Hosting Bundle
18
+
direct download section from the (new) <5.0 & >2.2 version and modify
19
+
the text and heading for the *Earlier versions of the installer*
20
+
section. See the 2.2 version for an example.
21
+
22
+
-->
23
+
13
24
::: moniker range=">= aspnetcore-3.0"
14
25
15
26
For a tutorial experience on publishing an ASP.NET Core app to an IIS server, see <xref:tutorials/publish-to-iis>.
@@ -244,9 +255,9 @@ Download the installer using the following link:
244
255
To obtain an earlier version of the installer:
245
256
246
257
1. Navigate to the [Download .NET Core](https://dotnet.microsoft.com/download/dotnet-core) page.
247
-
1.Click on the desired .NET Core version.
258
+
1.Select the desired .NET Core version.
248
259
1. In the **Run apps - Runtime** column, find the row of the .NET Core runtime version desired.
249
-
1. Download the installer using the **Runtime & Hosting Bundle** link.
260
+
1. Download the installer using the **Hosting Bundle** link.
250
261
251
262
> [!WARNING]
252
263
> Some installers contain release versions that have reached their end of life (EOL) and are no longer supported by Microsoft. For more information, see the [support policy](https://dotnet.microsoft.com/platform/support/policy/dotnet-core).
@@ -840,20 +851,12 @@ Install the *.NET Core Hosting Bundle* on the hosting system. The bundle install
840
851
>
841
852
> If the Hosting Bundle is installed after installing the 64-bit (x64) version of .NET Core, SDKs might appear to be missing ([No .NET Core SDKs were detected](xref:test/troubleshoot#no-net-core-sdks-were-detected)). To resolve the problem, see <xref:test/troubleshoot#missing-sdk-after-installing-the-net-core-hosting-bundle>.
1. Navigate to the [Download .NET Core](https://dotnet.microsoft.com/download/dotnet-core) page.
854
-
1.Click on the desired .NET Core version.
857
+
1.Select the desired .NET Core version.
855
858
1. In the **Run apps - Runtime** column, find the row of the .NET Core runtime version desired.
856
-
1. Download the installer using the **Runtime & Hosting Bundle** link.
859
+
1. Download the installer using the **Hosting Bundle** link.
857
860
858
861
> [!WARNING]
859
862
> Some installers contain release versions that have reached their end of life (EOL) and are no longer supported by Microsoft. For more information, see the [support policy](https://dotnet.microsoft.com/platform/support/policy/dotnet-core).
@@ -1416,20 +1419,12 @@ Install the *.NET Core Hosting Bundle* on the hosting system. The bundle install
1416
1419
>
1417
1420
> If the Hosting Bundle is installed after installing the 64-bit (x64) version of .NET Core, SDKs might appear to be missing ([No .NET Core SDKs were detected](xref:test/troubleshoot#no-net-core-sdks-were-detected)). To resolve the problem, see <xref:test/troubleshoot#missing-sdk-after-installing-the-net-core-hosting-bundle>.
1. Navigate to the [Download .NET Core](https://dotnet.microsoft.com/download/dotnet-core) page.
1430
-
1.Click on the desired .NET Core version.
1425
+
1.Select the desired .NET Core version.
1431
1426
1. In the **Run apps - Runtime** column, find the row of the .NET Core runtime version desired.
1432
-
1. Download the installer using the **Runtime & Hosting Bundle** link.
1427
+
1. Download the installer using the **Hosting Bundle** link.
1433
1428
1434
1429
> [!WARNING]
1435
1430
> Some installers contain release versions that have reached their end of life (EOL) and are no longer supported by Microsoft. For more information, see the [support policy](https://dotnet.microsoft.com/platform/support/policy/dotnet-core).
Copy file name to clipboardExpand all lines: aspnetcore/razor-pages/razor-pages-conventions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ When you need to configure custom page routes for individual pages, configure ro
18
18
19
19
To specify a page route, add route segments, or add parameters to a route, use the page's `@page` directive. For more information, see [Custom routes](xref:razor-pages/index#custom-routes).
20
20
21
-
There are reserved words that can't be used as route segments or parameter names. For more information, see [Routing: Reserved routing names](xref:fundamentals/routing#reserved-routing-names).
21
+
There are reserved words that can't be used as route segments or parameter names. For more information, see [Routing: Reserved routing names](xref:mvc/controllers/routing#reserved-routing-names).
22
22
23
23
[View or download sample code](https://github.com/dotnet/AspNetCore.Docs/tree/master/aspnetcore/razor-pages/razor-pages-conventions/samples/) ([how to download](xref:index#how-to-download-a-sample))
Copy file name to clipboardExpand all lines: aspnetcore/security/cors.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ author: rick-anderson
4
4
description: Learn how CORS as a standard for allowing or rejecting cross-origin requests in an ASP.NET Core app.
5
5
ms.author: riande
6
6
ms.custom: mvc
7
-
ms.date: 01/23/2020
7
+
ms.date: 04/17/2020
8
8
uid: security/cors
9
9
---
10
10
# Enable Cross-Origin Requests (CORS) in ASP.NET Core
@@ -65,7 +65,7 @@ CORS Middleware handles cross-origin requests. The following code applies a CORS
65
65
The preceding code:
66
66
67
67
* Sets the policy name to `_myAllowSpecificOrigins`. The policy name is arbitrary.
68
-
* Calls the <xref:Microsoft.AspNetCore.Builder.CorsMiddlewareExtensions.UseCors*> extension method and specifies the `_myAllowSpecificOrigins` CORS policy. `UseCors` adds the CORS middleware.
68
+
* Calls the <xref:Microsoft.AspNetCore.Builder.CorsMiddlewareExtensions.UseCors*> extension method and specifies the `_myAllowSpecificOrigins` CORS policy. `UseCors` adds the CORS middleware. The call to `UseCors` must be placed after `UseRouting`, but before `UseAuthorization`. For more information, see [Middleware order](xref:fundamentals/middleware/index#middleware-order).
69
69
* Calls <xref:Microsoft.Extensions.DependencyInjection.CorsServiceCollectionExtensions.AddCors*> with a [lambda expression](/dotnet/csharp/programming-guide/statements-expressions-operators/lambda-expressions). The lambda takes a <xref:Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder> object. [Configuration options](#cors-policy-options), such as `WithOrigins`, are described later in this article.
70
70
* Enables the `_myAllowSpecificOrigins` CORS policy for all controller endpoints. See [endpoint routing](#ecors) to apply a CORS policy to specific endpoints.
0 commit comments