Commit Graph

388 Commits

Author SHA1 Message Date
Ajay Bhargav Baaskaran 8a59bcff08 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:09 -08:00
Doug Bunting 27c6d8c665 Remove project name from output path
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 21:06:00 -08:00
N. Taylor Mullen bb7cb4a0d9 Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:37:03 -08:00
Victor Hurdugaci ca83e8af78 Return the error code from build.cmd 2016-02-28 10:12:17 -08:00
Victor Hurdugaci cc84a5f4df Update the build scripts 2016-02-27 12:51:14 -08:00
mnltejaswini 41e3acf0fa [Perf] Avoid Linq method and save its related allocations in TreeRouter 2016-02-26 15:23:10 -08:00
mnltejaswini 1c9a54aeb8 [Perf] Reduce allocations in Link generation code paths 2016-02-24 17:25:32 -08:00
Doug Bunting a80a63271f Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 13:01:39 -08:00
Kiran Challa 05ff447d7d Fix service collection extensions: New overload having lambda for options, return void and added doc comments. 2016-02-22 11:06:09 -08:00
John Luo 8c64656882 Updating test TFMs for custom test discovery 2016-02-19 15:08:13 -08:00
Ajay Bhargav Baaskaran 3d8dcfac4f Enabled xml doc generation 2016-02-19 14:42:54 -08:00
Kiran Challa 51c4dd43b3 Enable tests to run using dotnet xunit runner 2016-02-10 15:01:44 -08:00
Ryan Nowak 9209f0c5a4 Remove bad reference from Routing sample 2016-02-10 12:46:15 -08:00
Pranav K 2e916284cc Reacting to CoreCLR package version changes 2016-02-08 09:33:49 -08:00
N. Taylor Mullen 67d2ec580c Update project.json to remove redundant System.Runtime dependency.
- This package is pulled in transitively.
2016-02-05 17:23:05 -08:00
Ryan Nowak 0b39ee0468 Remove Routing.Extensions 2016-02-04 10:03:30 -08:00
Ryan Nowak d97947e229 Move routing extensions to .Routing 2016-02-04 09:55:09 -08:00
Ryan Nowak 4b980c8afa Optimize defensive copies where possible 2016-02-03 15:36:42 -08:00
Ryan Nowak 48eb000a0e Fix routing build 2016-02-02 11:44:52 -08:00
Pranav K b4099adefb Fixing build 2016-01-29 09:33:03 -08:00
Doug Bunting 153c229b7e Update .gitignore
- ignore launchSettings.json in particular
2016-01-26 15:18:29 -08:00
N. Taylor Mullen 70d674410e Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:38 -08:00
N. Taylor Mullen ace4553d77 Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:31 -08:00
John Luo 34e3d14d78 Reacting to hosting rename 2016-01-17 17:28:32 -08:00
Nate McMaster 1dfcabbc3e Updating build script 2016-01-14 16:41:15 -08:00
jacalvar 9b217a4026 Fixes [#276] Throw a nicer error when the routing services haven't been added to DI 2016-01-14 15:11:20 -08:00
Pranav K 672d596248 Changes to build using dotnet-cli 2016-01-13 13:02:32 -08:00
Chris R 02d5eaee62 React to hosting API changes. 2016-01-12 15:34:44 -08:00
John Luo 982de18371 Updating tests to add options to services 2016-01-07 19:43:35 -08:00
John Luo c742390a3c Remove redundant AddOptions which is now a default hosting service 2016-01-07 17:45:36 -08:00
ryanbrandenburg b942e96216 * Fix LoggingExtension Naming 2016-01-07 10:03:07 -08:00
ryanbrandenburg 6e8b2ecd63 * Switch to new logging style 2016-01-06 15:07:46 -08:00
Pranav K 739dc7d621 Change the data type of VirtualPathData.VirtualPath
Fixes #270
2016-01-05 11:50:55 -08:00
Ryan Nowak 226cfb1e0d Optimize TemplateMatcher
Replaces a bunch of dictionary operations with indexing into an array by
doing some caching. Also eliminating an enumerator allocation by changing
from IReadOnlyDictionary to RouteValueDictionary.
2016-01-05 10:47:51 -08:00
Ryan Nowak 8f850f2a3e Remove dependency on Dictionary exception message
We shouldn't test framework error messages.
2015-12-30 17:52:35 -08:00
grehov a61a68defc Add support IEnumerable parameters for query string 2015-12-30 16:07:04 -08:00
Ryan Nowak 33f9bdadef Pool state used to generate URL 2015-12-28 09:27:41 -08:00
Hao Kung a956fe53c1 OptionsModel => Options 2015-12-21 15:54:13 -08:00
John Luo 25b909355d Reacting to new Hosting API 2015-12-18 17:35:52 -08:00
Ryan Nowak 1e6ff07ec8 Fix routing service registration 2015-12-18 10:35:57 -08:00
Ryan Nowak 813171a016 Reduce allocation in URL generation
This change optimizes our a per-operation dictionary that really can just
be cached for the whole app's lifetime.
2015-12-18 09:20:52 -08:00
Pranav K 37c167aa74 Adding UrlEncoder to the ServiceCollection 2015-12-17 15:34:10 -08:00
Ajay Bhargav Baaskaran ef0ea537e2 Removed CatchAll and Fallback from DecisionTree 2015-12-16 10:52:53 -08:00
Pranav K 2ab24aa0f4 Remove custom url encoding
Fixes #214
2015-12-16 09:06:49 -08:00
Ryan Nowak cb39589864 Add extension methods for using routing with Middleware 2015-12-14 13:21:50 -08:00
Ryan Nowak cc501bc025 HttpMethodConstraint -> HttpMethodRouteConstraint
This is consistent with other constraint types in routing, and avoids a
naming conflict with MVC.

This is a change **away** from the names used in System.Web and
System.Web.Http.Routing, but it seems worth doing for consistency and
clarity.
2015-12-14 10:10:17 -08:00
Ryan Nowak 604fc6bb54 Fix #248 Add HttpMethodRouteConstraint
Constraint code ported from WebAPI2. Tests are new.

Also a bunch of misc cleanup for constraints.
- Move IRouteConstraint to abstractions
- Fix namespace of a constraint
- Some general style cleanup
- use RouteValueDictionary in the public API
2015-12-14 08:52:47 -08:00
Pranav K 9a178b9d38 Merge branch 'release' into dev 2015-12-11 12:24:09 -08:00
Pranav K cb39ab5c43 Updating to release NuGet.config. 2015-12-11 12:24:06 -08:00
Ryan Nowak 32bbd8516c Quick fix: Add routing feature on success 2015-12-11 08:36:46 -08:00