create database for Xperience by Kentico

2025/06/11 12:06 PM

I am trying to create database using below dbmanager command, its creating the blank database. Anyone please confirm me this is expect behavour ? i am using sample website "Kentico.Xperience.DancingGoat"
dotnet kentico-xperience-dbmanager --

-s "(LocalDb)\MSSQLLocalDB" \

-d "XBK13" \

-u "***" \

-p "*****" \

-a "administrator" \

--hash-string-salt "dd64b25a-f099-4187-96e0-4f2d78343e1b" \


Environment

  • Xperience by Kentico version: [30.5.1]

  • .NET version: [8|9]

  • Execution environment: [SaaS|Private cloud (Azure/AWS/Virtual machine)]

  • Link to relevant Xperience by Kentico documentation

Tags:
.NET Developer tools Environments SQL

Answers

2025/06/11 12:58 PM

dotnet kentico-xperience-dbmanager -- -s ".\SQLEXPRESS" -d "mydancinggoat" -a "password@123" --license-file "xbyklicence.txt" --recreate-existing-database

2025/06/11 11:05 PM
Answer

It's difficult to know what you are asking because you don't mention the behavior your are seeing when you run the command.

I recommend you use the following resources which will help you get started with Xperience by Kentico.

  1. Development environment setup learning module
  2. Developer Kickstart tutorial
  3. Installation documentation

An additional note, if you want to run the Dancing Goat sample project you need to make sure you use the correct project template when you scaffold out your ASPNET Core application. You need to run your database creation command from directory your ASPNET Core app is in. This is all detailed in the documentation I linked to.

To answer this question, you have to login first.