Ministry of Technology
Show Menu

Web Theming

Web Theming
Created by Ministry
Language
.net Standard 2.0 / C#
Type
Web, Library

This project allows you to apply themes to a website based on configured values and host URLs. This is achieved by providing simple configuration data.

Sample configuration...

"AvailableThemes": {
    "Themes": [
        {
            "ValidHosts": [
                "localhost:44330",
                "mainweb.com"
            ],
            "Key": "Main",
            "Title": "This is My App"
        },
        {
            "ValidHosts": [
                "localhost:44334",
                "otherweb.com"
            ],
            "Key": "Other"
        }
    ],
    "DefaultThemeKey": "Main"
}

Designed for Asp.Net Core, the project is available in discrete versions for Asp.Net Core 1.0 and 2.0 by making use of shared projects to share the core code.

Visit us on GitHub