N. Taylor Mullen
581d738732
Try beta
2015-08-26 12:52:30 -07:00
N. Taylor Mullen
0d9d01381c
Test
2015-08-26 12:51:19 -07:00
N. Taylor Mullen
53b72f65f4
Force mono to specific version.
...
- Mono just pushed a change to their alpha feed that looks to have broken several MVC tests. As an interim fix specifying the version will ensure MVC builds on travis.
2015-08-26 12:48:35 -07:00
glennc
870b6c9bb5
Set beta7 version numbers.
2015-08-26 11:18:21 -07:00
Pranav K
6615972162
Adding System.Text.Encoding to project.json to unblock CI
2015-08-26 10:11:27 -07:00
Pranav K
ef24402f1d
Reacting to Mvc renames
2015-08-26 09:43:35 -07:00
Stephen Halter
69759231ff
Set Content-Length: 0 when an AppFunc completes without a write
...
- Previously an incomplete chunked response would be written instead.
- Add test to verify Content-Length: 0 is set automatically.
- Add test to verify HTTP/1.0 keep-alive isn't used if no Content-Length
is set for the response.
- Add tests to verify errors are handled properly after chunked writes.
#173
2015-08-25 23:17:41 -07:00
N. Taylor Mullen
cc5c0d6cbe
Update `HelperResult` to take in an async func.
...
- The corresponding Razor change results in `HelperResult`s being rendered with async lambdas.
- This change enables `TagHelper`s and other async code to exist inside of `HelperResult` blocks.
- Added test to validate Templates (they generate `HelperResult`s) can utilize `TagHelper`s correctly.
- Rename `RazorPage`s `RenderBodyDelegate` to `RenderBodyDelegateAsync`.
aspnet/Razor#494
2015-08-25 22:37:17 -07:00
Pranav K
3041dee86d
Modify RazorPreCompileModule to use an instance of memory cache specific
...
to the application's target framework and configuration.
2015-08-25 22:26:16 -07:00
Pranav K
44b45f3b1f
Move RazorPreCompileModule.cs to Razor.Precompilation
2015-08-25 14:33:13 -07:00
Chris R
d6882ce4a5
Merge branch 'release' into dev
2015-08-25 13:54:41 -07:00
Chris R
d5e27bf546
#278 Validate the message, not the JWT.
2015-08-25 13:47:11 -07:00
Pranav K
1bad8ce6d1
Ensure that assembly path is specified in Roslyn MetadataReference.
2015-08-25 12:56:23 -07:00
Hao Kung
55b28abeab
Explicitly set ApplicationServices for HttpContext
2015-08-25 12:23:56 -07:00
Chris R
7213b53554
#407 OIDC - Fail if the user-info subject does not match
2015-08-25 11:26:02 -07:00
Doug Bunting
829a5c9046
Expand model types `GenericModelBinder` can handle
...
- #2993
- use `ClosedGenericMatcher` to handle e.g. non-generic model types implementing requested interfaces
- reduce `IsAssignableFrom()` use since created binders use explicit casts i.e. handle explicit implementations
- also add more integration tests covering various collection key formats, some with validation errors
- merge a few `[Fact]`s into `[Theory]`s
2015-08-25 09:50:31 -07:00
Ryan Nowak
cfd9bfe13b
[PERF] Remove extra ModelStateDictionary allocations
...
The copy constructor is chaining to the wrong constructor. This results in
an extra 8 allocations of ModelStateDictionary per-request. All of the
various filter contexts inherit from ActionContext, that's how you get the
8 extras.
Small problem but easy fix.
2015-08-24 15:26:09 -07:00
Stephen Halter
ca0a42a01e
Merge branch 'Daniel15/unix-sockets' into dev
2015-08-24 12:53:31 -07:00
Pranav K
85ff9e1b7f
Merge remote-tracking branch 'origin/release' into dev
2015-08-24 12:37:10 -07:00
Pranav K
391797b15d
Updating to release AzureAD feed
2015-08-24 12:36:43 -07:00
KevinDockx
054b46c1cc
Implement new Remove op & fix value.GetTypê issue in Add op
2015-08-24 12:32:41 -07:00
Pranav K
34354ef53d
Merge remote-tracking branch 'origin/release' into dev
2015-08-24 12:29:09 -07:00
Pranav K
583c251f02
Updating to release AzureAD feed
2015-08-24 12:28:18 -07:00
Doug Bunting
bf7e0f141e
Add `IsReferenceOrNullableType` and `UnderlyingOrModelType` to `ModelMetadata`
...
- #2992
- use new properties to replace common helper methods
- still a few `Nullable.GetUnderlyingType()` calls
- creating `ModelMetadata` or sites lacking `ModelMetadata` access e.g. `ModelBindingHelper.ConvertTo()`
2015-08-24 12:26:50 -07:00
Ajay Bhargav Baaskaran
0beb39ec1c
[ Fixes #2947 ] Default ContentType is not set when user specified Response.ContentType exists
2015-08-24 12:17:18 -07:00
Ryan Nowak
1596cd9422
Fix #2527 - Remove FormCollection use
...
This removes the dependency on Microsoft.AspNet.Http from the Mvc.Core
code. Added the reference back to tests where needed (DefaultHttpContext).
2015-08-24 11:09:30 -07:00
Chris R
42343bedee
Raise test timeouts.
2015-08-24 10:52:50 -07:00
Brice Lambson
8ccfb99624
React to aspnet/EntityFramework#2902
2015-08-24 10:41:56 -07:00
Anthony van der Hoorn
92dc38ffd1
Missing "commands" from project.json
...
This was stopping the project running in VS
2015-08-24 10:21:28 -07:00
Anthony van der Hoorn
a984ea77a8
Switch over target on which server is open for
2015-08-24 10:20:32 -07:00
Anthony van der Hoorn
02fefd8b31
Fix problem with client not connecting on the correct port
2015-08-24 10:18:45 -07:00
ASP.NET Push Bot
a2a1c637c9
⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
...
Source: aspnet/dnvm@184a7254d8
2015-08-24 09:56:55 -07:00
Brennan
5ac8abc16f
Merge branch 'release' into dev
2015-08-24 09:15:12 -07:00
Fabien Dehopré
17bd0c8e61
update install commands for Windows
...
update both CMD and Powershell install commands for Windows to include the configuration of the corporate proxy
2015-08-24 12:14:01 +02:00
Fabien Dehopré
bab8777bd9
add default proxy support to dnvminstall.ps1
...
Retrieve the default proxy settings from the system and also set the proxy credentials from the system too
2015-08-24 11:55:57 +02:00
Doug Bunting
a045324d3a
Do not include compiler-generated names in expression names
...
- #2890
- add lots of `ExpressionHelper` tests using `IdFor()` and `NameFor()` (which are thin veneers)
2015-08-23 14:22:49 -07:00
Chris R
c29ede3e78
Merge branch 'release' into dev
2015-08-22 21:20:11 -07:00
Chris R
86962ab12c
#278 Additional OIDC message validation.
2015-08-22 21:17:38 -07:00
Doug Bunting
8babf2b380
Change in-box tag helpers to use `DefaultFrameworkSortOrder`
...
- #2905
- override `Order` implementation inherited from `TagHelper`
- only exception is `UrlResolutionTagHelper` which already overrides `Order` to execute much earlier
2015-08-22 15:32:02 -07:00
N. Taylor Mullen
d0688a7e00
Add the ability for `TagHelper`s to exist inside templates.
...
- Previously doing `@<mytaghelper />` was invalid due to how we constructed templates lambdas.
#489
2015-08-21 16:51:47 -07:00
Brennan
acefcff61d
Make work on Xplat CoreCLR
2015-08-21 16:28:16 -07:00
N. Taylor Mullen
dbcc5e240a
Change `GetHashCode()` for `CaseSensitiveTagHelperDescriptorComparer` to order values.
...
- Ordered `RequiredAttributes`, `AllowedChildren` and `Attributes`.
#489
2015-08-21 15:20:57 -07:00
Ryan Nowak
4a7ada5f64
Make IValueProvider sync, IValueProviderFactory async
2015-08-21 14:58:55 -07:00
Ajay Bhargav Baaskaran
3519c375fc
Minor cleanup - removed unwanted @
2015-08-21 14:40:35 -07:00
Doug Bunting
aaa47d5e0e
Workaround https://github.com/aspnet/External/issues/21 in a couple more tests
...
- led to Travis build failures
2015-08-21 14:12:15 -07:00
Hao Kung
84259975ca
Update exception text
2015-08-21 13:16:41 -07:00
Hao Kung
4e0000163b
Updates to AddManager behavior
2015-08-21 13:00:35 -07:00
Ajay Bhargav Baaskaran
774219b2ef
[ Fixes #2788 ] Added a sample taghelper that handles IE conditional comments
2015-08-21 11:19:49 -07:00
Ryan Nowak
6d365e9a32
Make ValueProviderResult a string-ish struct
2015-08-21 11:02:40 -07:00
Doug Bunting
02cc82a055
PR comments commit
2015-08-21 10:45:43 -07:00