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: docs/debugger/remote-debugging-aspnet-on-a-remote-iis-7-5-computer.md
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -53,9 +53,7 @@ This article includes steps on setting up a basic configuration of IIS on Window
53
53
54
54
1. Create a new MVC ASP.NET application.
55
55
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**.
59
57
60
58
Select **MVC** and choose **Create**.
61
59
@@ -83,16 +81,18 @@ If you want more detailed information to install ASP.NET on IIS, see [IIS 8.0 Us
83
81
> [!NOTE]
84
82
> 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.
85
83
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.
87
87
88
-

88
+

89
89
90
90
> [!NOTE]
91
91
> If you are using Windows Server 2008 R2, install ASP.NET 4 instead using this command:
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).
96
96
97
97
## Choose a deployment option
98
98
@@ -125,7 +125,11 @@ After the app deploys successfully, it should start automatically. If the app do
125
125
126
126
1. Switch to a debug configuration.
127
127
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"
129
133
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.
Copy file name to clipboardExpand all lines: docs/debugger/remote-debugging-aspnet-on-a-remote-iis-computer.md
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -48,13 +48,11 @@ This article includes steps on setting up a basic configuration of IIS on Window
48
48
49
49
1. Create a new ASP.NET Core web application.
50
50
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**.
53
52
54
53
Choose either the recommended target framework or .NET 6, and then choose **Create**.
55
-
::: moniker-end
56
54
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).
58
56
59
57
## <aname="bkmk_configureIIS"></a> Install and Configure IIS on Windows Server
60
58
@@ -120,7 +118,11 @@ After the app deploys successfully, it should start automatically. If the app do
120
118
121
119
1. Switch to a debug configuration.
122
120
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"
124
126
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.
Copy file name to clipboardExpand all lines: docs/debugger/remote-debugging-azure.md
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -60,11 +60,9 @@ This article includes steps on setting up a basic configuration of IIS on Window
60
60
61
61
1. Create a new ASP.NET Core web application.
62
62
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**.
65
64
66
65
Choose either the recommended target framework or .NET 6, and then choose **Create**.
67
-
::: moniker-end
68
66
69
67
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).
0 commit comments