Commit Graph

164 Commits

Author SHA1 Message Date
Pranav K 45f6bcde4a Merge branch 'release' into dev 2014-11-06 12:49:52 -08:00
Pranav K 087552dc5f Updating to release NuGet.config 2014-11-06 12:49:38 -08:00
Pranav K c72dc37f0e Merge branch 'release' into dev 2014-11-06 10:48:49 -08:00
Pranav K 674324ec28 Updating to release NuGet.config 2014-11-06 10:48:46 -08:00
SonjaKhan 673854b060 renaming TraceType to LogLevel 2014-11-05 10:47:42 -08:00
Ryan Nowak 08c591c74b Fix for #104 - RouterMiddleware should take ILoggerFactory in the
constructor

Did some cleanup here to make these tests work on CoreCLR. They weren't
using Moq for anything important.
2014-11-03 12:38:17 -08:00
Ryan Nowak 87f0bbb092 adding tests 2014-10-31 16:00:04 -07:00
Ryan Nowak aae9e67773 add docs 2014-10-31 15:02:54 -07:00
Ryan Nowak d78e5478a7 Fix for #65,116 - Implement 'stack of routers'
This is the routing part of the fix. MVC will be updated as well
(attribute routing).

As the graph of routers is traversed, routers add themselves to the
current 'path', which unwinds on a failed path.

This mechanism is opt-in. Whoever adds something needs to remove it as
part of cleanup. If a router in the tree doesn't interact with the
.Routers property, then there are no consequences for those that do.

Additionally, fixing #116 as part of the same change. This means that we
create a nested 'RouteData' and then restore it on the way out. This is
simpler than just dealing with the .Routers property in isolation.
2014-10-31 14:07:35 -07:00
Kirthi Krishnamraju bc0b61b6f2 Merge branch 'release' into dev 2014-10-29 13:19:43 -07:00
Kirthi Krishnamraju 40b2da7cc7 Added description to project.json 2014-10-29 11:45:42 -07:00
Pranav K b95247d3c4 Merge branch 'release' into dev 2014-10-28 12:36:55 -07:00
Pranav K 0350ca1dba Switching TraceType to Verbose 2014-10-27 16:27:58 -07:00
Pranav K 16725ac0d7 Adding reference to System.Reflection.Extensions 2014-10-24 01:09:02 -07:00
Ryan Nowak db140c9f21 Fix #91 - Make LoggerExtensions public but in an internal namespace 2014-10-22 18:14:05 -07:00
jacalvar 02a0a218b9 [Fixes #90] RouteTemplate does not take RouteData
Changed the implementation of route template to merge the existing route data
with the values obtained from parsing the request path with the given template.

Restored original route data values in case the route template data does not match.
2014-10-22 13:22:11 -07:00
Pranav K e0f01aa6bb Remove unnecessary references from project.json 2014-10-17 17:49:31 -07:00
Stephen Halter fff1d62f01 Change GetService calls to GetRequiredService
GetRequiredService throws for missing services like GetService used to.
2014-10-17 15:31:57 -07:00
Hao Kung 30a4ee1ce1 React to EnsureRoutingServices fix 2014-10-14 21:03:16 -07:00
Hao Kung 86dcbfd0d1 React to options and hosting changes
Uses EnsureRequestServices to force RequestServices to be created
2014-10-14 19:09:15 -07:00
Harsh Gupta 3b19de0e42 Fixing #106 2014-10-14 17:51:15 -07:00
SonjaKhan 2a8ac595d8 Refactoring ILogger, see aspnet/Logging#3 2014-10-14 10:20:58 -07:00
jacalvar 3ff9d6e8a0 [Fixes #108] Disallow the use of '*' in route parameter names 2014-10-13 15:55:02 -07:00
Pranav K e8de0f9d6e Updating System.Text.RegularExpressions version 2014-10-10 14:01:37 -07:00
Pranav K 91a11a9dfe Reacting to CLR package versioning changes 2014-10-10 10:34:07 -07:00
Hao Kung 3e4a412b21 React to options change 2014-10-08 12:56:01 -07:00
Max Toro fc5f702162 Made GetVirtualPath virtual
For extensibility. This method has always been virtual in MVC and Web API.
2014-10-06 19:21:20 -07:00
David Fowler 964e84e57b Fixup references 2014-10-05 12:30:20 -07:00
Pranav K 7dc6019839 Adding quotes around boolean value in project.json to make
JavaScriptSerializer on Mono happy
2014-09-22 11:38:34 -07:00
Pranav K dcd921005c Updating tests to run on Mono
Fixes #95
2014-09-22 11:19:13 -07:00
Pranav K c9c53a686d Updating build.sh to use kvm from KoreBuild 2014-09-21 21:56:59 -07:00
Pranav K 8de83ce117 Updating dev NuGet.config 2014-09-17 09:58:35 -07:00
Pranav K 54c8f97615 Updating release NuGet.config 2014-09-17 09:58:33 -07:00
Pranav K b15810a173 Reacting to System.Text.Encoding package version change 2014-09-11 10:06:57 -07:00
Chris Ross fbe4da4db9 Handle IBuilder rename to IApplicationBuilder. 2014-09-10 12:44:52 -07:00
David Fowler 867ec5241d Updated build.cmd 2014-09-05 01:50:56 -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
jacalvar ab7445f59d [Fixes #9] Use a common query string builder api
1. Added a reference to Microsoft.AspNet.WebUtilities.
2. Refactored TemplateBinder to use QueryBuilder instead of
   manually creating a query string.
2014-08-27 10:04:29 -07:00
harshgMSFT 30084b061b Removing stale entry in .kproj 2014-08-15 17:34:34 -07:00
harshgMSFT 70402c8f2c Adding RegexInlineRouteConstraint 2014-08-15 17:32:25 -07:00
Louis DeJardin b9baae4693 Implementing ILoggerFactory.AddProvider 2014-08-15 16:15:03 -07:00
David Fowler 966d6dd016 Removed source files from the project 2014-08-15 09:26:26 -07:00
harshgMSFT e12122ec76 Fixing doc comment. 2014-08-13 11:57:56 -07:00
harshgMSFT efdd3054d2 Adding DataTokens Support. 2014-08-11 11:59:00 -07:00
harshgMSFT 860fcf65f3 Reacting to helios rename 2014-08-06 17:09:25 -07:00
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