BarakoCMS.Portability
4.0.0
See the version list below for details.
dotnet add package BarakoCMS.Portability --version 4.0.0
NuGet\Install-Package BarakoCMS.Portability -Version 4.0.0
<PackageReference Include="BarakoCMS.Portability" Version="4.0.0" />
<PackageVersion Include="BarakoCMS.Portability" Version="4.0.0" />
<PackageReference Include="BarakoCMS.Portability" />
paket add BarakoCMS.Portability --version 4.0.0
#r "nuget: BarakoCMS.Portability, 4.0.0"
#:package BarakoCMS.Portability@4.0.0
#addin nuget:?package=BarakoCMS.Portability&version=4.0.0
#tool nuget:?package=BarakoCMS.Portability&version=4.0.0
<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
dotnet add package BarakoCMS.Portability
builder.Services.AddBarakoCMS(builder.Configuration);
var app = builder.Build();
app.UseBarakoCMS();
The package reference plus a restart is the install. AddBarakoCMS finds every module in the
application's dependency context, and BarakoCMS:Modules:Enabled decides which of them run
(BarakoCMS__Modules__Enabled=Portability). Unset, every referenced module runs and the API logs
one warning saying so. To name it by hand instead, put
modules.Add(new BarakoCMS.Portability.PortabilityModule())
in the AddBarakoCMS callback; discovery skips a type the host already added. See MODULES.md in
the repository.
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 10. 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 | 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
- AspNetCore.HealthChecks.Npgsql (>= 9.0.0)
- AspNetCore.HealthChecks.System (>= 9.0.0)
- AspNetCore.HealthChecks.UI (>= 9.0.0)
- AspNetCore.HealthChecks.UI.Client (>= 9.0.0)
- AspNetCore.HealthChecks.UI.InMemory.Storage (>= 9.0.0)
- BarakoCMS (>= 4.0.0)
- BCrypt.Net-Next (>= 4.2.0)
- FastEndpoints (>= 8.3.0)
- FastEndpoints.Security (>= 8.3.0)
- FastEndpoints.Swagger (>= 8.3.0)
- IdentityModel (>= 7.0.0)
- JasperFx (>= 2.56.0)
- KubernetesClient (>= 18.0.13)
- Marten (>= 9.30.0)
- Microsoft.Extensions.DependencyModel (>= 10.0.11)
- Microsoft.Extensions.Http.Resilience (>= 10.9.0)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.22.0)
- Otp.NET (>= 1.4.1)
- 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 | 86 | 10/25/2026 |
| 4.7.0 | 90 | 10/23/2026 |
| 4.6.0 | 95 | 10/14/2026 |
| 4.5.0 | 106 | 10/12/2026 |
| 4.4.1 | 105 | 10/4/2026 |
| 4.4.0 | 115 | 9/29/2026 |
| 4.3.0 | 111 | 9/21/2026 |
| 4.2.1 | 109 | 9/18/2026 |
| 4.1.1 | 116 | 9/18/2026 |
| 4.0.1 | 120 | 9/12/2026 |
| 4.0.0 | 139 | 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 |