Skip to content

Is the EndpointDataSource a good fit for routing in a CMS #34316

@marcuslindblom

Description

@marcuslindblom

Given that I have all urls stored in the database, including the controller type and action. My current implementation is using DynamicRouteValueTransformer but I am curious about the EndpointDataSource and if the purpose of it could be to store all my urls, controller types and action as a map for all incoming requests and send them directly to the correct controller and action based on the information stored in my database. Is the EndpointDataSource a good fit for that purpose?

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Status: Resolvedarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesfeature-routingquestion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions