Pavel Krymets
29e87e314a
Fix coreclr registry and file system related tests
2015-12-14 14:41:03 -08:00
Ryan Nowak
1126d47b3e
React to breaking changes in RouteBuilder
2015-12-14 14:40:38 -08:00
Brennan
c41be75796
Wrap Branch in try finally
2015-12-14 14:02:54 -08:00
Ryan Nowak
cb39589864
Add extension methods for using routing with Middleware
2015-12-14 13:21:50 -08:00
Martin Johns
5e837b4eef
Reduce overuse of null-conditional operator
2015-12-14 10:47:15 -08:00
Chris R
965a86e404
#593 Convert samples to use UserSecrets.
2015-12-14 10:46:22 -08:00
Ryan Nowak
a2393f21be
Adds ControllerBase to Mvc.Core
...
This change adds a base class for controllers to Mvc.Core that can be used
without a dependency on views, json, etc.
Most of the functionality on Controller moves to ControllerBase. I kept
the IActionFilter and IDisposable functionality on Controller since it's
not really a fit with the 'minimal' philosophy.
2015-12-14 10:29:55 -08:00
John Luo
455d865948
Fixing deadlock hang in test when running in single threaded environment
2015-12-14 10:14:32 -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
ad3c460500
React to breaking in IRouteConstraint
2015-12-14 10:08:09 -08:00
Kiran Challa
05dcc22da7
Temporarily disabling smoke tests from running on Mono
2015-12-14 10:07:06 -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
Ryan Nowak
ee6ef3f25f
Last part of #3676
...
Uses the correct IEnumerable<> in validation strategies
2015-12-14 08:52:44 -08:00
Brennan
59b32934e3
Change Expires to DateTimeOffset
2015-12-14 08:27:59 -08:00
SteveSandersonMS
ef7e136f6e
Remove unnecessary (and currently non-existent) namespace
2015-12-14 14:39:47 +00:00
Steve Sanderson
75b959d459
Merge pull request #23 from henkmollema/projectjson
...
Target dotnet TFM's for class libraries
2015-12-14 13:58:14 +00:00
SteveSandersonMS
2e0aed8138
Slight simplification to MusicStore build process
2015-12-14 13:57:57 +00:00
Henk Mollema
c56282a452
More changes
2015-12-14 14:54:32 +01:00
Henk Mollema
d946c4b5b8
Address PR feedback
2015-12-14 14:51:41 +01:00
SteveSandersonMS
80575a092e
Don't ignore synchronous errors when calling Node
2015-12-14 13:16:39 +00:00
Steve Sanderson
918d8d422a
Merge pull request #22 from gregbty/master
...
Replace express with native node calls
2015-12-14 12:50:00 +00:00
SteveSandersonMS
e9ba74761d
Fixes
2015-12-14 12:43:56 +00:00
SteveSandersonMS
8a148d8535
Move from ValidationErrorResult to HttpBadRequest, and support object-level errors too
2015-12-14 12:02:41 +00:00
Kiran Challa
0af4e2e32b
Disabling tests from running in parallel
2015-12-13 23:02:18 -08:00
Ben Adams
dc9f5c433b
Update reason phrases to current
...
Update HTTP reason phrases to current values; are currently original
phrases.
2015-12-13 23:17:03 +00:00
Stephen Halter
a696eb89d5
Merge branch 'benaadams/pool-writecontexts' into dev
2015-12-13 02:57:27 -08:00
Kiran Challa
5c2ef70cae
Modifying E2E tests to run on coreclr
2015-12-12 23:01:38 -08:00
Kiran Challa
3325bfc653
Fix how we chose target runtime in deployers
2015-12-12 22:12:01 -08:00
Doug Bunting
8a310b35a4
Update to latest `UseRequestLocalization()` signature
...
- build break
nit: add more trailing commas in init syntax
2015-12-11 22:58:13 -08:00
Pranav K
56c6975a21
Tweak CacheTagHelper sample to use a token provider service for
...
cache expiration.
Fixes #3573
2015-12-11 15:23:34 -08:00
damianedwards
0b013ae769
Usability improvements:
...
- Remove the defaultRequestCulture parameter from IApplicationBuilder.UseRequestLocalization and make it a property on RequestLocalizationOptions instead
- Have just a single overload for IApplicationBuilder.UseRequestLocalization that takes the options
- #164
2015-12-11 15:21:07 -08:00
N. Taylor Mullen
392871beb6
Change missing section end brace error to work at EOF.
...
- Updated existing tests and added a new case to understand `@section {....` scenarios.
- Instead of trying to guess 1 character prior to EOF decided to log error on opening brace since we know its position. Updated error to account for change in location.
#625
2015-12-11 15:10:53 -08:00
Pranav K
21e815cb36
Removing CodeGenerators.Mvc reference
2015-12-11 14:59:47 -08:00
Pavel Krymets
e0d3d7e85d
Catch and display project validation exceptions correctly
2015-12-11 14:13:56 -08:00
Doug Bunting
19e6fb5719
MVC functional test cleanup part 1
...
- #3612 (subpart 1 of 2)
- delete six sites and associated tests entirely
- `ActionResultsWebSite`
- `ActivatorWebSite`
- `ControllerDiscoveryConventionsWebSite`
- `LoggingWebSite`
- `LowercaseUrlsWebSite`
- `ModelBindingWebSite`, now covered in integration tests
- remove now-unused `FilteredDefaultAssemblyProviderFixture`, `LoggingAssert` and `LoggingExtensions`
- move six test web sites into `./samples`
- `CustomRouteWebSite` -> `CustomRouteSample.Web`
- `FormatFilterWebSite` -> `FormatFilterSample.Web`
- `InlineConstraintsWebSite` -> `InlineConstraintSample.Web` (now singular)
- `JsonPatchWebSite` -> `JsonPatchSample.Web`
- `LocalizationWebSite` -> `LocalizationSample.Web`
- `RazorEmbeddedViewsWebSite` -> `EmbeddedViewSample.Web` (no longer "Razor" and now singular)
- do some cleanup: remove test dependencies, shorten sample controller names, use more attribute routing
- correct "license" spelling in `ApplicationModelWebSite`
2015-12-11 13:13:41 -08:00
Pranav K
604640e3a0
Merge remote-tracking branch 'origin/release' into dev
2015-12-11 12:34:26 -08:00
Pranav K
03ea2f5724
Updating to release dnvm and NuGet.config
2015-12-11 12:33:57 -08:00
Pranav K
17a8be9965
Merge remote-tracking branch 'origin/release' into dev
2015-12-11 12:32:32 -08:00
ASP.NET Push Bot
05e4679bee
⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
...
Source: aspnet/dnvm@e75cc2da1f
2015-12-11 12:28:39 -08:00
Pranav K
8897b49e83
Merge branch 'release' into dev
2015-12-11 12:25:36 -08:00
Pranav K
5304b3b04f
Updating to release NuGet.config.
2015-12-11 12:25:33 -08:00
Pranav K
59fb1ad3b7
Merge branch 'release' into dev
2015-12-11 12:25:24 -08:00
Pranav K
b3f4ab1ddd
Updating to release NuGet.config.
2015-12-11 12:25:21 -08:00
Pranav K
653eea9885
Merge branch 'release' into dev
2015-12-11 12:24:52 -08:00
Pranav K
01b3e6677c
Updating to release NuGet.config.
2015-12-11 12:24:50 -08:00
Pranav K
a5e4b91154
Merge branch 'release' into dev
2015-12-11 12:24:46 -08:00
Pranav K
d35255f30b
Updating to release NuGet.config.
2015-12-11 12:24:42 -08:00
Pranav K
82f15613f2
Merge branch 'release' into dev
2015-12-11 12:24:35 -08:00
Pranav K
7a865a2f39
Updating to release NuGet.config.
2015-12-11 12:24:33 -08:00
Pranav K
3b895f8a70
Merge branch 'release' into dev
2015-12-11 12:24:30 -08:00