Skip to content

Commit bdcb82d

Browse files
Copilotdanroth27
andcommitted
Replace .NET Core with .NET in tutorials documentation
Co-authored-by: danroth27 <1874516+danroth27@users.noreply.github.com>
1 parent 099b9b3 commit bdcb82d

26 files changed

Lines changed: 69 additions & 69 deletions

File tree

aspnetcore/tutorials/dotnet-watch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Navigate to the product API (`http://localhost:<port number>/api/math/product?a=
4343

4444
## Add `dotnet watch` to a project
4545

46-
The `dotnet watch` file watcher tool is included with version 2.1.300 of the .NET Core SDK. The following steps are required when using an earlier version of the .NET Core SDK.
46+
The `dotnet watch` file watcher tool is included with version 2.1.300 of the .NET SDK. The following steps are required when using an earlier version of the .NET SDK.
4747

4848
1. Add a `Microsoft.DotNet.Watcher.Tools` package reference to the `.csproj` file:
4949

aspnetcore/tutorials/first-mongo-app/includes/first-mongo-app3-5.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ In this tutorial, you learn how to:
1717

1818
# [Visual Studio](#tab/visual-studio)
1919

20-
* [.NET Core SDK 3.0 or later](https://dotnet.microsoft.com/download/dotnet-core)
20+
* [.NET SDK 3.0 or later](https://dotnet.microsoft.com/download/dotnet-core)
2121
* [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=learn.microsoft.com&utm_campaign=inline+link&utm_content=download+vs2019) with the **ASP.NET and web development** workload
2222
* [MongoDB](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/)
2323

2424
# [Visual Studio Code](#tab/visual-studio-code)
2525

26-
* [.NET Core SDK 3.0 or later](https://dotnet.microsoft.com/download/dotnet-core)
26+
* [.NET SDK 3.0 or later](https://dotnet.microsoft.com/download/dotnet-core)
2727
* [Visual Studio Code](https://code.visualstudio.com/download)
2828
* [C# for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp)
2929
* [MongoDB](https://docs.mongodb.com/manual/administration/install-community/)
3030

3131
# [Visual Studio for Mac](#tab/visual-studio-mac)
3232

33-
* [.NET Core SDK 3.0 or later](https://dotnet.microsoft.com/download/dotnet-core)
33+
* [.NET SDK 3.0 or later](https://dotnet.microsoft.com/download/dotnet-core)
3434
* [Visual Studio for Mac version 7.7 or later](https://visualstudio.microsoft.com/downloads/)
3535
* [MongoDB](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/)
3636

@@ -132,7 +132,7 @@ The database is ready. You can start creating the ASP.NET Core web API.
132132
1. Go to **File** > **New** > **Project**.
133133
1. Select the **ASP.NET Core Web Application** project type, and select **Next**.
134134
1. Name the project *BooksApi*, and select **Create**.
135-
1. Select the **.NET Core** target framework and **ASP.NET Core 3.0**. Select the **API** project template, and select **Create**.
135+
1. Select the **.NET** target framework and **ASP.NET Core 3.0**. Select the **API** project template, and select **Create**.
136136
1. Visit the [NuGet Gallery: MongoDB.Driver](https://www.nuget.org/packages/MongoDB.Driver/) to determine the latest stable version of the .NET driver for MongoDB. In the **Package Manager Console** window, navigate to the project root. Run the following command to install the .NET driver for MongoDB:
137137

138138
```powershell
@@ -148,7 +148,7 @@ The database is ready. You can start creating the ASP.NET Core web API.
148148
code BooksApi
149149
```
150150

151-
A new ASP.NET Core web API project targeting .NET Core is generated and opened in Visual Studio Code.
151+
A new ASP.NET Core web API project targeting .NET is generated and opened in Visual Studio Code.
152152

153153
1. After the status bar's OmniSharp flame icon turns green, a dialog asks **Required assets to build and debug are missing from 'BooksApi'. Add them?**. Select **Yes**.
154154
1. Visit the [NuGet Gallery: MongoDB.Driver](https://www.nuget.org/packages/MongoDB.Driver/) to determine the latest stable version of the .NET driver for MongoDB. Open **Integrated Terminal** and navigate to the project root. Run the following command to install the .NET driver for MongoDB:
@@ -159,9 +159,9 @@ The database is ready. You can start creating the ASP.NET Core web API.
159159

160160
# [Visual Studio for Mac](#tab/visual-studio-mac)
161161

162-
1. In Visual Studio for Mac earlier than version 8.6, select **File** > **New Solution** > **.NET Core** > **App** from the sidebar. In version 8.6 or later, select **File** > **New Solution** > **Web and Console** > **App** from the sidebar.
162+
1. In Visual Studio for Mac earlier than version 8.6, select **File** > **New Solution** > **.NET** > **App** from the sidebar. In version 8.6 or later, select **File** > **New Solution** > **Web and Console** > **App** from the sidebar.
163163
1. Select the **ASP.NET Core** > **API** C# project template, and select **Next**.
164-
1. Select **.NET Core 3.1** from the **Target Framework** drop-down list, and select **Next**.
164+
1. Select **.NET 3.1** from the **Target Framework** drop-down list, and select **Next**.
165165
1. Enter *BooksApi* for the **Project Name**, and select **Create**.
166166
1. In the **Solution** pad, right-click the project's **Dependencies** node and select **Add Packages**.
167167
1. Enter *MongoDB.Driver* in the search box, select the *MongoDB.Driver* package, and select **Add Package**.

aspnetcore/tutorials/first-mvc-app/start-mvc/includes/start-mvc3.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ At the end of the series, you'll have an app that manages and displays movie dat
4444

4545
![Configure your new project](~/tutorials/first-mvc-app/start-mvc/_static/config.png)
4646

47-
* Select **Web Application(Model-View-Controller)**. From the dropdown boxes, select **.NET Core** and **ASP.NET Core 3.1**, then select **Create**.
47+
* Select **Web Application(Model-View-Controller)**. From the dropdown boxes, select **.NET** and **ASP.NET Core 3.1**, then select **Create**.
4848

49-
![New project dialog, .NET Core in left pane, ASP.NET Core web](~/tutorials/first-mvc-app/start-mvc/_static/new_project30.png)
49+
![New project dialog, .NET in left pane, ASP.NET Core web](~/tutorials/first-mvc-app/start-mvc/_static/new_project30.png)
5050

5151
Visual Studio used the default project template for the created MVC project. The created project:
5252

@@ -77,7 +77,7 @@ The tutorial assumes familiarity with VS Code. For more information, see [Gettin
7777

7878
![macOS New solution](~/tutorials/first-mvc-app/start-mvc/_static/new_project_vsmac.png)
7979

80-
* In Visual Studio for Mac earlier than version 8.6, select **.NET Core** > **App** > **Web Application (Model-View-Controller)** > **Next**. In version 8.6 or later, select **Web and Console** > **App** > **Web Application (Model-View-Controller)** > **Next**.
80+
* In Visual Studio for Mac earlier than version 8.6, select **.NET** > **App** > **Web Application (Model-View-Controller)** > **Next**. In version 8.6 or later, select **Web and Console** > **App** > **Web Application (Model-View-Controller)** > **Next**.
8181

8282
![macOS web app template selection](~/tutorials/first-mvc-app/start-mvc/_static/web_app_template_vsmac.png)
8383

aspnetcore/tutorials/first-mvc-app/start-mvc/includes/start-mvc5.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ At the end of the series, you'll have an app that manages and displays movie dat
3939
* In the **Configure your new project** dialog, enter `MvcMovie` for **Project name**. It's important to name the project *MvcMovie*. Capitalization needs to match each `namespace` matches when code is copied.
4040
* Select **Create**.
4141
* In the **Create a new ASP.NET Core web application** dialog, select:
42-
* **.NET Core** and **ASP.NET Core 5.0** in the dropdowns.
42+
* **.NET** and **ASP.NET Core 5.0** in the dropdowns.
4343
* **ASP.NET Core Web App (Model-View-Controller)**.
4444
* **Create**.
4545

@@ -77,7 +77,7 @@ The tutorial assumes familiarity with VS Code. For more information, see [Gettin
7777

7878
![macOS New solution](~/tutorials/first-mvc-app/start-mvc/_static/new_project_vsmac.png)
7979

80-
* In Visual Studio for Mac earlier than version 8.6, select **.NET Core** > **App** > **Web Application (Model-View-Controller)** > **Next**. In version 8.6 or later, select **Web and Console** > **App** > **Web Application (Model-View-Controller)** > **Next**.
80+
* In Visual Studio for Mac earlier than version 8.6, select **.NET** > **App** > **Web Application (Model-View-Controller)** > **Next**. In version 8.6 or later, select **Web and Console** > **App** > **Web Application (Model-View-Controller)** > **Next**.
8181

8282
![macOS web app template selection](~/tutorials/first-mvc-app/start-mvc/_static/web_app_template_vsmac.png)
8383

aspnetcore/tutorials/first-mvc-app/start-mvc/includes/start-mvc6.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ For Visual Studio for Mac, see the .NET 7 version of this tutorial.
8282
8383
![macOS New solution](~/tutorials/first-mvc-app/start-mvc/_static/new_project_vsmac.png)
8484
85-
* In Visual Studio for Mac earlier than version 8.6, select **.NET Core** > **App** > **Web Application (Model-View-Controller)** > **Next**. In version 8.6 or later, select **Web and Console** > **App** > **Web Application (Model-View-Controller)** > **Next**.
85+
* In Visual Studio for Mac earlier than version 8.6, select **.NET** > **App** > **Web Application (Model-View-Controller)** > **Next**. In version 8.6 or later, select **Web and Console** > **App** > **Web Application (Model-View-Controller)** > **Next**.
8686
8787
![macOS web app template selection](~/tutorials/first-mvc-app/start-mvc/_static/web_app_template_vsmac.png)
8888

aspnetcore/tutorials/getting-started-with-swashbuckle/includes/getting-started-with-swashbuckle8.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ In the `Startup.Configure` method, enable the middleware for serving the generat
302302
> Swashbuckle relies on MVC's <xref:Microsoft.AspNetCore.Mvc.ApiExplorer> to discover the routes and endpoints. If the project calls <xref:Microsoft.Extensions.DependencyInjection.MvcServiceCollectionExtensions.AddMvc%2A>, routes and endpoints are discovered automatically. When calling <xref:Microsoft.Extensions.DependencyInjection.MvcCoreServiceCollectionExtensions.AddMvcCore%2A>, the <xref:Microsoft.Extensions.DependencyInjection.MvcApiExplorerMvcCoreBuilderExtensions.AddApiExplorer%2A> method must be explicitly called. For more information, see [Swashbuckle, ApiExplorer, and Routing](https://github.com/domaindrivendev/Swashbuckle.AspNetCore#swashbuckle-apiexplorer-and-routing).
303303
304304
In development, the preceding `UseSwaggerUI` method call enables an embedded version of the Swagger UI tool. This depends on
305-
the [Static File Middleware](xref:fundamentals/static-files). If targeting .NET Framework or .NET Core 1.x, add the [Microsoft.AspNetCore.StaticFiles](https://www.nuget.org/packages/Microsoft.AspNetCore.StaticFiles/) NuGet package to the project.
305+
the [Static File Middleware](xref:fundamentals/static-files). If targeting .NET Framework or .NET 1.x, add the [Microsoft.AspNetCore.StaticFiles](https://www.nuget.org/packages/Microsoft.AspNetCore.StaticFiles/) NuGet package to the project.
306306

307307
Launch the app, and navigate to `http://localhost:<port>/swagger/v1/swagger.json`. The generated document describing the endpoints appears as shown in [OpenAPI specification (openapi.json)](xref:tutorials/web-api-help-pages-using-swagger#openapi-specification-openapijson).
308308

@@ -518,13 +518,13 @@ To support the `[ProducesResponseType]` decoration, the [Swashbuckle.AspNetCore.
518518

519519
The default UI is both functional and presentable. However, API documentation pages should represent your brand or theme. Branding the Swashbuckle components requires adding the resources to serve static files and building the folder structure to host those files.
520520

521-
If targeting .NET Framework or .NET Core 1.x, add the [Microsoft.AspNetCore.StaticFiles](https://www.nuget.org/packages/Microsoft.AspNetCore.StaticFiles) NuGet package to the project:
521+
If targeting .NET Framework or .NET 1.x, add the [Microsoft.AspNetCore.StaticFiles](https://www.nuget.org/packages/Microsoft.AspNetCore.StaticFiles) NuGet package to the project:
522522

523523
```xml
524524
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.1.1" />
525525
```
526526

527-
The preceding NuGet package is already installed if targeting .NET Core 2.x and using the [metapackage](xref:fundamentals/metapackage).
527+
The preceding NuGet package is already installed if targeting .NET 2.x and using the [metapackage](xref:fundamentals/metapackage).
528528

529529
Enable Static File Middleware:
530530

aspnetcore/tutorials/grpc/grpc-start.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Create a .NET Core gRPC client and server in ASP.NET Core
2+
title: Create a .NET gRPC client and server in ASP.NET Core
33
author: jamesnk
44
description: This tutorial shows how to create a gRPC Service and gRPC client on ASP.NET Core. Learn how to create a gRPC Service project, edit a proto file, and add a duplex streaming call.
55
monikerRange: '>= aspnetcore-3.0'
@@ -10,7 +10,7 @@ uid: tutorials/grpc/grpc-start
1010
# Tutorial: Create a gRPC client and server in ASP.NET Core
1111

1212
:::moniker range=">= aspnetcore-9.0"
13-
This tutorial shows how to create a .NET Core [gRPC](xref:grpc/index) client and an ASP.NET Core gRPC Server. At the end, you'll have a gRPC client that communicates with the gRPC Greeter service.
13+
This tutorial shows how to create a .NET [gRPC](xref:grpc/index) client and an ASP.NET Core gRPC Server. At the end, you'll have a gRPC client that communicates with the gRPC Greeter service.
1414

1515
In this tutorial, you:
1616

@@ -119,7 +119,7 @@ info: Microsoft.Hosting.Lifetime[0]
119119

120120
The gRPC client project requires the following NuGet packages:
121121

122-
* [Grpc.Net.Client](https://www.nuget.org/packages/Grpc.Net.Client), which contains the .NET Core client.
122+
* [Grpc.Net.Client](https://www.nuget.org/packages/Grpc.Net.Client), which contains the .NET client.
123123
* [Google.Protobuf](https://www.nuget.org/packages/Google.Protobuf/), which contains protobuf message APIs for C#.
124124
* [Grpc.Tools](https://www.nuget.org/packages/Grpc.Tools/), which contain C# tooling support for protobuf files. The tooling package isn't required at runtime, so the dependency is marked with `PrivateAssets="All"`.
125125

aspnetcore/tutorials/grpc/grpc-start/includes/grpc-start3.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:::moniker range=">= aspnetcore-3.0 < aspnetcore-5.0"
22

3-
This tutorial shows how to create a .NET Core [gRPC](xref:grpc/index) client and an ASP.NET Core gRPC Server.
3+
This tutorial shows how to create a .NET [gRPC](xref:grpc/index) client and an ASP.NET Core gRPC Server.
44

55
At the end, you'll have a gRPC client that communicates with the gRPC Greeter service.
66

@@ -26,7 +26,7 @@ In this tutorial, you:
2626
# [Visual Studio for Mac](#tab/visual-studio-mac)
2727

2828
* [Visual Studio for Mac version 8.7 or later](/visualstudio/releasenotes/vs2019-mac-relnotes)
29-
* [!INCLUDE [.NET Core 3.1 SDK](~/includes/3.1-SDK.md)]
29+
* [!INCLUDE [.NET 3.1 SDK](~/includes/3.1-SDK.md)]
3030

3131
---
3232

@@ -69,7 +69,7 @@ In this tutorial, you:
6969

7070
![Create a new project dialog on macOS](~/tutorials/grpc/grpc-start/static/cnp-mac.png)
7171

72-
* Select **.NET Core 3.1** for the target framework and select **Next**.
72+
* Select **.NET 3.1** for the target framework and select **Next**.
7373
* Name the project **GrpcGreeter**. It's important to name the project *GrpcGreeter* so the namespaces match when you copy and paste code.
7474
* Select **Create**.
7575
---
@@ -109,7 +109,7 @@ info: Microsoft.Hosting.Lifetime[0]
109109
# [Visual Studio](#tab/visual-studio)
110110

111111
* Open a second instance of Visual Studio and select **Create a new project**.
112-
* In the **Create a new project** dialog, select **Console App (.NET Core)** and select **Next**.
112+
* In the **Create a new project** dialog, select **Console App (.NET)** and select **Next**.
113113
* In the **Project name** text box, enter **GrpcGreeterClient** and select **Create**.
114114

115115
# [Visual Studio Code](#tab/visual-studio-code)
@@ -125,15 +125,15 @@ info: Microsoft.Hosting.Lifetime[0]
125125

126126
# [Visual Studio for Mac](#tab/visual-studio-mac)
127127

128-
Follow the instructions in [Building a complete .NET Core solution on macOS using Visual Studio for Mac](/dotnet/core/tutorials/using-on-mac-vs-full-solution) to create a console app with the name *GrpcGreeterClient*.
128+
Follow the instructions in [Building a complete .NET solution on macOS using Visual Studio for Mac](/dotnet/core/tutorials/using-on-mac-vs-full-solution) to create a console app with the name *GrpcGreeterClient*.
129129

130130
---
131131

132132
### Add required packages
133133

134134
The gRPC client project requires the following packages:
135135

136-
* [Grpc.Net.Client](https://www.nuget.org/packages/Grpc.Net.Client), which contains the .NET Core client.
136+
* [Grpc.Net.Client](https://www.nuget.org/packages/Grpc.Net.Client), which contains the .NET client.
137137
* [Google.Protobuf](https://www.nuget.org/packages/Google.Protobuf/), which contains protobuf message APIs for C#.
138138
* [Grpc.Tools](https://www.nuget.org/packages/Grpc.Tools/), which contains C# tooling support for protobuf files. The tooling package isn't required at runtime, so the dependency is marked with `PrivateAssets="All"`.
139139

aspnetcore/tutorials/grpc/grpc-start/includes/grpc-start5.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:::moniker range="= aspnetcore-5.0"
22

3-
This tutorial shows how to create a .NET Core [gRPC](xref:grpc/index) client and an ASP.NET Core gRPC Server.
3+
This tutorial shows how to create a .NET [gRPC](xref:grpc/index) client and an ASP.NET Core gRPC Server.
44

55
At the end, you'll have a gRPC client that communicates with the gRPC Greeter service.
66

@@ -26,7 +26,7 @@ In this tutorial, you:
2626
# [Visual Studio for Mac](#tab/visual-studio-mac)
2727

2828
* [Visual Studio for Mac version 8.7 or later](/visualstudio/releasenotes/vs2019-mac-relnotes)
29-
* [!INCLUDE [.NET Core 3.1 SDK](~/includes/5.0-SDK.md)]
29+
* [!INCLUDE [.NET 3.1 SDK](~/includes/5.0-SDK.md)]
3030

3131
---
3232

@@ -104,7 +104,7 @@ info: Microsoft.Hosting.Lifetime[0]
104104
# [Visual Studio](#tab/visual-studio)
105105

106106
* Open a second instance of Visual Studio and select **Create a new project**.
107-
* In the **Create a new project** dialog, select **Console App (.NET Core)** and select **Next**.
107+
* In the **Create a new project** dialog, select **Console App (.NET)** and select **Next**.
108108
* In the **Project name** text box, enter **GrpcGreeterClient** and select **Create**.
109109

110110
# [Visual Studio Code](#tab/visual-studio-code)
@@ -124,15 +124,15 @@ info: Microsoft.Hosting.Lifetime[0]
124124

125125
# [Visual Studio for Mac](#tab/visual-studio-mac)
126126

127-
Follow the instructions in [Building a complete .NET Core solution on macOS using Visual Studio for Mac](/dotnet/core/tutorials/using-on-mac-vs-full-solution) to create a console app with the name *GrpcGreeterClient*.
127+
Follow the instructions in [Building a complete .NET solution on macOS using Visual Studio for Mac](/dotnet/core/tutorials/using-on-mac-vs-full-solution) to create a console app with the name *GrpcGreeterClient*.
128128

129129
---
130130

131131
### Add required packages
132132

133133
The gRPC client project requires the following packages:
134134

135-
* [Grpc.Net.Client](https://www.nuget.org/packages/Grpc.Net.Client), which contains the .NET Core client.
135+
* [Grpc.Net.Client](https://www.nuget.org/packages/Grpc.Net.Client), which contains the .NET client.
136136
* [Google.Protobuf](https://www.nuget.org/packages/Google.Protobuf/), which contains protobuf message APIs for C#.
137137
* [Grpc.Tools](https://www.nuget.org/packages/Grpc.Tools/), which contains C# tooling support for protobuf files. The tooling package isn't required at runtime, so the dependency is marked with `PrivateAssets="All"`.
138138

aspnetcore/tutorials/grpc/grpc-start/includes/grpc-start6.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:::moniker range="= aspnetcore-6.0"
2-
This tutorial shows how to create a .NET Core [gRPC](xref:grpc/index) client and an ASP.NET Core gRPC Server. At the end, you'll have a gRPC client that communicates with the gRPC Greeter service.
2+
This tutorial shows how to create a .NET [gRPC](xref:grpc/index) client and an ASP.NET Core gRPC Server. At the end, you'll have a gRPC client that communicates with the gRPC Greeter service.
33

44
In this tutorial, you:
55

@@ -118,15 +118,15 @@ info: Microsoft.Hosting.Lifetime[0]
118118

119119
# [Visual Studio for Mac](#tab/visual-studio-mac)
120120

121-
Follow the instructions in [Building a complete .NET Core solution on macOS using Visual Studio for Mac](/dotnet/core/tutorials/using-on-mac-vs-full-solution) to create a console app with the name *GrpcGreeterClient*.
121+
Follow the instructions in [Building a complete .NET solution on macOS using Visual Studio for Mac](/dotnet/core/tutorials/using-on-mac-vs-full-solution) to create a console app with the name *GrpcGreeterClient*.
122122

123123
---
124124

125125
### Add required NuGet packages
126126

127127
The gRPC client project requires the following NuGet packages:
128128

129-
* [Grpc.Net.Client](https://www.nuget.org/packages/Grpc.Net.Client), which contains the .NET Core client.
129+
* [Grpc.Net.Client](https://www.nuget.org/packages/Grpc.Net.Client), which contains the .NET client.
130130
* [Google.Protobuf](https://www.nuget.org/packages/Google.Protobuf/), which contains protobuf message APIs for C#.
131131
* [Grpc.Tools](https://www.nuget.org/packages/Grpc.Tools/), which contain C# tooling support for protobuf files. The tooling package isn't required at runtime, so the dependency is marked with `PrivateAssets="All"`.
132132

0 commit comments

Comments
 (0)