ASP.Net Core API .Net5
Folgende Nuget Packages muss man in eine Asp.Net API .Net5 (Core) Anwendung installieren, wenn man einen ASP.NET API Backend Server erstellen möchte, der an eine SQL Server Datenbank anknüpft
1)
Microsoft.EntityFrameworkCore
2)
Microsoft.EntityFrameworkCore.Design
3)
Microsoft.EntityFrameworkCore.Tools
4)
Microsoft.EntityFrameworkCore.SqlServer
Betrifft:
ASP.Net Core mit .Net5
Nuget Packages to Install for Asp.Net Core .Net5
1)
Microsoft.EntityFrameworkCore
Entity Framework Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations. EF Core works with SQL Server, Azure SQL Database, SQLite, Azure Cosmos DB, MySQL, PostgreSQL, and other databases through a provider plugin API.
Commonly Used Types:
Microsoft.EntityFrameworkCore.DbContext
Microsoft.EntityFrameworkCore.DbSet
2)
Microsoft.EntityFrameworkCore.Design
Shared design-time components for Entity Framework Core tools.
3)
Microsoft.EntityFrameworkCore.Tools
Entity Framework Core Tools for the NuGet Package Manager Console in Visual Studio.
Enables these commonly used commands:
Add-Migration
Drop-Database
Get-DbContext
Get-Migration
Remove-Migration
Scaffold-DbContext
Script-Migration
Update-Database
4)
Microsoft.EntityFrameworkCore.SqlServer
Microsoft SQL Server database provider for Entity Framework Core.