Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Clearly document options and all the semantics of defaults #235

Closed
atrauzzi opened this issue Nov 22, 2015 · 5 comments
Closed

Clearly document options and all the semantics of defaults #235

atrauzzi opened this issue Nov 22, 2015 · 5 comments

Comments

@atrauzzi
Copy link

When I'm using MapRoute, it would be nice if I could know the full list of possible options that can go into the defaults object and what each option does.

@Eilon
Copy link
Member

Eilon commented Dec 15, 2015

@atrauzzi sorry exactly what options are you looking for? It's just a dictionary - no tokens have any special meaning in there.

@atrauzzi
Copy link
Author

Don't controller and action have any special meaning to the framework there in determining what gets run?

@Eilon
Copy link
Member

Eilon commented Dec 15, 2015

They have a special meaning in MVC, but not in routing. You can route to non-MVC stuff as well (especially with some of the newest routing features, which allows routing to any middleware).

@atrauzzi
Copy link
Author

@Eilon - That's actually super helpful to know. So I guess that means this should be a request on the MVC repository instead?

@Eilon
Copy link
Member

Eilon commented Dec 28, 2015

More than anything, it's probably a topic for the https://github.com/aspnet/Docs/ repo. I'm not sure where this would be documented in MVC itself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants