Commit Graph

44 Commits

Author SHA1 Message Date
N. Taylor Mullen da775351e2 Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:55:34 -07:00
Doug Bunting c59366e8a7 Quick cleanup
- `DefaultInlineConstraintResolver` has no need of a `IServiceProvider`

nits:
- add doc comments for changed `DefaultInlineConstraintResolver` ctor
- let VS add a dev server port to sample's .kproj
- add debugSettings.json and .vs/ to .gitignore
2015-01-30 10:02:58 -08:00
Victor Hurdugaci 8b93a0c018 Add schema version to kproj files 2014-11-25 11:01:35 -08:00
Hao Kung 21a6f44c38 GetDefaultServices -> AddRouting with TryAdd 2014-11-24 16:37:10 -08:00
Doug Bunting 1f67f69205 Add missing license headers
- #EngineeringDay
2014-11-20 23:25:52 -08:00
Ryan Nowak 5c116db6a5 Add a sample of building a customize 'MapRoute' method
This is a sample of the pattern for building a MapRoute method that
customizes routing by adding constraints, datatokens, or defaults. This is
the replacement for adding data to the route directly.

Also fixed up the sample to work. It was massively out of date.
2014-11-18 11:58:29 -08:00
Pranav K e0f01aa6bb Remove unnecessary references from project.json 2014-10-17 17:49:31 -07:00
Pranav K 91a11a9dfe Reacting to CLR package versioning changes 2014-10-10 10:34:07 -07:00
David Fowler 964e84e57b Fixup references 2014-10-05 12:30:20 -07:00
Chris Ross fbe4da4db9 Handle IBuilder rename to IApplicationBuilder. 2014-09-10 12:44:52 -07:00
David Fowler 4a8de5dad4 Updated to use the new target framework in project.json 2014-09-04 01:50:07 -07:00
David Fowler 81e905cfa9 Updated to use the new target framework in project.json 2014-08-28 23:45:58 -07:00
David Fowler 966d6dd016 Removed source files from the project 2014-08-15 09:26:26 -07:00
harshgMSFT 860fcf65f3 Reacting to helios rename 2014-08-06 17:09:25 -07:00
Ryan Nowak 038802ee45 removing unneeded web.config 2014-07-15 14:14:15 -07:00
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