BarakoCMS.Portability 0.1.3

There is a newer version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BarakoCMS.Portability" Version="0.1.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BarakoCMS.Portability" Version="0.1.3" />
                    
Directory.Packages.props
<PackageReference Include="BarakoCMS.Portability" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BarakoCMS.Portability --version 0.1.3
                    
#r "nuget: BarakoCMS.Portability, 0.1.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package BarakoCMS.Portability@0.1.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BarakoCMS.Portability&version=0.1.3
                    
Install as a Cake Addin
#tool nuget:?package=BarakoCMS.Portability&version=0.1.3
                    
Install as a Cake Tool

<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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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