Ryan Nowak
d10682d15b
Issue aspnet/Mvc#56 - merging RouteContext and RequestContext
...
This is the routing part of these changes, and just the breaking changes
parts.
Follow-ups will add:
- DataTokens
- Tracking the logical stack of routers
2014-06-06 10:11:57 -07:00
Ryan Nowak
1d4ceef81b
Turning on warnings as errors for routing
2014-06-04 18:42:41 -07:00
Ryan Nowak
4a51ced5de
Fix project file
2014-06-04 13:02:37 -07:00
harshgMSFT
1d3e41560c
Routing DI Changes I:
...
Moving out Default Handler and IInlineConstraintResolver from RouteCollection.
These are moved to a new interface IRouteBuilder, (instead of an IInlineConstraintResolver, it takes in an IServiceProvider).
This means all RouteCollectionExtensions are moved to RouteBuilderExtensions.
2014-06-03 16:50:48 -07:00
Pranav K
874ef7bc76
Adding switch to build.cmd to skip KRE install
2014-06-03 10:16:35 -07:00
Ryan Nowak
5616ce0bfa
Fix for #36 - IBuilder extension methods should take IRouter
2014-05-30 15:57:40 -07:00
harshgMSFT
5dc8267920
Adding Tests for InlineRouting Support.
2014-05-30 12:56:04 -07:00
harshgMSFT
2e96ba5862
Updating Class and file names according to PR feedback.
2014-05-30 12:40:42 -07:00
harshgMSFT
ff3f011ca8
Responding to comments
2014-05-30 12:40:25 -07:00
harshgMSFT
9885830200
Support for InlineConstraints in Route Template
2014-05-30 12:39:25 -07:00
harshgMSFT
187d8e4911
Support for InlineConstraints in Route Template
2014-05-30 12:28:14 -07:00
David Fowler
bde341caed
Fixed project.json casing
2014-05-26 02:51:56 -07:00
David Fowler
391acfd1d6
Fixed casing of project.json
2014-05-25 10:05:39 -07:00
David Fowler
a7ed2891dd
Renamed Project.json to Project.json2
2014-05-25 10:05:39 -07:00
Pranav K
d8da964e88
Updating kproj file to match tooling changes
2014-05-18 20:13:56 -07:00
Eilon Lipton
808bb889d5
Create CONTRIBUTING.md
2014-05-13 01:02:51 -07:00
danroth27
73f3536122
Update README.md
2014-05-12 22:40:11 -07:00
Glenn
be4e91f343
Update README.md
2014-05-12 17:58:10 -07:00
Yishai Galatzer
20d7567bce
Update .gitignore
2014-05-11 08:49:34 -07:00
David Fowler
f31c65da7b
React to renames
2014-05-09 01:13:18 -07:00
Andrew Peters
feb150570a
Updating copyright headers
2014-05-08 23:01:29 -07:00
Eilon Lipton
21744c4927
Create LICENSE.txt
2014-05-08 16:35:44 -07:00
Wei Wang
96568362ea
Sort dependencies and remove duplicates in dependencies
2014-05-07 17:47:44 -07:00
Chris Ross
7a855ba626
Remove unused DI dependency.
2014-05-06 11:25:54 -07:00
David Fowler
b0dc6c95f8
React to more renames
2014-05-06 00:22:55 -07:00
Ryan Nowak
8fcddc12e7
Incorporate name changes
2014-05-05 16:54:45 -07:00
Ryan Nowak
dfd4ba4b1b
Fixing routing for package changes in reflection
2014-05-05 10:24:29 -07:00
Louis DeJardin
f665b131df
Updating build scripts
2014-05-02 15:07:38 -07:00
Louis DeJardin
4651b4ab4d
Updating build scripts
2014-05-02 14:45:22 -07:00
anpete
51317a7039
Update file headers
2014-05-01 17:41:33 -07:00
harshgMSFT
950ce56ea5
Adding Support for NamedRoutes.
...
- Interface Changes.
- RouteCollectionExtensions
- Tests for Named Routes
2014-04-30 11:23:54 -07:00
David Fowler
f86877b14f
Move BuilderExtensions and RouterMiddleware to Microsoft.AspNet
2014-04-18 00:22:27 -07:00
Ryan Nowak
06c63c38a1
Fix for #32 and #33 - return IBuilder from UseRouter
...
Also removing the overload that doesn't take a route collection
2014-04-16 20:01:35 -07:00
David Fowler
1a9c0ad548
Reduce project.json dependencies
2014-04-09 21:33:59 -07:00
David Fowler
23c11bc950
Updated to use the new tooling
2014-04-08 01:37:06 -07:00
Ryan Nowak
798145418f
Add a verify call to a test
2014-04-02 18:58:39 -07:00
Ryan Nowak
87a47f50cc
Passing more data to on GetVirtualPath
...
For link generation to areas, we need to provide the set of values that
the route could potentially provide.
Basically if we know what action we want to reach, we want to know whether
or not a given route could hit that action before giving it the OK to
generate a link.
For instance a route like '{controller}' couldn't hit an action like
'HomeController:DoACoolThing', since it can never provide a value for
'action'. This makes it possible for WebFX to make the right decision
without changing the behavior of any of the routing constructs. This also
has the side-effect of removing a class of order dependencies in routing
that cause bad links to be generated.
2014-03-31 12:05:47 -07:00
Pranav K
90864bcd9c
Fixing broken project.json
2014-03-31 11:25:56 -07:00
Yishai Galatzer
3e7d8d54f9
CR Feedback
...
Added and renamed tests
2014-03-31 09:32:47 -07:00
Yishai Galatzer
ff5d919e0d
Remove unused usings
2014-03-31 09:31:50 -07:00
Yishai Galatzer
cd0528b1b2
Link generation related tests
2014-03-31 09:31:49 -07:00
Yishai Galatzer
77ef7a5cde
RouteConstraints Step II + III
...
Include Url Generation support
Add unit tests
Clean issues found by unit tests
2014-03-31 09:31:48 -07:00
David Fowler
2b87a625d9
Updated clr packages
2014-03-29 01:15:28 -07:00
Pranav K
6ff5ebafd2
Updating CoreCLR package versions
2014-03-27 17:30:36 -07:00
Yishai Galatzer
db7b36a859
Fix merge errors
2014-03-27 11:01:04 -07:00
Yishai Galatzer
70e26a80ad
CR Feedback
2014-03-27 10:58:15 -07:00
Yishai Galatzer
a917cbd577
Constraints
2014-03-27 10:58:14 -07:00
Ryan Nowak
cf16d6cba7
Small refactor of TemplateBinder
...
We'll need to access the accepted values to do proper link generation, so
separating this process out into 2 parts.
Also moving defaults into the TemplateBinder because they are conceptually
part of the route, not part of the request. I'll do the same for
TemplateMatcher soon, but it's a big change and worth separating.
2014-03-26 18:44:57 -07:00
Yishai Galatzer
89828f6a92
Add missing reference to project.json and include version in routing
2014-03-26 13:13:14 -07:00
Ryan Nowak
db7b068f6b
Added back K10 version of the routing sample to the sln
2014-03-18 16:25:44 -07:00