Docs

Docs

    ›Implementing Dyndle

    Essentials

    • What is Dyndle?
    • Functionality Overview

    Installation

    • Prerequisites
    • Preparing the content manager
    • Content Manager installation
    • Web application - quickstart installation
    • Web application - manual installation
    • Configuration Reference

    Implementing Dyndle

    • Model binders and controllers
    • Overriding / adding dependencies
    • DI frameworks implementation examples
    • Adding your own routes
    • Modeling regions
    • Including content from other pages
    • Caching with Dyndle
    • Using labels
    • Querying dynamic content
    • Managing redirects
    • Experience Manager
    • Previewing pages

    Dyndle Modules

    • Dyndle Management
    • Dyndle Image Enhancement
    • Dyndle Navigation
    • Dyndle Search
    • Dyndle Globalization

    Dyndle CLI

    • Running Dyndle CLI
    • Customizing generated models

    Dyndle Templates

    • Replace special characters
    • Add components in folder
    • Dynamic metadata

    Adding your own routes

    If you use Dyndle, you still own the web application and it is up to you to set up the routes in any way you would like. However, if you want to use Dyndle MVC features such as controllers and model binders, you need to set up an area as explained here.

    Next to the AreaName that must be overriden, BaseModuleAreaRegistration also defines two virtual methods that may be overriden: RegisterRoutes and RegisterTypes. Both of these methods are called from RegisterArea.

    Register Routes

    In the first method you may define routes that will be registered within this MVC area. This gives you granular control over routing if you have multiple areas set up. Normal Asp.Net MVC syntax applies for route registration. Example below features an example from Dyndle Image Enhancement module, where also an MVC constrain is used:

    public override void RegisterRoutes(AreaRegistrationContext context)
    {
        context.MapRoute(
            AreaName + "_EnhancedBinaries",
            "{*url}",
            new {controller = "ImageEnhancement", action = "EnhanceImage"},
    
            new {page = new EnhancedImageConstraint()});
    
        base.RegisterRoutes(context);
    }
    
    ← DI frameworks implementation examplesModeling regions →
    • Register Routes
    Docs
    Dyndle
    HomeCompany behind Dyndle
    Community
    GitHubStack ExchangeTwitter
    More
    BlogStar
    Follow Dyndle
    Copyright © 2025 Trivident