Migrate from Konstrukt to Umbraco UI Builder
Step-by-step guide to migrating a Konstrukt solution to Umbraco UI Builder.
This guide walks you through migrating a default Konstrukt solution to Umbraco UI Builder.
Key Changes
Before starting, review these key changes that impact the migration process.
Project, Package, and Namespace changes
Konstrukt.Core
Umbraco.UIBuilder.Core
Konstrukt.Infrastructure
Umbraco.UIBuilder.Infrastructure
Konstrukt.Web
Umbraco.UIBuilder.Web
Konstrukt.Web.UI
Umbraco.UIBuilder.Web.StaticAssets
Konstrukt.Startup
Umbraco.UIBuilder.Startup
Konstrukt
Umbraco.UIBuilder
Code and UI Changes
Step 1: Replace Dependencies
Replace all existing Konstrukt dependencies with Umbraco UI Builder dependencies.
Remove existing Konstrukt packages:
Delete the Konstrukt
App_Plugins
folder:
Install
Umbraco.UIBuilder
:
Compile your project against .NET 7.0.
Step 2: Update Namespaces and Entity Names
Update all Konstrukt references to their Umbraco UI Builder alternatives. Ensure you update any Views/Partials that also reference these. See the Key Changes section for reference.
Step 3: Update Configuration
If your configuration is in a single statement, replace AddKonstrukt
with AddUIBuilder
.
For multi-step configurations using Action
or Card
classes, update the config builders and base classes to their UI Builder alternatives as described in Key Changes.
Step 4: Finalize the Migration
Delete
obj/bin
folders for a clean build.Recompile all projects and ensure all dependencies are restored correctly.
Remove existing Konstrukt license files from
umbraco\Licenses
folder.Add your Umbraco.UIBuilder license key to the
appSettings.json
file:
Run the project.
Last updated
Was this helpful?