Commit Graph

48 Commits

Author SHA1 Message Date
David Fowler f696a06012 Renamed configurations to frameworks in project.json 2014-07-13 22:00:44 -07:00
Ryan Nowak 27d6a735af Implement a 'required' constraint
This is useful for a variety of interesting scenarios in link generation
where a default value doesn't appear in the route template as a parameter.

This can be used to implement the desired behavior for areas - where the
'area' key is sticky.
2014-07-08 16:23:14 -07:00
Brice Lambson a0a0db9856 Bump version to 1.0.0-* 2014-06-19 16:46:05 -07:00
harshgMSFT fbffcb7b40 Adding Remaining Inline Route Constraints. 2014-06-18 16:29:49 -07:00
Pranav K a1fe088d3a Removing RouteContext.RequestPath and calculating it from HttpContext as needed. 2014-06-09 11:18:49 -07:00
harshgMSFT a499d4a92a Routing DI Changes II : Adding services for routing. 2014-06-06 17:08:01 -07:00
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
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
harshgMSFT 5dc8267920 Adding Tests for InlineRouting Support. 2014-05-30 12:56:04 -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
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
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
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
David Fowler 2b87a625d9 Updated clr packages 2014-03-29 01:15:28 -07:00
Yishai Galatzer a917cbd577 Constraints 2014-03-27 10:58:14 -07:00
Yishai Galatzer 89828f6a92 Add missing reference to project.json and include version in routing 2014-03-26 13:13:14 -07:00
David Fowler fc3a76d63d Clean up project.json file
- Removed unused dependencies
2014-03-18 16:21:51 -07:00
David Fowler 707a563e08 Remove hacky self host sample and replace with helios sample. 2014-03-18 16:21:50 -07:00
Ryan Nowak da057820e5 Rename BindPath (CR Feedback) 2014-03-10 10:02:57 -07:00
David Fowler f5a43708ee Added references to required K packages 2014-03-07 02:28:46 -08:00
Ryan Nowak f604fb8d87 CR feedback again 2014-03-06 12:18:31 -08:00
Ryan Nowak f43985b58d CR feedback 2014-03-06 11:27:37 -08:00
Ryan Nowak d2a3bd3490 CR feedback 2014-03-05 20:41:22 -08:00
Ryan Nowak 5d34a61bd9 API changes for Routing 2014-03-05 16:48:10 -08:00
Ryan Nowak cd73fac433 Adding API for consuming url generation 2014-03-05 13:28:44 -08:00
Ryan Nowak bdd4513b88 Adding object-dictionary support for defaults 2014-03-05 11:27:04 -08:00
Ryan Nowak 42ce8c6594 Adding routebuilder 2014-02-11 12:21:40 -08:00
Ryan Nowak 179841743e updating OM of routing, about 10% better perf 2014-02-07 18:28:54 -08:00
Ryan Nowak 856c09ae10 Removing OwinRouteEndpoint 2014-02-04 16:24:17 -08:00
Ryan Nowak cd0b684094 cr feedback 2014-02-04 13:54:16 -08:00
Ryan Nowak 0eb5ff0b87 integrating abstractions with routing 2014-02-04 12:39:19 -08:00
Ryan Nowak c796188231 integrating abstractions with routing 2014-02-03 15:56:44 -08:00
Ryan Nowak a86624d386 change to non-static entrypoint, which klr is looking for 2014-01-30 11:22:18 -08:00
Ryan Nowak 84f4a2d047 Initial mock up of key interfaces for routing.
This is heavily based right now on raw Owin as the request/response model
since that will work for building samples/tests, and doesn't require
ifdefs in the code for k10. Once it's feasible, I'll port this to use the
Microsoft.AspNet.Abstractions types.

The sample here includes some basic route/endpoint implementations just to
prove that the route engine works in naive scenarios. These might live on
in the future in some form, but for now it's just part of the sample.

The next step is to integrate this with WebFX and start developing the
integration/configuration story for WebFX.
2014-01-30 11:08:19 -08:00
Ryan Nowak 9f9f92d18a Adding skeleton sample and test project 2014-01-30 11:07:52 -08:00
Ryan Nowak c0660f347a Revert "Getting routing prototype into history"
We're not using the prototype as a base, just want to to be in the history
so we can easily refer to it.

This reverts commit 4183bc98be.
2014-01-28 14:26:58 -08:00
Ryan Nowak 4183bc98be Getting routing prototype into history 2014-01-28 14:25:49 -08:00