Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routing to Controller Actions #117

Closed
danroth27 opened this issue Apr 21, 2015 · 14 comments
Closed

Routing to Controller Actions #117

danroth27 opened this issue Apr 21, 2015 · 14 comments
Assignees
Labels
Pri0 Urgent priority
Milestone

Comments

@danroth27
Copy link
Member

ASP.NET MVC -> Controllers -> Routing to Controller Actions

  • Relationship to middleware (Routing #61)
  • Startup code and relationship to MVC route handler
  • Attribute routing
    • [Route], [Http*]
    • Routes on controller vs actions
    • Inheritance
    • Token replacement in route templates ([controller], [action], [area])
    • Custom route attributes using IRouteTemplateProvider
    • Pointer to using Application Model to customize attribute routes
  • Conventional routing
    • Mapping of action/area/controller maps to a controller action (action selection)
  • Action constraints
    • HTTP method constraints
    • Custom constraints
@pranavkm
Copy link
Contributor

cc @ssargent

@atrauzzi
Copy link

Is there going to be any way to create route configuration files that point directly to controllers? There still seems to be quite a heavy focus on attribute routing. This ticket explains some of the things I'd hope to see made available.

@danroth27
Copy link
Member Author

@atrauzzi
Copy link

@danroth27 - I meant, not using attribute routing. "route configuration files that point directly to controllers".

Attribute and in-code routes are a somewhat dated practice compared to what other mature frameworks out there are doing.

@davidfowl
Copy link
Member

This is about documenting the existing features. Use that ticket to further ask for things (or open a new one) but this issue isn't about adding new features.

@njasm
Copy link

njasm commented Nov 27, 2015

o_O

@danroth27
Copy link
Member Author

Initial content in PR: #602

@danroth27 danroth27 added this to the 1.0.0-rc2 milestone Dec 15, 2015
@danroth27 danroth27 added aspnet and removed mvc labels Dec 15, 2015
@danroth27 danroth27 added the Pri0 Urgent priority label Feb 16, 2016
@ar27111994
Copy link

Any way to map routes in a separate file / class? @danroth27 @atrauzzi

@NinoFloris
Copy link

I have searched everywhere for some content on how to handle custom inline route constraints in MVC 6. Are they still in?

@ardalis
Copy link
Contributor

ardalis commented Mar 3, 2016

When you say custom, you mean beyond the ones that are available here?
https://github.com/aspnet/Routing/blob/1.0.0-rc1/src/Microsoft.AspNet.Routing/RouteOptions.cs

@PeterBocan
Copy link

Any updates on this issue? I would appreciate some documentation on this topic :) ... would older documentation work until then?

@danroth27
Copy link
Member Author

It's in progress

@glangdonvt
Copy link

I'd be happy to be a test-subject for your documentation when you feel it's ready. I'm about 200 hours into working with MVC/webapi after about 25 years of software engineering experience. george@rcxrules.com.

@Rick-Anderson
Copy link
Contributor

trobinson41 pushed a commit to trobinson41/Docs that referenced this issue May 26, 2021
Dec 23 updates - debugger, transcode video, receipt messages, hide extensions, docs, usability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pri0 Urgent priority
Projects
None yet
Development

No branches or pull requests