Umbraco UI Builder
CMSCloudHeartcoreDXP
15.latest
15.latest
  • Umbraco UI Builder Documentation
  • Known Issues
  • Release Notes
  • Getting Started
    • First Steps with UI Builder
    • Requirements
    • Installing Umbraco UI Builder
    • Licensing
    • Configuration
    • User Interface
  • Upgrading
    • Upgrade your UI Builder setup
    • Upgrading Umbraco UI Builder
    • Version Specific Upgrade Notes
    • Migrate from Konstrukt to Umbraco UI Builder
  • How-to Guides
    • Creating your First Integration
  • Areas
    • Explore Areas in UI Builder
    • Sections
      • Summary Dashboards
    • Trees
      • Folders
    • Dashboards
    • Context Apps
  • Collections
    • Work with Collections in UI Builder
    • The Basics
    • List Views
      • Field Views
    • Editors
    • Child Collections
      • Child Collection Groups
      • Retrieve Child Collections
    • Related Collections
    • Entity Identifier Converters
  • Searching
    • Add Search to Your Collections
    • Searchable Properties
  • Filtering
    • Filter Your Data with Ease
    • Global Filters
    • Data Views
      • Data Views Builders
    • Filterable Properties
  • Actions
    • Trigger Actions in UI Builder
    • The Basics
    • Action Visibility
    • Inbuilt Actions
  • Cards
    • Display Insights with Cards
    • Count Cards
    • Custom Cards
  • Property Editors
    • Enhance Input with Property Editors
    • Entity Picker
  • Advanced
    • Ready to go deeper?
    • Virtual Sub Trees
    • Encrypted Properties
    • Value Mappers
    • Repositories
    • Events
  • Miscellaneous
    • Conventions
    • Umbraco Aliases
Powered by GitBook
On this page
  • Key Changes
  • Project, Package, and Namespace changes
  • Code and UI Changes
  • Step 1: Replace Dependencies
  • Step 2: Update Namespaces and Entity Names
  • Step 3: Update Configuration
  • Step 4: Finalize the Migration

Was this helpful?

Edit on GitHub
Export as PDF
  1. Upgrading

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
Umbraco UI Builder

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

C# Class Changes
  • Namespace changes as mentioned above.

  • Most Konstrukt-prefixed classes have had the prefix removed.

    • Examples: IKonstruktRepository -> IRepository

    • Exceptions:

      • KonstruktConfig and KonstruktConfigBuilder now use a UIBuilder prefix.

      • AddKonstrukt extension for IUmbracoBuilder is now AddUIBuilder

JavaScript Changes
  • All Konstrukt controllers are now under the Umbraco.UIBuilder namespace.

  • All Konstrukt prefixed directives, services, and resources now use uibuilder.

UI Changes
  • All static UI assets are now served via a Razor Compiled Library (RCL) instead of being stored in the App_Plugins folder.

  • The App_Plugins/Konstrukt folder is now App_Plugins/UmbracoUIBuilder.

Step 1: Replace Dependencies

Replace all existing Konstrukt dependencies with Umbraco UI Builder dependencies.

  1. Remove existing Konstrukt packages:

dotnet remove package Konstrukt
  1. Delete the Konstrukt App_Plugins folder:

rmdir App_Plugins\Konstrukt
  1. Install Umbraco.UIBuilder:

dotnet add package Umbraco.UIBuilder
  1. Compile your project against .NET 7.0.

Step 2: Update Namespaces and Entity Names

Step 3: Update Configuration

If your configuration is in a single statement, replace AddKonstrukt with AddUIBuilder.

builder.CreateUmbracoBuilder()
    .AddBackOffice()
    .AddWebsite()
    .AddDeliveryApi()
    .AddComposers()
    .AddUIBuilder(cfg => {
        // The rest of your configuration
    })
    .Build();

Step 4: Finalize the Migration

  1. Delete obj/bin folders for a clean build.

  2. Recompile all projects and ensure all dependencies are restored correctly.

  3. Remove existing Konstrukt license files from umbraco\Licenses folder.

  4. Add your Umbraco.UIBuilder license key to the appSettings.json file:

"Umbraco": {
  "Licenses": {
    "Umbraco.UIBuilder": "YOUR_LICENSE_KEY"
  }
}
  1. Run the project.

PreviousVersion Specific Upgrade NotesNextCreating your First Integration

Last updated 2 months ago

Was this helpful?

Update all Konstrukt references to their Umbraco UI Builder alternatives. Ensure you update any Views/Partials that also reference these. See the section for reference.

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
Key Changes