Xapi.Lrs.Sqlite
0.2.0
dotnet add package Xapi.Lrs.Sqlite --version 0.2.0
NuGet\Install-Package Xapi.Lrs.Sqlite -Version 0.2.0
<PackageReference Include="Xapi.Lrs.Sqlite" Version="0.2.0" />
<PackageVersion Include="Xapi.Lrs.Sqlite" Version="0.2.0" />
<PackageReference Include="Xapi.Lrs.Sqlite" />
paket add Xapi.Lrs.Sqlite --version 0.2.0
#r "nuget: Xapi.Lrs.Sqlite, 0.2.0"
#:package Xapi.Lrs.Sqlite@0.2.0
#addin nuget:?package=Xapi.Lrs.Sqlite&version=0.2.0
#tool nuget:?package=Xapi.Lrs.Sqlite&version=0.2.0
Xapi.Lrs.Sqlite
SQLite storage for the Xapi.Lrs Learning Record Store (xAPI 2.0, IEEE 9274.1.1, and 1.0.3): UseSqlite,
migrations, WAL mode and serialized statement writes. It suits an LRS on one server. For several app instances
sharing one database, use Xapi.Lrs.PostgreSql.
dotnet add package Xapi.Lrs.Sqlite
Usage
In Program.cs:
var builder = WebApplication.CreateBuilder(args);
builder.Services
.AddXapiLrs(builder.Configuration.GetSection("Lrs"), options => options.MigrateOnStartup = true)
.UseSqlite("Data Source=lrs.db");
var app = builder.Build();
app.MapXapiLrs("/xapi");
app.Run();
The credentials come from the Lrs section of the configuration, for example
"Lrs": { "Credentials": [ { "Key": "my-app", "Scopes": [ "all" ] } ] } in appsettings.json with the secret in
user secrets or Lrs__Credentials__0__Secret.
Target frameworks
net10.0. This package depends on the same Xapi.Lrs version it was built with.
Links
- LRS guide: storage, migrations, options
- API reference
- Source, issues and changelog
License
Apache License 2.0. The package contains the LICENSE, NOTICE and THIRD-PARTY-NOTICES.md files.
| 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.Relational (>= 10.0.13)
- Microsoft.EntityFrameworkCore.Sqlite (>= 10.0.13)
- Xapi.Lrs (= 0.2.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 |
|---|---|---|
| 0.2.0 | 42 | 10/17/2026 |
| 0.1.0-preview.1 | 39 | 10/17/2026 |