Zymergi.Social.MariaDb
11.1.1-alpha
dotnet add package Zymergi.Social.MariaDb --version 11.1.1-alpha
NuGet\Install-Package Zymergi.Social.MariaDb -Version 11.1.1-alpha
<PackageReference Include="Zymergi.Social.MariaDb" Version="11.1.1-alpha" />
<PackageVersion Include="Zymergi.Social.MariaDb" Version="11.1.1-alpha" />
<PackageReference Include="Zymergi.Social.MariaDb" />
paket add Zymergi.Social.MariaDb --version 11.1.1-alpha
#r "nuget: Zymergi.Social.MariaDb, 11.1.1-alpha"
#:package Zymergi.Social.MariaDb@11.1.1-alpha
#addin nuget:?package=Zymergi.Social.MariaDb&version=11.1.1-alpha&prerelease
#tool nuget:?package=Zymergi.Social.MariaDb&version=11.1.1-alpha&prerelease
Zymergi.Social.MariaDb
MariaDB implementations and DI for the Social domain: users, favorites, submissions, comments, and ISocialFacade. Repository types are in Zymergi.Social.MariaDb. AddSocialRepositories is in Zymergi.Social.
Targets .NET 10. Depends on Zymergi.Core, Zymergi.Data.MariaDb, and Zymergi.Social.
Install
dotnet add package Zymergi.Social.MariaDb
Usage
Register a DbConnection first, then the social repositories:
using Zymergi.Social;
services.AddScoped<DbConnection>(sp => /* open MariaDB connection */);
services.AddSocialRepositories();
services.AddScoped<IUserRepo, MariaUserRepo>();
services.AddScoped<IFaveItemRepository, MariaDbFaveItemRepository>();
AddSocialRepositories registers:
IUserSubmissionRepository→MariaUserSubmissionRepoICommentRepository→MariaCommentRepositoryISocialFacade→MariaSocialFacade
MariaUserRepo and MariaDbFaveItemRepository are in this package. Register them explicitly, as in the snippet above.
var profile = await social.GetGroupProfileDtoAsync("announcements");
foreach (var post in profile.Submissions ?? [])
Console.WriteLine($"{post.Title} ({post.Comments?.Count() ?? 0} comments)");
| 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.Extensions.DependencyInjection (>= 10.0.12)
- Zymergi.Core (>= 11.1.1-alpha)
- Zymergi.Data.MariaDb (>= 11.1.1-alpha)
- Zymergi.Social (>= 11.1.1-alpha)
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 |
|---|---|---|
| 11.1.1-alpha | 52 | 10/4/2026 |
| 11.1.0-alpha | 91 | 10/1/2026 |
| 11.0.6-alpha | 81 | 7/10/2026 |
| 11.0.5-alpha | 72 | 7/9/2026 |
| 11.0.4-alpha | 70 | 7/6/2026 |
| 11.0.3-alpha | 79 | 7/6/2026 |