Skip to content

Upgrade to ASP.NET Core 3.0 #36

@saaratrix

Description

@saaratrix

ASP.NET Core 3.0 introduces Dynamic routing by using MapDynamicControllerRoute so hopefully the whole solution can be rewritten using that instead of the current one with creating new routes based on the attributes.

So the new solution would hopefully work like this:

  • Use attributes for route information like today, the information will be put in a dictionary
  • Set up Dynamic routes based on the dictionary information. Instead of manually creating ControllerModels and ActionModels.

Implementation using dynamic routing can be seen here, but they don't use attributes inside the controllers.
https://www.strathweb.com/2019/08/dynamic-controller-routing-in-asp-net-core-3-0/

Also by using the new MapDynamicControllerRoute areas will hopefully work.
Hopefully also the TagHelper can go away because I assume the MapDynamicControllerRoute will solve that automatically.

Finally also add default functionality for issues reported by others, such as #29,

So if everything goes well the whole solution should be much simpler and work better for 3.0,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions