Moberg.Beacon.Core.SqlServer
5.0.0
dotnet add package Moberg.Beacon.Core.SqlServer --version 5.0.0
NuGet\Install-Package Moberg.Beacon.Core.SqlServer -Version 5.0.0
<PackageReference Include="Moberg.Beacon.Core.SqlServer" Version="5.0.0" />
<PackageVersion Include="Moberg.Beacon.Core.SqlServer" Version="5.0.0" />
<PackageReference Include="Moberg.Beacon.Core.SqlServer" />
paket add Moberg.Beacon.Core.SqlServer --version 5.0.0
#r "nuget: Moberg.Beacon.Core.SqlServer, 5.0.0"
#:package Moberg.Beacon.Core.SqlServer@5.0.0
#addin nuget:?package=Moberg.Beacon.Core.SqlServer&version=5.0.0
#tool nuget:?package=Moberg.Beacon.Core.SqlServer&version=5.0.0
Moberg.Beacon.Core.SqlServer
Stores Beacon's own metadata in SQL Server. This package holds the SQL Server EF Core migrations and the
UseSqlServer registration. It does not let Beacon query SQL Server as a data source; that is
Moberg.Beacon.Connector.SqlServer.
Tables live in the fixed beacon schema. There is no pgvector column on SQL Server: semantic retrieval computes
similarity over the stored embedding bytes instead of a vector index.
Install
dotnet add package Moberg.Beacon.Core.SqlServer
Register
UseSqlServer ends the BeaconBuilder chain, so call connectors, ExposeDbContext and ExposeDocs before it.
using Beacon.Core;
using Beacon.Core.SqlServer;
builder.Services
.AddBeaconServices(builder.Configuration, options =>
{
options.AddBeaconScheduler<MyBeaconScheduler>();
})
.UseSqlServer(); // reads ConnectionStrings:BeaconContext
var app = builder.Build();
// Beacon does not migrate itself: create the schema if missing, then apply pending migrations.
Beacon.Core.ServiceConfiguration.UseBeacon(app.Services, createSchema: true);
| Overload | What it does |
|---|---|
UseSqlServer() |
Connection string from ConnectionStrings:BeaconContext, schema from Beacon:Schema. |
UseSqlServer(string connectionString, string schema = "beacon") |
Same, with the connection string passed in. |
The schema argument and Beacon:Schema accept only beacon; any other value throws at registration. With
createSchema: true, UseBeacon creates the beacon schema when it does not exist. The migration history table
is beacon.__EFMigrationsHistory.
Documentation
- Metadata database
- Host setup
- Packages and the integration overview
- For coding agents: llms-integrate.txt
License
Dual-licensed under AGPL-3.0 or a commercial license. See LICENSING.md.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Microsoft.EntityFrameworkCore.SqlServer (>= 10.0.12)
- Moberg.Beacon.Core (>= 5.0.0)
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 |
|---|---|---|
| 5.0.0 | 39 | 10/21/2026 |
| 4.6.0.2 | 48 | 10/20/2026 |
| 4.6.0.1 | 58 | 10/20/2026 |
| 4.6.0 | 45 | 10/20/2026 |
| 4.5.0.3 | 82 | 10/8/2026 |
| 4.5.0.2 | 84 | 10/7/2026 |
| 4.5.0.1 | 169 | 10/5/2026 |
| 4.5.0 | 108 | 9/28/2026 |
| 4.3.0.1 | 99 | 9/24/2026 |
| 4.3.0 | 94 | 9/23/2026 |
| 4.2.0.1 | 107 | 9/22/2026 |
| 4.2.0 | 99 | 9/22/2026 |
| 4.1.0.1 | 161 | 9/11/2026 |
| 4.1.0 | 111 | 9/11/2026 |
| 4.0.0 | 118 | 8/20/2026 |