### Xperience by Kentico Database Backup and Setup Source: https://github.com/kentico/xperience-by-kentico-training-guides/blob/main/README.md Details on the database backup file provided and requirements for SQL Server versions. It outlines the process of restoring the backup or setting up a fresh instance. ```sql -- Restore Xperience.TrainingGuides.bak from the Database folder -- Requires SQL Server 2022 or newer -- Alternatively, set up a fresh instance of Xperience by Kentico version 30.6.2 ``` -------------------------------- ### Xperience by Kentico Configuration - appsettings.json Source: https://github.com/kentico/xperience-by-kentico-training-guides/blob/main/README.md Configuration file for Xperience by Kentico applications, primarily used for database connection strings and other settings. This example shows the structure for updating the connection string. ```json { "ConnectionStrings": { "Kentico": "Server=your_server_name;Database=your_database_name;User ID=your_user_id;Password=your_password;" } } ``` -------------------------------- ### Xperience by Kentico C# 12 Features Source: https://github.com/kentico/xperience-by-kentico-training-guides/blob/main/README.md Highlights the use of C# 12 features and syntax within the repository. This indicates that a .NET 8 SDK is required for compatibility. ```csharp // Example of a C# 12 feature (e.g., primary constructors, collection expressions) // The specific syntax will depend on the feature being demonstrated in the guides. ``` -------------------------------- ### Xperience by Kentico License Application Source: https://github.com/kentico/xperience-by-kentico-training-guides/blob/main/README.md Instructions for applying a license key to an Xperience by Kentico instance via the Settings application. This involves accessing the System -> License section and saving the key. ```APIDOC Access the Settings application. Navigate to System → License. Paste your license key into the 'License key' field. Click 'Save'. ``` -------------------------------- ### Development Workflow Branching and Committing Source: https://github.com/kentico/xperience-by-kentico-training-guides/blob/main/docs/Contributing-Setup.md Defines the branching strategy and commit message conventions for contributing to the project. Branches should be prefixed with 'refactor/' or 'fix/', and commit messages should follow the Conventional Commits specification. ```markdown 1. Create a new branch with one of the following prefixes - `refactor/` - for restructuring of existing features - `fix/` - for bugfixes 1. Commit changes, with a commit message preferably following the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) convention. 1. Once ready, create a PR on GitHub. The PR will need to have all comments resolved and all tests passing before it will be merged. - The PR should have a helpful description of the scope of changes being contributed. - Include screenshots or video to reflect UX or UI updates - Indicate if new settings need to be applied when the changes are merged - locally or in other environments ``` -------------------------------- ### Xperience by Kentico Continuous Integration Restore Source: https://github.com/kentico/xperience-by-kentico-training-guides/blob/main/README.md Command for performing a continuous integration restore to populate the database with necessary data for Xperience by Kentico. This is a crucial step after setting up the database. ```csharp dotnet run --project TrainingGuides.Web/TrainingGuides.Web.csproj -- "continuous-integration restore" ``` -------------------------------- ### Live Sass Compiler Configuration Source: https://github.com/kentico/xperience-by-kentico-training-guides/blob/main/LiveSass conifg/settings.json.txt Configures the Live Sass Compiler extension to automatically compile Sass files on launch, generate source maps for easier debugging, and specify output formats (expanded and compressed) with custom save paths for CSS files within the project structure. ```json //Configuration settings for the Live Sass Compiler extension for Visual Studio Code, by Glenn Marks (https://marketplace.visualstudio.com/items?itemName=glenn2223.live-sass) "liveSassCompile.settings.watchOnLaunch": true, "liveSassCompile.settings.generateMap": true, "liveSassCompile.settings.formats": [ { "format" :"expanded", "extensionName": ".css", "savePath": "/src/TrainingGuides.Web/wwwroot/assets/css" }, { "format" :"compressed", "extensionName": ".min.css", "savePath": "/src/TrainingGuides.Web/wwwroot/assets/css" } ] ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.