Moussa.EfCore.SqlServer.Bundle 1.0.5

dotnet add package Moussa.EfCore.SqlServer.Bundle --version 1.0.5
                    
NuGet\Install-Package Moussa.EfCore.SqlServer.Bundle -Version 1.0.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Moussa.EfCore.SqlServer.Bundle" Version="1.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Moussa.EfCore.SqlServer.Bundle" Version="1.0.5" />
                    
Directory.Packages.props
<PackageReference Include="Moussa.EfCore.SqlServer.Bundle" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Moussa.EfCore.SqlServer.Bundle --version 1.0.5
                    
#r "nuget: Moussa.EfCore.SqlServer.Bundle, 1.0.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Moussa.EfCore.SqlServer.Bundle@1.0.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Moussa.EfCore.SqlServer.Bundle&version=1.0.5
                    
Install as a Cake Addin
#tool nuget:?package=Moussa.EfCore.SqlServer.Bundle&version=1.0.5
                    
Install as a Cake Tool

Moussa.EfCore.SqlServer.Bundle

Versione: 1.0.5

Installazione

Per installare il pacchetto dal feed NuGet:

dotnet add package Moussa.EfCore.SqlServer.Bundle --version 1.0.5

Panoramica

Moussa.EfCore.SqlServer.Bundle è un bundle pensato per semplificare l'utilizzo di Entity Framework Core con SQL Server. Riunisce i pacchetti necessari per usare EF Core in scenari tipici di sviluppo e produzione, includendo il provider SQL Server, gli strumenti di design e gli strumenti CLI.

Questo pacchetto è utile quando si desidera una configurazione rapida e coerente dei pacchetti EF Core in progetti che targettano .NET 8.

Perché usare questo bundle

  • Riduce la necessità di aggiungere manualmente più pacchetti singoli
  • Garantisce versioni compatibili dei componenti principali di EF Core
  • Include gli strumenti necessari per migrazioni e design

Inizio rapido

  1. Aggiungi il pacchetto al tuo progetto:
dotnet add package Moussa.EfCore.SqlServer.Bundle --version 1.0.5
  1. Configura il DbContext in Program.cs (esempio per un'app ASP.NET Core / Blazor):
using Microsoft.EntityFrameworkCore;

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddDbContext<MyDbContext>(options =>
    options.UseSqlServer(builder.Configuration.GetConnectionString("DefaultConnection")));

var app = builder.Build();
  1. Usa gli strumenti EF Core per creare e applicare migrazioni:
dotnet ef migrations add InitialCreate

dotnet ef database update

Dipendenze incluse

Questo bundle include i seguenti package come dipendenze dirette:

  • Microsoft.EntityFrameworkCore.SqlServer (provider runtime)
  • Microsoft.EntityFrameworkCore.Design (strumenti di design, PrivateAssets=all)
  • Microsoft.EntityFrameworkCore.Tools (strumenti CLI, PrivateAssets=all)

Framework supportati

  • .NET 8 (net8.0)

Autori

Package creato da Moussa per facilitare l'adozione di EF Core con SQL Server.

Licenza

Verificare la licenza del repository sorgente o il file LICENSE incluso nel progetto per i dettagli.

Note di rilascio

  • 1.0.5 — Aggiornamento delle dipendenze EF Core a 8.0.25 e miglioramenti nella generazione del pacchetto.

Tag

EFCore SqlServer EntityFramework Bundle net8.0

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.5 92 4/9/2026
1.0.4 88 4/9/2026
1.0.3 97 4/9/2026
1.0.1 93 4/9/2026
1.0.0 98 4/9/2026