BarakoCMS.Portability
0.1.3
See the version list below for details.
dotnet add package BarakoCMS.Portability --version 0.1.3
NuGet\Install-Package BarakoCMS.Portability -Version 0.1.3
<PackageReference Include="BarakoCMS.Portability" Version="0.1.3" />
<PackageVersion Include="BarakoCMS.Portability" Version="0.1.3" />
<PackageReference Include="BarakoCMS.Portability" />
paket add BarakoCMS.Portability --version 0.1.3
#r "nuget: BarakoCMS.Portability, 0.1.3"
#:package BarakoCMS.Portability@0.1.3
#addin nuget:?package=BarakoCMS.Portability&version=0.1.3
#tool nuget:?package=BarakoCMS.Portability&version=0.1.3
<div align="center"> <img src="https://raw.githubusercontent.com/BaryoDev/barakoCMS/master/assets/icon.png" width="96" height="96" alt="BarakoCMS.Portability logo" /> <h1>BarakoCMS.Portability</h1> <p><em>Export your content as JSON, import it somewhere else.</em></p> </div>
Exports content-type definitions and their content as one JSON bundle, and imports a bundle into another instance. Useful for backups, moving between environments, seeding a new tenant, and sharing content-type templates.
Enable it
builder.Services.AddBarakoCMS(builder.Configuration, modules =>
{
modules.Add(new BarakoCMS.Portability.PortabilityModule());
});
var app = builder.Build();
app.UseBarakoCMS();
Endpoints
| Method & path | Purpose | Access |
|---|---|---|
GET /api/portability/export |
Download a bundle | Admin / SuperAdmin |
POST /api/portability/import |
Apply a bundle | Admin / SuperAdmin |
How an import behaves
- Content types are upserted by name, so re-importing an evolved bundle updates the type rather than duplicating it.
- Content is recreated through events, so imported content has real history and behaves identically to content authored in place.
- The import runs inside the calling tenant. A bundle carries no tenant identity of its own, which is what makes it safe to move between environments.
Treat a bundle as sensitive
An export contains whatever the content contains. If any of it is Sensitive, the bundle is too — it leaves the system's access control behind the moment it is downloaded.
Part of barakoCMS
This is an optional module for barakoCMS, an open-source
headless CMS for .NET 8. Every module is published under the barakocms-module tag, so a single
search on nuget.org returns the whole set.
Contributions are welcome — including a module icon or other design work. See CONTRIBUTING.md.
Licensed under MPL-2.0.
If barakoCMS is useful to you, a star on the repository helps other people find it.
| Product | Versions 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. |
-
net8.0
- AspNetCore.HealthChecks.Npgsql (>= 8.0.0)
- AspNetCore.HealthChecks.System (>= 9.0.0)
- AspNetCore.HealthChecks.UI (>= 8.0.0)
- AspNetCore.HealthChecks.UI.Client (>= 8.0.0)
- AspNetCore.HealthChecks.UI.InMemory.Storage (>= 8.0.0)
- BarakoCMS (>= 3.20.0)
- BCrypt.Net-Next (>= 4.0.3)
- FastEndpoints (>= 5.21.2)
- FastEndpoints.Security (>= 5.21.2)
- FastEndpoints.Swagger (>= 5.21.2)
- IdentityModel (>= 7.0.0)
- KubernetesClient (>= 18.0.13)
- Marten (>= 8.37.0)
- Microsoft.Extensions.Caching.Memory (>= 8.0.1)
- Microsoft.Extensions.Http.Resilience (>= 10.1.0)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.22.0)
- Otp.NET (>= 1.4.0)
- prometheus-net.AspNetCore (>= 8.2.1)
- Serilog.AspNetCore (>= 10.0.0)
- Serilog.Sinks.Console (>= 6.1.1)
- Serilog.Sinks.File (>= 7.0.0)
- System.IdentityModel.Tokens.Jwt (>= 8.22.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 |
|---|---|---|
| 4.7.1 | 50 | 10/25/2026 |
| 4.7.0 | 58 | 10/23/2026 |
| 4.6.0 | 88 | 10/14/2026 |
| 4.5.0 | 104 | 10/12/2026 |
| 4.4.1 | 103 | 10/4/2026 |
| 4.4.0 | 115 | 9/29/2026 |
| 4.3.0 | 111 | 9/21/2026 |
| 4.2.1 | 108 | 9/18/2026 |
| 4.1.1 | 116 | 9/18/2026 |
| 4.0.1 | 120 | 9/12/2026 |
| 4.0.0 | 134 | 9/7/2026 |
| 0.1.5 | 129 | 8/20/2026 |
| 0.1.3 | 124 | 8/15/2026 |
| 0.1.2 | 203 | 8/3/2026 |
| 0.1.1 | 139 | 7/21/2026 |
| 0.1.0 | 94 | 7/17/2026 |