Skip to content

Commit 7afa28a

Browse files
authored
Merge pull request #8438 from MicrosoftDocs/main637981166727778106sync_temp
Repo sync for protected CLA branch
2 parents 1c49957 + 830217a commit 7afa28a

File tree

3 files changed

+19
-15
lines changed

3 files changed

+19
-15
lines changed

docs/debugger/remote-debugging-aspnet-on-a-remote-iis-7-5-computer.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ This article includes steps on setting up a basic configuration of IIS on Window
5353

5454
1. Create a new MVC ASP.NET application.
5555

56-
::: moniker range=">=vs-2019"
57-
In Visual Studio 2019, type **Ctrl + Q** to open the search box, type **asp.net**, choose **Templates**, then choose **Create new ASP.NET Web Application (.NET Framework)**. In the dialog box that appears, name the project **MyASPApp**, and then choose **Create**. Select **MVC** and choose **Create**.
58-
::: moniker-end
56+
In Visual Studio, choose **File** > **Start window** to open the Start window, and then choose **Create a new project**. In the search box, type **asp.net framework**, and then choose **ASP.NET Web Application (.NET Framework)**. In the dialog box that appears, name the project **MyASPApp**, choose **ASP.NET Framework 4.8**, and then choose **Create**.
5957

6058
Select **MVC** and choose **Create**.
6159

@@ -83,16 +81,18 @@ If you want more detailed information to install ASP.NET on IIS, see [IIS 8.0 Us
8381
> [!NOTE]
8482
> The Web Platform Installer reached End-of-Life on 7/1/22. For more information, see [Web Platform Installer - End of support and sunsetting the product/application feed](https://blogs.iis.net/iisteam/web-platform-installer-end-of-support-feed). You can directly install ASP.NET 4.8 from IIS.
8583
86-
1. Use the Web Platform Installer (WebPI) to install ASP.NET 4.5 (from the Server node in Windows Server 2012 R2, choose **Get New Web Platform Components** and then search for ASP.NET)
84+
1. In the left pane of Server Manager, select **IIS**. Right-click the server and select **Add Roles and Features**.
85+
86+
1. In the wizard, advance to the **Features** section and install ASP.NET 4.8.
8787

88-
![Screenshot of the Web Platform Installer 5.0 showing the search results for asp.net with the web platform component IIS: ASP.NET 4.5 circled in red.](../debugger/media/remotedbg_iis_aspnet_45.png)
88+
![Screenshot of IIS Add roles and features for IIS: ASP.NET 4.8 selected.](../debugger/media/remote-debug-iis-asp-dotnet-48.png)
8989

9090
> [!NOTE]
9191
> If you are using Windows Server 2008 R2, install ASP.NET 4 instead using this command:
9292
9393
**C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir**
9494

95-
2. Restart the system (or execute **net stop was /y** followed by **net start w3svc** from a command prompt to pick up a change to the system PATH).
95+
1. Restart the system (or execute **net stop was /y** followed by **net start w3svc** from a command prompt to pick up a change to the system PATH).
9696

9797
## Choose a deployment option
9898

@@ -125,7 +125,11 @@ After the app deploys successfully, it should start automatically. If the app do
125125

126126
1. Switch to a debug configuration.
127127

128-
::: moniker range=">=vs-2019"
128+
::: moniker range=">=vs-2022"
129+
Choose **More Options** > **Edit** to edit the profile, and then choose **Settings**. Choose a **Debug** configuration, and then choose **Remove additional files at destination** under the **File Publish** options.
130+
::: moniker-end
131+
132+
::: moniker range="vs-2019"
129133
Choose **Edit** to edit the profile, and then choose **Settings**. Choose a **Debug** configuration, and then choose **Remove additional files at destination** under the **File Publish** options.
130134
::: moniker-end
131135

docs/debugger/remote-debugging-aspnet-on-a-remote-iis-computer.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,11 @@ This article includes steps on setting up a basic configuration of IIS on Window
4848

4949
1. Create a new ASP.NET Core web application.
5050

51-
::: moniker range=">=vs-2019"
52-
In Visual Studio 2019, choose **Create a new project** in the start window. If the start window is not open, choose **File** > **Start Window**. Type **web app**, choose **C#** as the language, then choose **ASP.NET Core Web Application (Model-View-Controller)**, and then choose **Next**. On the next screen, name the project **MyASPApp**, and then choose **Next**.
51+
In Visual Studio, choose **File** > **Start window** to open the Start window, and then choose **Create a new project**. In the search box, type **web app**, then choose **C#** as the language, then choose **ASP.NET Core Web Application (Model-View-Controller)**, and then choose **Next**. On the next screen, name the project **MyASPApp**, and then choose **Next**.
5352

5453
Choose either the recommended target framework or .NET 6, and then choose **Create**.
55-
::: moniker-end
5654

57-
4. Open the About.cshtml.cs file and set a breakpoint in the `OnGet` method (in older templates, open HomeController.cs instead and set the breakpoint in the `About()` method).
55+
2. Open the About.cshtml.cs file and set a breakpoint in the `OnGet` method (in older templates, open HomeController.cs instead and set the breakpoint in the `About()` method).
5856

5957
## <a name="bkmk_configureIIS"></a> Install and Configure IIS on Windows Server
6058

@@ -120,7 +118,11 @@ After the app deploys successfully, it should start automatically. If the app do
120118

121119
1. Switch to a debug configuration.
122120

123-
::: moniker range=">=vs-2019"
121+
::: moniker range=">=vs-2022"
122+
Choose **More Options** > **Edit** to edit the profile, and then choose **Settings**. Choose a **Debug** configuration, and then choose **Remove additional files at destination** under the **File Publish** options.
123+
::: moniker-end
124+
125+
::: moniker range="vs-2019"
124126
Choose **Edit** to edit the profile, and then choose **Settings**. Choose a **Debug** configuration, and then choose **Remove additional files at destination** under the **File Publish** options.
125127
::: moniker-end
126128

docs/debugger/remote-debugging-azure.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,9 @@ This article includes steps on setting up a basic configuration of IIS on Window
6060

6161
1. Create a new ASP.NET Core web application.
6262

63-
::: moniker range=">=vs-2019"
64-
In Visual Studio 2019, choose **Create a new project** in the start window. If the start window is not open, choose **File** > **Start Window**. Type **web app**, choose **C#** as the language, then choose **ASP.NET Core Web Application (Model-View-Controller)**, and then choose **Next**. On the next screen, name the project **MyASPApp**, and then choose **Next**.
63+
In Visual Studio, choose **File** > **Start window** to open the Start window, and then choose **Create a new project**. In the search box, type **web app**, then choose **C#** as the language, then choose **ASP.NET Core Web Application (Model-View-Controller)**, and then choose **Next**. On the next screen, name the project **MyASPApp**, and then choose **Next**.
6564

6665
Choose either the recommended target framework or .NET 6, and then choose **Create**.
67-
::: moniker-end
6866

6967
1. Open the About.cshtml.cs file and set a breakpoint in the `OnGet` method (in older templates, open HomeController.cs instead and set the breakpoint in the `About()` method).
7068

0 commit comments

Comments
 (0)