Commit Graph

118 Commits

Author SHA1 Message Date
harshgMSFT 5b849596bb Fix for Issue#55 Changing Template->RouteTemplate 2014-08-06 16:14:50 -07:00
Pranav K 20ec60f921 Updating dev Nuget.config 2014-08-06 12:30:47 -07:00
Pranav K dc57fd8dc2 Updating release Nuget.config 2014-08-05 15:50:23 -07:00
Ben Brown fca9831115 Routing Logging
Added scoped logging to RouterMiddleware, RouteCollection, and
TemplateRoute.
2014-08-01 13:59:48 -07:00
Ryan Nowak 61436fb7d1 Revert "Revert "Fix for issue 85 - Dictionary types should return null on key not found""
This is reverting the revert. We're going to go ahead with this change and
work around it in MVC.

This reverts commit 0e826e69e6.
2014-07-31 15:01:03 -07:00
Ryan Nowak 0e826e69e6 Revert "Fix for issue 85 - Dictionary types should return null on key not found"
This is causing issues with routing functional tests in CoreCLR. Suspect
CoreCLR compat issue.

This reverts commit ae65001e84.
2014-07-25 14:35:36 -07:00
Ryan Nowak ae65001e84 Fix for issue 85 - Dictionary types should return null on key not found
This change makes RouteValueDictionary a full IDictionary implementation
instead of a subclass of Dictionary.

Followed the patterns used in the old implementation, namely preserving
the struct-returning behavior of Keys/Values/GetEnumerator.
2014-07-25 13:17:52 -07:00
Ryan Nowak 3eb6c22330 Make RoutePartsEqual public. 2014-07-15 14:25:05 -07:00
Ryan Nowak 038802ee45 removing unneeded web.config 2014-07-15 14:14:15 -07:00
Pranav K b9898ef249 Reacting to System.Collections versioning change 2014-07-14 15:54:43 -07:00
Ryan Nowak ad0ebb9f4c cr feedback 2014-07-14 15:31:45 -07:00
Pranav K fab9ffd208 Reacting to System.Collections version change 2014-07-14 15:22:43 -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
Ryan Nowak 63dcdd6ca5 Fix for #77 - pass ambient values not in the template to constraints
This change adds tests and makes the behavior consistent with legacy MVC
as far as what values are visible in constraints.

This is important because it allows constraints to make decisions based on
whether or not a value is present even if it's not in the template. This
is similar to the behavior of WebAPI link generation or Area link
generation in MVC 5 - but without hardcoding.
2014-07-08 10:18:00 -07:00
tugberkugurlu c6eff50c24 directly return inside the BuilderExtensions.UseRouter method 2014-07-01 10:03:52 +03:00
Brice Lambson 1f9b7f00d6 Updating dev Nuget.config 2014-06-20 14:33:27 -07:00
Brice Lambson a86965f00e Updating release Nuget.config 2014-06-20 14:33:26 -07:00
Brice Lambson a0a0db9856 Bump version to 1.0.0-* 2014-06-19 16:46:05 -07:00
harshgMSFT cef4a3ec05 Removing dictionary overloads from MapRoute. 2014-06-19 14:38:08 -07:00
Wei Wang a6c872bb08 Change the default author in makefile.shade 2014-06-18 16:41:34 -07:00
harshgMSFT fbffcb7b40 Adding Remaining Inline Route Constraints. 2014-06-18 16:29:49 -07:00
harshgMSFT 0ca5576926 StyleCop Fixes for routing. 2014-06-16 11:18:01 -07:00
Pranav K e223173869 Updating build.sh based on KRuntime changes 2014-06-10 17:24:16 -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 28b89c8fe5 Changing to list 2014-06-06 10:16:47 -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
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