Repair Enforcing SSL topic moniker range (#6712)
parent
1cf20df333
commit
cdbe0275d5
|
@ -183,8 +183,6 @@ Run the app.
|
|||
|
||||
Create a Razor Pages web app and a solution file containing the Razor Pages app and the Razor Class Library:
|
||||
|
||||
::: moniker range=">= aspnetcore-2.1"
|
||||
|
||||
```console
|
||||
dotnet new webapp -o WebApp1
|
||||
dotnet new sln
|
||||
|
@ -193,20 +191,6 @@ dotnet sln add RazorUIClassLib
|
|||
dotnet add WebApp1 reference RazorUIClassLib
|
||||
```
|
||||
|
||||
::: moniker-end
|
||||
|
||||
::: moniker range="= aspnetcore-2.0"
|
||||
|
||||
```console
|
||||
dotnet new razor -o WebApp1
|
||||
dotnet new sln
|
||||
dotnet sln add WebApp1
|
||||
dotnet sln add RazorUIClassLib
|
||||
dotnet add WebApp1 reference RazorUIClassLib
|
||||
```
|
||||
|
||||
::: moniker-end
|
||||
|
||||
Build and run the web app:
|
||||
|
||||
```console
|
||||
|
|
|
@ -112,22 +112,10 @@ Uncheck the **Configure for HTTPS** checkbox.
|
|||
|
||||
Use the `--no-https` option. For example
|
||||
|
||||
::: moniker range=">= aspnetcore-2.1"
|
||||
|
||||
```console
|
||||
dotnet new webapp --no-https
|
||||
```
|
||||
|
||||
::: moniker-end
|
||||
|
||||
::: moniker range="= aspnetcore-2.0"
|
||||
|
||||
```console
|
||||
dotnet new razor --no-https
|
||||
```
|
||||
|
||||
::: moniker-end
|
||||
|
||||
---
|
||||
|
||||
::: moniker-end
|
||||
|
|
|
@ -75,22 +75,10 @@ Visual Studio includes the `Microsoft.AspNetCore.SignalR` package containing its
|
|||
|
||||
1. From the **Integrated Terminal**, run the following command:
|
||||
|
||||
::: moniker range=">= aspnetcore-2.1"
|
||||
|
||||
```console
|
||||
dotnet new webapp -o SignalRChat
|
||||
```
|
||||
|
||||
::: moniker-end
|
||||
|
||||
::: moniker range="= aspnetcore-2.0"
|
||||
|
||||
```console
|
||||
dotnet new razor -o SignalRChat
|
||||
```
|
||||
|
||||
::: moniker-end
|
||||
|
||||
2. Install the JavaScript client library using *npm*.
|
||||
|
||||
```console
|
||||
|
|
Loading…
Reference in New Issue