Commit Graph

628 Commits

Author SHA1 Message Date
Pranav K d6c37fa77c Updating version to preview2 2018-01-24 15:00:29 -08:00
Pranav K 22d17046a4 Merge branch 'release/2.1' into dev 2018-01-23 15:50:56 -08:00
Pranav K d5af99075b Branching for 2.1.0-preview1 2018-01-23 15:32:40 -08:00
Jass Bagga 57697baedb
Tolerate leading "~/" or "/" (#509) 2018-01-11 13:00:01 -08:00
Jass Bagga 93d20ec78c
Revert Dispatcher changes (#508)
Addresses aspnet/Home#2741
2018-01-10 12:53:17 -08:00
ASP.NET CI 34c60bc14d Update dependencies.props
[auto-updated: dependencies]
2018-01-06 15:31:10 -08:00
Jass Bagga 8502900c18
Add Dispatcher packages descriptions (#507)
Addresses aspnet/Home#2656
2018-01-04 11:02:05 -08:00
Jass Bagga c66d5240d1
Recreate cache of endpoints when data source updated (#503)
Addresses #454
2018-01-03 14:33:16 -08:00
Jass Bagga a50780f8e3
Skip failing tests temporarily (#506) 2018-01-03 14:11:41 -08:00
Eilon Lipton bf231f0da8
Create ISSUE_TEMPLATE.md 2018-01-02 13:56:06 -08:00
ASP.NET CI b8b83cbfa6 Update dependencies.props
[auto-updated: dependencies]
2017-12-31 21:52:32 +00:00
ASP.NET CI 37364ebf08 Update dependencies.props
[auto-updated: dependencies]
2017-12-18 17:49:32 -08:00
Ryan Brandenburg aa4de988b0 Use current Visual Studio image 2017-12-18 11:51:46 -08:00
ASP.NET CI 52e8d13708 Update dependencies.props
[auto-updated: dependencies]
2017-12-13 21:36:12 +00:00
ASP.NET CI fdf5b64fae Update dependencies.props
[auto-updated: dependencies]
2017-12-10 13:40:55 -08:00
Ryan Brandenburg 2a7c4fe32a Update bootstrappers 2017-12-01 12:38:04 -08:00
Pranav K 5bf1259348 Specify runtime versions to install 2017-11-29 14:09:29 -08:00
Pranav K 2093e6b937 Replace aspnetcore-ci-dev feed with aspnetcore-dev 2017-11-21 15:48:47 -08:00
Jass Bagga 54e96bd404
Tolerate leading "~/" or "/" (#499)
Addresses #441
2017-11-21 14:20:17 -08:00
Nate McMaster e450e1fa32 Use MSBuild to set NuGet feeds instead of NuGet.config 2017-11-20 15:57:34 -08:00
Jass Bagga 1b0258ab8f
Move AddEntryToTree to shared source (#496)
Addresses #495
2017-11-20 14:18:50 -08:00
Jass Bagga e014f7218f
Use previous version of Appveyor image to avoid dotnet bug (#497) 2017-11-20 13:53:11 -08:00
Pranav K e1ee0d4697 Updating dependencies to make samples work 2017-11-17 15:29:35 -08:00
Pranav K 8b6c2ba31b Use MicrosoftNETCoreApp21PackageVersion to determine the runtime framework in netcoreapp2.1 2017-11-17 13:00:26 -08:00
Jass Bagga e2bcefc3d0
Move TreeEnumerator to shared source (#494) 2017-11-15 11:17:59 -08:00
Pranav K b67c63927c Update samples and tests to target netcoreapp2.1 2017-11-13 16:45:38 -08:00
Jass Bagga 7f8ba171f4
Move UrlMatchingTree to shared source (#492)
Addresses #489
2017-11-13 11:40:26 -08:00
Nate McMaster 6c8af17e3a
Add placeholder package descriptions to fix NuGetPackageVerifier errors (#490)
Merged to unblock CI. cref #491 to update the packages with tags and real package descriptions
2017-11-08 09:43:55 -08:00
Jass Bagga fd83b300b8
Port TreeMatcher (#488)
Addresses #472
2017-11-07 10:51:50 -08:00
Jass Bagga 3fadca6a1b
Add IConstraintFactory (#487)
Addresses part of #472
2017-11-02 10:57:37 -07:00
Nate McMaster f4fb178f55 Pin tool and package versions to make builds more repeatable
Part of aspnet/Universe#575
2017-11-01 16:32:09 -07:00
Ryan Nowak bb413c6ac3 Rename a bunch of old stuff 2017-10-26 12:35:58 -07:00
Ryan Nowak 81ddda7b96 Add MetadataCollection 2017-10-26 12:35:58 -07:00
Ryan Nowak 812fa9599a Reorganize some folders 2017-10-26 12:35:58 -07:00
Ryan Nowak ddcc409353 Move some files in/out of abstractions 2017-10-26 12:35:58 -07:00
Ryan Nowak d612072d1a Fix a broken MVC test 2017-10-25 23:29:35 -07:00
Ryan Nowak 736b49294d Add Template abstraction
This change adds the Template as a top level abstraction. URL templating
is now a two-stage process.

First you use a 'key' to look up a Template, then you use the Template
to create the URL.

This change also has some cleanup of the way RoutePatternBinder gets
instantiated. I added a factory service so that most of the complex
things can be made internal to Dispatcher. Now it's much easier to
constuct and use. These impacts some pubternal APIs that we already
broke, but makes them actually nice :)

Also cleaned up some tests and fixed one that was broken and not
running.
2017-10-25 22:15:24 -07:00
Ryan Nowak 2d661396df Port TemplateBinder to dispatcher 2017-10-25 14:28:20 -07:00
Jass Bagga eebc7db2ca Use RoutePatternMatcher logic in TemplateMatcher (#484) 2017-10-25 14:16:04 -07:00
Jass Bagga 485278bf0d Add RoutePatternMatcher to Dispatcher (#482) 2017-10-23 11:20:23 -07:00
Ryan Nowak bd517f891f Support conversions from RouteTemplate -> RoutePattern 2017-10-20 16:58:14 -07:00
Ryan Nowak df78db934d Port IRouteConstraint to the dispatcher project 2017-10-20 14:04:22 -07:00
Jass Bagga fdc5f21428 Port PathTokenizer (#478) 2017-10-20 13:24:00 -07:00
Ryan Nowak 08a64048da Redesign public API for templates
-Renamed RouteTemplate -> RoutePattern
-Made immutable
-Added Builder
-Lots of fixes to parser to support new design

There are a few small issues logged for follow-up but this is mostly in
the place I want it design-wise.
2017-10-19 09:41:45 -07:00
George Chakhidze a3c1b6d033 Avoid allocation of a new char array on every request in RouteCollection class
This is a very small micro-optimization: When LowercaseUrls and/or AppendTrailingSlash
options are enabled, on every call to RouteCollection.NormalizeVirtualPath a new
char[] { '?', '#' } is being allocated.
2017-10-17 17:45:15 -07:00
Jass Bagga 3a5cd6dd25 Port TemplateParser to Dispatcher project (#473)
Addresses #466
2017-10-17 11:52:26 -07:00
Ryan Nowak 927f8ed3d2 Add empty baselines for dispatcher
These packages didn't exist in 2.0 so there's no compat bar.
2017-10-17 10:46:03 -07:00
Nate McMaster 3cae26c6a2 Set RepositoryRoot 2017-10-13 14:42:32 -07:00
Jass Bagga bdbe922b22 Add logging (#467)
Addresses #439
2017-10-12 14:23:01 -07:00
Ryan Brandenburg c53fb8f10a Update bootstrappers 2017-10-09 12:44:57 -07:00