Lds.Infrastructure.MongoDb 0.110.0
Lds.Infrastructure.MongoDb
Lds is Datalogik LDS' framework for .NET web applications: the parts every one of its applications
would otherwise write again — a shell and components for Blazor pages, the Result an operation
answers with, permissions and who holds them, an audit trail and the store it writes to — shipped as
seven packages that share one version. It prescribes no application architecture: an application keeps
its own structure and takes the parts it wants.
| Package | What it is |
|---|---|
Lds.Application |
The technology-blind core: Result and the failure text that words it, permissions and the current user, granted access, the audit trail and the ports its store implements |
Lds.Application.FormattedText |
The formatted-text sanitiser and its rules, apart from the core on weight |
Lds.Application.IpAccess |
The operations that keep the rules of Lds.IpAccess, Datalogik's IP access package — authorized and recorded in the audit trail, apart from the core on weight |
Lds.Infrastructure.MongoDb |
The MongoDB store for the core's ports: the audit trail and granted access |
Lds.Web.Components |
The Blazor components and their SCSS, with Font Awesome Free and the editors they use |
Lds.Web.Components.Testing |
bUnit/xUnit support for testing pages built on the components |
Lds.Web.IpAccess |
The IP access screens over those operations, apart from the components on weight |
The packages are on Datalogik's feed, https://components.datalogik.dk/v3/index.json.
This package
The MongoDB store for the ports Lds.Application declares: the audit trail's store and reader,
with the hosted service that applies its retention, the store for granted access, the sign-in
register and deactivations. A solution on another database leaves this package out and registers a store of its own.
Getting started
Each registration is half of a pair: the technology-blind half (AddLdsAudit, AddLdsGrantedAccess,
AddLdsSignInRegister, AddLdsDeactivation) says what only the solution can say, and this half says where the records go.
builder.Services.AddLdsAuditOverMongoDb(
provider => provider.GetRequiredService<IMongoDatabase>(),
builder.Configuration.GetSection("Audit"));
builder.Services.AddLdsGrantedAccessOverMongoDb(
provider => provider.GetRequiredService<IMongoDatabase>(),
builder.Configuration.GetSection("GrantedAccess"));
builder.Services.AddLdsSignInRegisterOverMongoDb(
provider => provider.GetRequiredService<IMongoDatabase>(),
builder.Configuration.GetSection("SignInRegister"));
builder.Services.AddLdsDeactivationOverMongoDb(
provider => provider.GetRequiredService<IMongoDatabase>(),
builder.Configuration.GetSection("Deactivations"));
The section holds the collection name and, for the trail, the retention. See Adopting the framework §2.2.
Documentation, issues and changes
The source, the documents and the issues are on GitHub, at datalogiklds/webframework. The repository is private: if you have access, report a fault or ask for a change there; if you don't, ask Datalogik LDS for it.
- Adopting the framework — everything a solution supplies to the packages, with the decision behind each item
- Architecture — how Lds is built and where an application's code meets its types
- Using the components — how a page is put together from the components
- Design manual — what the interface looks like and how it behaves
- Glossary — the words the source and the documents use
- Changelog — what changed in each version, and what a solution has to change to take it
No packages depend on Lds.Infrastructure.MongoDb.
.NET 10.0
- Lds.Application (>= 0.110.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.0)
- MongoDB.Driver (>= 3.10.0)
| Version | Downloads | Last updated |
|---|---|---|
| 0.146.0 | 2 | 2026-11-17 |
| 0.145.0 | 1 | 2026-11-17 |
| 0.144.0 | 1 | 2026-11-16 |
| 0.143.1 | 0 | 2026-11-16 |
| 0.143.0 | 1 | 2026-11-16 |
| 0.142.0 | 3 | 2026-11-15 |
| 0.141.1 | 4 | 2026-11-15 |
| 0.141.0 | 2 | 2026-11-15 |
| 0.140.0 | 0 | 2026-11-15 |
| 0.139.1 | 9 | 2026-11-15 |
| 0.139.0 | 1 | 2026-11-15 |
| 0.138.0 | 4 | 2026-11-15 |
| 0.137.0 | 0 | 2026-11-15 |
| 0.136.1 | 1 | 2026-11-15 |
| 0.136.0 | 0 | 2026-11-15 |
| 0.135.0 | 2 | 2026-11-15 |
| 0.134.1 | 5 | 2026-11-15 |
| 0.134.0 | 1 | 2026-11-15 |
| 0.133.0 | 1 | 2026-11-15 |
| 0.132.0 | 0 | 2026-11-15 |
| 0.131.0 | 3 | 2026-11-15 |
| 0.130.0 | 3 | 2026-11-15 |
| 0.129.0 | 0 | 2026-11-14 |
| 0.128.0 | 2 | 2026-11-14 |
| 0.127.0 | 0 | 2026-11-14 |
| 0.126.0 | 1 | 2026-11-14 |
| 0.125.1 | 0 | 2026-11-14 |
| 0.125.0 | 0 | 2026-11-14 |
| 0.124.0 | 0 | 2026-11-14 |
| 0.123.0 | 0 | 2026-11-14 |
| 0.122.0 | 0 | 2026-11-14 |
| 0.121.0 | 8 | 2026-11-12 |
| 0.120.0 | 25 | 2026-11-12 |
| 0.119.0 | 0 | 2026-11-12 |
| 0.118.0 | 0 | 2026-11-12 |
| 0.117.0 | 1 | 2026-11-12 |
| 0.116.0 | 2 | 2026-11-11 |
| 0.115.0 | 4 | 2026-11-11 |
| 0.113.0 | 1 | 2026-11-11 |
| 0.112.0 | 6 | 2026-11-11 |
| 0.111.1 | 4 | 2026-11-10 |
| 0.111.0 | 8 | 2026-11-10 |
| 0.110.0 | 1 | 2026-11-09 |
| 0.109.0 | 4 | 2026-11-09 |
| 0.108.1 | 4 | 2026-11-09 |
| 0.108.0 | 5 | 2026-11-09 |
| 0.107.0 | 1 | 2026-11-09 |
| 0.106.1 | 1 | 2026-11-09 |
| 0.106.0 | 1 | 2026-11-08 |
| 0.105.0 | 2 | 2026-11-08 |
| 0.104.0 | 2 | 2026-11-08 |
| 0.103.0 | 2 | 2026-11-08 |
| 0.102.0 | 2 | 2026-11-08 |
| 0.101.0 | 2 | 2026-11-08 |
| 0.100.0 | 2 | 2026-11-08 |
| 0.99.0 | 2 | 2026-11-08 |
| 0.98.1 | 2 | 2026-11-08 |
| 0.98.0 | 7 | 2026-11-08 |
| 0.97.1 | 6 | 2026-11-08 |
| 0.97.0 | 2 | 2026-11-08 |
| 0.96.0 | 6 | 2026-11-08 |