BlockFarmEditor.USync 17.1.3

dotnet add package BlockFarmEditor.USync --version 17.1.3
                    
NuGet\Install-Package BlockFarmEditor.USync -Version 17.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="BlockFarmEditor.USync" Version="17.1.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BlockFarmEditor.USync" Version="17.1.3" />
                    
Directory.Packages.props
<PackageReference Include="BlockFarmEditor.USync" />
                    
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 BlockFarmEditor.USync --version 17.1.3
                    
#r "nuget: BlockFarmEditor.USync, 17.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 BlockFarmEditor.USync@17.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=BlockFarmEditor.USync&version=17.1.3
                    
Install as a Cake Addin
#tool nuget:?package=BlockFarmEditor.USync&version=17.1.3
                    
Install as a Cake Tool

BlockFarmEditor.USync

uSync integration package for BlockFarmEditor that provides automatic synchronization of block definitions and layouts across Umbraco environments.

Installation

Prerequisites

  • Umbraco CMS: Version 17+ (compatible with .NET 10)
  • BlockFarmEditor.Umbraco.Core: Core BlockFarmEditor package
  • uSync: Version 17+ for BackOffice integration

NuGet Package Installation

dotnet add package BlockFarmEditor.USync

Verification

After installation, verify the integration is working by:

  1. Check uSync Dashboard for BlockFarmEditorDefinition and BlockFarmEditorLayout item types
  2. Run a uSync export and check for BlockFarmEditor items in your uSync directory
  3. Monitor Umbraco logs for any uSync-related messages during startup

Overview

This package provides comprehensive uSync integration for BlockFarmEditor using both serializers and handlers for each entity type:

  • Block Definitions: Handles block definition synchronization
  • Block Layouts: Handles layout synchronization with complex JSON data preservation

All components are automatically registered and require no manual configuration.

Features

  • Automatic Export/Import: Both definitions and layouts sync during uSync operations
  • XML Storage: Items stored as XML files in the uSync folder structure
  • Change Tracking: Detailed change detection for all properties
  • Real-time Sync: Notification support for immediate synchronization
  • Data Integrity: Complex JSON layout data is preserved
  • Multiple Lookups: Support for both key-based and alias-based lookups

File Structure

After export, your uSync folder will contain:

uSync/v17/
├── BlockFarmEditorDefinition/
│   └── {definition-files}.config
└── BlockFarmEditorLayout/
    └── {layout-files}.config

XML Examples

Block Definition:

<BlockFarmEditorDefinition Key="{guid}" Alias="{content-type-alias}">
  <Type>partial</Type>
  <ContentTypeAlias>alert</ContentTypeAlias>
  <ViewPath>~/Views/Partials/Alert.cshtml</ViewPath>
  <Category>Content</Category>
  <Enabled>true</Enabled>
</BlockFarmEditorDefinition>

Block Layout:

<BlockFarmEditorLayout Key="{guid}" Alias="{guid}">
  <Name>Hero Layout</Name>
  <Description>Hero section layout</Description>
  <Layout>{complex-json-layout-data}</Layout>
  <Category>Headers</Category>
  <Type>blockArea</Type>
  <Icon>icon-layout</Icon>
  <Enabled>true</Enabled>
</BlockFarmEditorLayout>

Usage

  1. Install the package
  2. Restart Umbraco
  3. Use uSync normally - BlockFarmEditor items will sync automatically

No configuration is required. The package integrates seamlessly with your existing uSync setup.

Troubleshooting

Items not syncing?

  • Verify BlockFarmEditor.Umbraco.Core and uSync are properly installed
  • Check that items exist in your database
  • Ensure uSync is working for other item types
  • Check Umbraco logs for detailed error messages

Missing item types in uSync dashboard?

  • Restart your Umbraco application
  • Verify the package is properly referenced
  • Check that all dependencies are up to date
Product 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. 
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
17.1.3 115 4/13/2026
17.1.2 178 1/15/2026
17.1.0 186 12/26/2025

Switched to only pulling in the core library.