Skip to content

Commit 44f07c2

Browse files
authored
Drop "Core" from .NET Core (#5068)
Closes #5067
1 parent 7da78f8 commit 44f07c2

File tree

31 files changed

+71
-71
lines changed

31 files changed

+71
-71
lines changed

entity-framework/core/cli/dbcontext-creation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Both <xref:Microsoft.EntityFrameworkCore.Design.IDesignTimeDbContextFactory`1.Cr
4242

4343
You can specify these arguments from the tools:
4444

45-
### [.NET Core CLI](#tab/dotnet-core-cli)
45+
### [.NET CLI](#tab/dotnet-core-cli)
4646

4747
```dotnetcli
4848
dotnet ef database update -- --environment Production

entity-framework/core/cli/dotnet.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: EF Core tools reference (.NET CLI) - EF Core
3-
description: Reference guide for the Entity Framework Core .NET Core CLI tools
3+
description: Reference guide for the Entity Framework Core .NET CLI tools
44
author: SamMonoRT
55
ms.date: 11/08/2024
66
uid: core/cli/dotnet
77
---
88

9-
# Entity Framework Core tools reference - .NET Core CLI
9+
# Entity Framework Core tools reference - .NET CLI
1010

11-
The command-line interface (CLI) tools for Entity Framework Core perform design-time development tasks. For example, they create [migrations](/aspnet/core/data/ef-mvc/migrations), apply migrations, and generate code for a model based on an existing database. The commands are an extension to the cross-platform [dotnet](/dotnet/core/tools) command, which is part of the [.NET Core SDK](https://www.microsoft.com/net/core). These tools work with .NET Core projects.
11+
The command-line interface (CLI) tools for Entity Framework Core perform design-time development tasks. For example, they create [migrations](/aspnet/core/data/ef-mvc/migrations), apply migrations, and generate code for a model based on an existing database. The commands are an extension to the cross-platform [dotnet](/dotnet/core/tools) command, which is part of the [.NET SDK](https://www.microsoft.com/net/core). These tools work with .NET projects.
1212

1313
When using Visual Studio, consider using the [Package Manager Console tools](xref:core/cli/powershell) instead of the CLI tools. Package Manager Console tools automatically:
1414

@@ -80,19 +80,19 @@ The commands refer to a *project* and a *startup project*.
8080

8181
The startup project and target project are often the same project. A typical scenario where they are separate projects is when:
8282

83-
* The EF Core context and entity classes are in a .NET Core class library.
84-
* A .NET Core console app or web app references the class library.
83+
* The EF Core context and entity classes are in a .NET class library.
84+
* A .NET console app or web app references the class library.
8585

8686
It's also possible to [put migrations code in a class library separate from the EF Core context](xref:core/managing-schemas/migrations/projects).
8787

8888
### Other target frameworks
8989

90-
The CLI tools work with .NET Core projects and .NET Framework projects. Apps that have the EF Core model in a .NET Standard class library might not have a .NET Core or .NET Framework project. For example, this is true of Xamarin and Universal Windows Platform apps. In such cases, you can create a .NET Core console app project whose only purpose is to act as startup project for the tools. The project can be a dummy project with no real code &mdash; it is only needed to provide a target for the tooling.
90+
The CLI tools work with .NET projects and .NET Framework projects. Apps that have the EF Core model in a .NET Standard class library might not have a .NET or .NET Framework project. For example, this is true of Xamarin and Universal Windows Platform apps. In such cases, you can create a .NET console app project whose only purpose is to act as startup project for the tools. The project can be a dummy project with no real code &mdash; it is only needed to provide a target for the tooling.
9191

9292
> [!IMPORTANT]
9393
> Xamarin.Android, Xamarin.iOS, Xamarin.Mac are now integrated directly into .NET (starting with .NET 6) as .NET for Android, .NET for iOS, and .NET for macOS. If you're building with these project types today, they should be upgraded to .NET SDK-style projects for continued support. For more information about upgrading Xamarin projects to .NET, see the [Upgrade from Xamarin to .NET & .NET MAUI](/dotnet/maui/migration) documentation.
9494
95-
Why is a dummy project required? As mentioned earlier, the tools have to execute application code at design time. To do that, they need to use the .NET Core runtime. When the EF Core model is in a project that targets .NET Core or .NET Framework, the EF Core tools borrow the runtime from the project. They can't do that if the EF Core model is in a .NET Standard class library. The .NET Standard is not an actual .NET implementation; it's a specification of a set of APIs that .NET implementations must support. Therefore .NET Standard is not sufficient for the EF Core tools to execute application code. The dummy project you create to use as startup project provides a concrete target platform into which the tools can load the .NET Standard class library.
95+
Why is a dummy project required? As mentioned earlier, the tools have to execute application code at design time. To do that, they need to use the .NET runtime. When the EF Core model is in a project that targets .NET or .NET Framework, the EF Core tools borrow the runtime from the project. They can't do that if the EF Core model is in a .NET Standard class library. The .NET Standard is not an actual .NET implementation; it's a specification of a set of APIs that .NET implementations must support. Therefore .NET Standard is not sufficient for the EF Core tools to execute application code. The dummy project you create to use as startup project provides a concrete target platform into which the tools can load the .NET Standard class library.
9696

9797
### ASP.NET Core environment
9898

entity-framework/core/cli/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Either of the following tools can be installed, as both tools expose the same fu
1414

1515
* The [EF Core Package Manager Console tools](xref:core/cli/powershell) run in the [Package Manager Console](/nuget/tools/package-manager-console) in Visual Studio. We recommend using these tools if you are developing in Visual Studio as they provide a more integrated experience.
1616

17-
* The [EF Core .NET command-line interface (CLI) tools](xref:core/cli/dotnet) are an extension to the cross-platform [.NET Core CLI tools](/dotnet/core/tools/). These tools require a .NET Core SDK project (one with `Sdk="Microsoft.NET.Sdk"` or similar in the project file).
17+
* The [EF Core .NET command-line interface (CLI) tools](xref:core/cli/dotnet) are an extension to the cross-platform [.NET CLI tools](/dotnet/core/tools/). These tools require a .NET SDK project (one with `Sdk="Microsoft.NET.Sdk"` or similar in the project file).
1818

1919
## Next steps
2020

entity-framework/core/cli/powershell.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ uid: core/cli/powershell
77
---
88
# Entity Framework Core tools reference - Package Manager Console in Visual Studio
99

10-
The Package Manager Console (PMC) tools for Entity Framework Core perform design-time development tasks. For example, they create [migrations](/aspnet/core/data/ef-mvc/migrations), apply migrations, and generate code for a model based on an existing database. The commands run inside of Visual Studio using the [Package Manager Console](/nuget/tools/package-manager-console). These tools work with both .NET Framework and .NET Core projects.
10+
The Package Manager Console (PMC) tools for Entity Framework Core perform design-time development tasks. For example, they create [migrations](/aspnet/core/data/ef-mvc/migrations), apply migrations, and generate code for a model based on an existing database. The commands run inside of Visual Studio using the [Package Manager Console](/nuget/tools/package-manager-console). These tools work with both .NET Framework and .NET projects.
1111

12-
If you aren't using Visual Studio, we recommend the [EF Core Command-line Tools](xref:core/cli/dotnet) instead. The .NET Core CLI tools are cross-platform and run inside a command prompt.
12+
If you aren't using Visual Studio, we recommend the [EF Core Command-line Tools](xref:core/cli/dotnet) instead. The .NET CLI tools are cross-platform and run inside a command prompt.
1313

1414
[!INCLUDE [managed-identities-test-non-production](~/core/includes/managed-identities-test-non-production.md)]
1515

@@ -73,19 +73,19 @@ The commands refer to a *project* and a *startup project*.
7373

7474
The startup project and target project are often the same project. A typical scenario where they are separate projects is when:
7575

76-
* The EF Core context and entity classes are in a .NET Core class library.
77-
* A .NET Core console app or web app references the class library.
76+
* The EF Core context and entity classes are in a .NET class library.
77+
* A .NET console app or web app references the class library.
7878

7979
It's also possible to [put migrations code in a class library separate from the EF Core context](xref:core/managing-schemas/migrations/projects).
8080

8181
### Other target frameworks
8282

83-
The Package Manager Console tools work with .NET Core or .NET Framework projects. Apps that have the EF Core model in a .NET Standard class library might not have a .NET Core or .NET Framework project. For example, this is true of Xamarin and Universal Windows Platform apps. In such cases, you can create a .NET Core or .NET Framework console app project whose only purpose is to act as startup project for the tools. The project can be a dummy project with no real code &mdash; it is only needed to provide a target for the tooling.
83+
The Package Manager Console tools work with .NET or .NET Framework projects. Apps that have the EF Core model in a .NET Standard class library might not have a .NET or .NET Framework project. For example, this is true of Xamarin and Universal Windows Platform apps. In such cases, you can create a .NET or .NET Framework console app project whose only purpose is to act as startup project for the tools. The project can be a dummy project with no real code &mdash; it is only needed to provide a target for the tooling.
8484

8585
> [!IMPORTANT]
8686
> Xamarin.Android, Xamarin.iOS, Xamarin.Mac are now integrated directly into .NET (starting with .NET 6) as .NET for Android, .NET for iOS, and .NET for macOS. If you're building with these project types today, they should be upgraded to .NET SDK-style projects for continued support. For more information about upgrading Xamarin projects to .NET, see the [Upgrade from Xamarin to .NET & .NET MAUI](/dotnet/maui/migration) documentation.
8787
88-
Why is a dummy project required? As mentioned earlier, the tools have to execute application code at design time. To do that, they need to use the .NET Core or .NET Framework runtime. When the EF Core model is in a project that targets .NET Core or .NET Framework, the EF Core tools borrow the runtime from the project. They can't do that if the EF Core model is in a .NET Standard class library. The .NET Standard is not an actual .NET implementation; it's a specification of a set of APIs that .NET implementations must support. Therefore .NET Standard is not sufficient for the EF Core tools to execute application code. The dummy project you create to use as startup project provides a concrete target platform into which the tools can load the .NET Standard class library.
88+
Why is a dummy project required? As mentioned earlier, the tools have to execute application code at design time. To do that, they need to use the .NET or .NET Framework runtime. When the EF Core model is in a project that targets .NET or .NET Framework, the EF Core tools borrow the runtime from the project. They can't do that if the EF Core model is in a .NET Standard class library. The .NET Standard is not an actual .NET implementation; it's a specification of a set of APIs that .NET implementations must support. Therefore .NET Standard is not sufficient for the EF Core tools to execute application code. The dummy project you create to use as startup project provides a concrete target platform into which the tools can load the .NET Standard class library.
8989

9090
### ASP.NET Core environment
9191

entity-framework/core/get-started/overview/first-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ uid: core/get-started/overview/first-app
88

99
# Getting Started with EF Core
1010

11-
In this tutorial, you create a .NET Core console app that performs data access against a SQLite database using Entity Framework Core.
11+
In this tutorial, you create a .NET console app that performs data access against a SQLite database using Entity Framework Core.
1212

1313
You can follow the tutorial by using Visual Studio on Windows, or by using the .NET CLI on Windows, macOS, or Linux.
1414

@@ -51,7 +51,7 @@ cd EFGetStarted
5151

5252
To install EF Core, you install the package for the EF Core database provider(s) you want to target. This tutorial uses SQLite because it runs on all platforms that .NET supports. For a list of available providers, see [Database Providers](xref:core/providers/index).
5353

54-
### [.NET Core CLI](#tab/netcore-cli)
54+
### [.NET CLI](#tab/netcore-cli)
5555

5656
```dotnetcli
5757
dotnet add package Microsoft.EntityFrameworkCore.Sqlite

entity-framework/core/get-started/overview/install.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ uid: core/get-started/overview/install
1818

1919
EF Core is shipped as [NuGet packages](https://www.nuget.org/). To add EF Core to an application, install the NuGet package for the database provider you want to use. See [_Providers_](xref:core/providers/index) for a list of the database providers available.
2020

21-
To install or update NuGet packages, you can use the .NET Core command-line interface (CLI), the Visual Studio Package Manager Dialog, or the Visual Studio Package Manager Console.
21+
To install or update NuGet packages, you can use the .NET command-line interface (CLI), the Visual Studio Package Manager Dialog, or the Visual Studio Package Manager Console.
2222

23-
### .NET Core CLI
23+
### .NET CLI
2424

25-
* Use the following .NET Core CLI command from the operating system's command line to install or update the EF Core SQL Server provider:
25+
* Use the following .NET CLI command from the operating system's command line to install or update the EF Core SQL Server provider:
2626

2727
```dotnetcli
2828
dotnet add package Microsoft.EntityFrameworkCore.SqlServer
@@ -64,15 +64,15 @@ You can install tools to carry out EF Core-related tasks in your project, like c
6464

6565
Two sets of tools are available:
6666

67-
* The [.NET Core command-line interface (CLI) tools](xref:core/cli/dotnet) can be used on Windows, Linux, or macOS. These commands begin with `dotnet ef`.
67+
* The [.NET command-line interface (CLI) tools](xref:core/cli/dotnet) can be used on Windows, Linux, or macOS. These commands begin with `dotnet ef`.
6868

6969
* The [Package Manager Console (PMC) tools](xref:core/cli/powershell) run in Visual Studio on Windows. These commands start with a verb, for example `Add-Migration`, `Update-Database`.
7070

7171
<a name="cli"></a>
7272

73-
### Get the .NET Core CLI tools
73+
### Get the .NET CLI tools
7474

75-
.NET Core CLI tools require the .NET Core SDK, mentioned earlier in [Prerequisites](#prerequisites).
75+
.NET CLI tools require the .NET SDK, mentioned earlier in [Prerequisites](#prerequisites).
7676

7777
* `dotnet ef` must be installed as a global or local tool. Most developers prefer installing `dotnet ef` as a global tool using the following command:
7878

entity-framework/core/get-started/wpf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ You need to have Visual Studio 2019 16.3 or later installed with the **.NET desk
2525

2626
1. Open Visual Studio
2727
2. On the start window, choose **Create new project**.
28-
3. Search for "WPF," choose **WPF App (.NET Core)** and then choose **Next**.
28+
3. Search for "WPF," choose **WPF App (.NET)** and then choose **Next**.
2929
4. At the next screen, give the project a name, for example, **GetStartedWPF**, and choose **Create.**
3030

3131
## Install the Entity Framework NuGet packages

entity-framework/core/learn-more/community-standups.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ Links:
828828

829829
### Aug 10: [CoreWCF: Roadmap and Q&A](https://www.youtube.com/live/OvaYdycmb-U?si=ucnqZXAoXDSCMZqE)
830830

831-
CoreWCF is a port of the service side of Windows Communication Foundation (WCF) to .NET Core. The goal of this project is to enable existing WCF services to move to .NET Core. The CoreWCF team recently conducted a survey and will be talking about some of the responses, answering questions, and sharing insights into their roadmap for the future.
831+
CoreWCF is a port of the service side of Windows Communication Foundation (WCF) to .NET. The goal of this project is to enable existing WCF services to move to .NET. The CoreWCF team recently conducted a survey and will be talking about some of the responses, answering questions, and sharing insights into their roadmap for the future.
832832

833833
Featuring:
834834

@@ -1709,7 +1709,7 @@ Links:
17091709

17101710
### Sep 30: [Geographic Data with NetTopologySuite](https://www.youtube.com/live/IHslY5rrxD0?si=QpNNSZql1UsydmHz)
17111711

1712-
Joe Amenta joins us to discuss how to add spatial data to your applications to open a world of new relationships between data. He will demonstrate the "status quote" for querying spatial data from .NET Core and demo integrations with NetTopologSuite and EF Core.
1712+
Joe Amenta joins us to discuss how to add spatial data to your applications to open a world of new relationships between data. He will demonstrate the "status quote" for querying spatial data from .NET and demo integrations with NetTopologSuite and EF Core.
17131713

17141714
Featuring:
17151715

@@ -1790,7 +1790,7 @@ Links:
17901790

17911791
### Aug 5: [EF Core In Depth Video Series](https://www.youtube.com/live/b-zTazj2vuI?si=A9lCvvHva3AomWe7)
17921792

1793-
Join members from the .NET teams for our community standup covering great community contributions for Framework, .NET Core, Languages, CLI, MSBuild, and more.
1793+
Join members from the .NET teams for our community standup covering great community contributions for Framework, .NET, Languages, CLI, MSBuild, and more.
17941794

17951795
Featuring:
17961796

@@ -1813,7 +1813,7 @@ Links:
18131813

18141814
### Jul 22: [Using Scaffolding with Handlebars](https://www.youtube.com/live/6Ux7EpgiWXE?si=78XhoFrViXVkMXOL)
18151815

1816-
Join members from the .NET teams for our community standup covering great community contributions for Framework, .NET Core, Languages, CLI, MSBuild, and more.
1816+
Join members from the .NET teams for our community standup covering great community contributions for Framework, .NET, Languages, CLI, MSBuild, and more.
18171817

18181818
Featuring:
18191819

@@ -1839,7 +1839,7 @@ Links:
18391839

18401840
### Jun 24: [EF Core in Blazor](https://www.youtube.com/live/HNJYIqeBLQc?si=xvEObLRdY37_0L87)
18411841

1842-
Join members from the .NET teams for our community standup covering great community contributions for Framework, .NET Core, Languages, CLI, MSBuild, and more.
1842+
Join members from the .NET teams for our community standup covering great community contributions for Framework, .NET, Languages, CLI, MSBuild, and more.
18431843

18441844
Featuring:
18451845

@@ -1861,7 +1861,7 @@ Links:
18611861

18621862
### Jun 10: [EF Core Power Tools](https://www.youtube.com/live/OWuP_qOYwsk?si=VoSGWW6CfR8-x46P)
18631863

1864-
Join members from the .NET teams for our community standup covering great community contributions for Framework, .NET Core, Languages, CLI, MSBuild, and more.
1864+
Join members from the .NET teams for our community standup covering great community contributions for Framework, .NET, Languages, CLI, MSBuild, and more.
18651865

18661866
Featuring:
18671867

@@ -1881,7 +1881,7 @@ Links:
18811881

18821882
### May 6: [Introducing the EF Core Community Standup](https://www.youtube.com/live/j1sGgfCxhp0?si=VQBMex-9-me9JhAB)
18831883

1884-
Join members from the .NET teams for our community standup covering great community contributions for Framework, .NET Core, Languages, CLI, MSBuild, and more.
1884+
Join members from the .NET teams for our community standup covering great community contributions for Framework, .NET, Languages, CLI, MSBuild, and more.
18851885

18861886
Featuring:
18871887

0 commit comments

Comments
 (0)