John Luo
22b37fb83b
Update samples and react to Kestrel extensions
2016-03-30 17:33:25 -07:00
Doug Bunting
6bf25cecec
React to HttpAbstractions namespace changes
...
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:19:42 -07:00
jacalvar
b04bb124b0
[ Fixes #4317 ] UrlResolutionTagHelper doesn't work with TagHelpers that run before and supress output
2016-03-30 15:55:11 -07:00
Kiran Challa
e0212752e5
Removing AuthorizationFilterAttribute as we do not want users to easily create their own authorization implementation. They should instead
...
use authorization policies and requirements(IAuthorizationRequirement) to enforce authorization.
[Fixes #4233 ] AuthorizationFilterAttribute returns UnauthorizedResult rather than ChallengeResult
2016-03-30 15:34:41 -07:00
Ryan Nowak
e1abb47b98
Fix #4238 IFormFile model binder suppresses validation
...
This change no longer suppresses validation for IFormFile and
IFormFileCollection model values. This will allow the use of [Required] on an
IFormFile model, or a custom attribute for validating IFormFileCollection.
These types already have ValidateChildren = false, so we don't recurse
into them.
2016-03-30 14:09:28 -07:00
Kiran Challa
6e9a6a2db1
Added new attribute ProducesResponseTypeAttribute to enable ApiExplorer to expose response type and StatusCode.
...
[Fixes #4101 ] StatusCode Metadata
2016-03-30 11:51:58 -07:00
Ryan Nowak
fb81a5e11e
Introducing ModelBinderFactory
...
This change separates model binding into IModelBinderProvider (decides
which binder to use) and IModelBinder (does binding). The
IModelBinderFactory is a new services with coordinates the creation of
model binders.
2016-03-29 15:45:14 -07:00
N. Taylor Mullen
7d43851952
React to aspnet/Razor#720 .
2016-03-29 15:30:49 -07:00
Sebastien Ros
3924557b87
Fixing race condition in cache helpers unit tests
2016-03-29 10:59:26 -07:00
Pranav K
12d7093278
Revert "Remove DependencyModel dependency"
...
This reverts commit 4299a4d50b .
2016-03-29 07:29:43 -07:00
N. Taylor Mullen
b7c90c4a67
React to aspnet/Razor#719 .
2016-03-28 17:05:14 -07:00
Pranav K
529fa67c2b
Adding tests for PrefixContainer
...
Fixes #4045
2016-03-28 14:31:17 -07:00
Kévin Chalet
f9d24a8521
Introduce SignInResult/SignOutResult and ControllerBase.SignIn/SignOut
2016-03-28 12:45:42 -07:00
Sebastien Ros
49e0a958c5
Fixing race in unit test
2016-03-28 10:30:16 -07:00
David Fowler
5ddb17d2fe
Fixed packages
2016-03-25 12:27:49 -07:00
Doug Bunting
43836aec18
An `ObjectPoolProvider` is always registered
...
- react to aspnet/Hosting/pull#673
2016-03-25 11:20:15 -07:00
Sebastien Ros
476d2eb81d
Reacting to changes in Caching
2016-03-25 10:56:34 -07:00
mnltejaswini
66ff9939c3
Cache Member Access Expression Text to avoid ExpressionHelper.GetExpressionText
...
Part 1 Fix for #3921
2016-03-25 09:12:02 -07:00
John Luo
555a8d0a3b
Reacting to Hosting changes
2016-03-24 12:10:09 -07:00
Ajay Bhargav Baaskaran
5238a8f16e
Added tests for DropDownList and ListBox extensions
2016-03-22 16:51:27 -07:00
Pranav K
06289945d0
Reacting to CoreCLR package changes
2016-03-22 14:49:43 -07:00
ryanbrandenburg
a78f77afde
Add StatusCode helpers to ControllerBase
2016-03-21 15:26:13 -07:00
Ajay Bhargav Baaskaran
8e6b4980e3
[ Fixes #4310 ] Moved AuthorizeFilter and CorsAuthorizationFilter to a public namespace
2016-03-21 11:54:03 -07:00
mnltejaswini
fd984563c3
[Perf] Optimize CoerceResultToTaskAsync to remove MethodInfo.Invoke
2016-03-17 16:12:55 -07:00
Pranav K
fb07fee465
Reduce grunt work in Mvc
2016-03-17 15:25:33 -07:00
Pranav K
f651f18d3a
Use a prefix tree as a backing store for ModelStateDictionary
2016-03-17 10:09:36 -07:00
Pranav K
432cfa0035
Fix failing functional tests
2016-03-16 20:33:41 -07:00
Ryan Nowak
fec1268bf3
Remove ModelBinding features from ResourceFilters
...
Removes all of the ModelBinding configuration support from Resource
Filters. We haven't come up with concrete scenarios around these features,
and don't want to paint ourselves into a corner with extensibility.
2016-03-16 16:33:14 -07:00
Pranav K
4299a4d50b
Remove DependencyModel dependency
2016-03-16 16:05:04 -07:00
jacalvar
cef81adb21
[ Fixes #4237 ] Include Assembly-Qualified type name in ActionDescriptor.DisplayName
2016-03-16 15:26:25 -07:00
Sebastien Ros
ec560bdfe0
Refactoring CacheTagHelper
...
- Introducing a new distributed cache tag helper
- Sharing base implementation for both cache tag helper
- Preventing concurrent execution of cache tag helpers
Fixes #4147 , Fixes #3867
2016-03-15 15:46:51 -07:00
Pranav K
c03aabbff5
RazorCompilationService should throw a meaningful error when a user produces an application without `preserveCompilationContext`
...
Fixes #4202
2016-03-15 11:19:38 -07:00
Pranav K
bf1fc7dab3
Reacting to Hosting changes
2016-03-15 10:50:53 -07:00
ryanbrandenburg
1ae1cdb10b
* Remove ServiceProvider
2016-03-15 09:57:17 -07:00
mnltejaswini
007c47d065
[Perf] Optimize controller action invoke
...
Fixes aspnet/MVC#3903
2016-03-14 10:17:55 -07:00
Pranav K
4f709bdbfd
Fixing CI build break
2016-03-14 00:38:17 -07:00
Doug Bunting
ffe2d2609a
Correct HTML and JavaScript encoding of `<link>` and `<script>` attribute values
...
- #4083
- `<link>` tag helper did not HTML encode `href` values in fallback elements
- `<script>` tag helper did not correctly encode any attribute value in fallback elements
- e.g. double quotes in literal strings would slip through
- only needed to change one existing unit test (!!); so added a bunch
nit: use `Process()`, not `ProcessAsync()` in `<script>` tag helper tests
2016-03-11 20:07:32 -08:00
ryanbrandenburg
f1fa1bd8f4
* Remove JsonViewComponentResult
2016-03-11 11:40:54 -08:00
Brice Lambson
7b70da14bc
Don't reference facades in NuSpec
...
These can be removed entirely after dotnet/cli#164
2016-03-10 14:07:45 -08:00
jacalvar
75df24e357
Added tests for HttpOptionsAttribute
2016-03-10 09:49:44 -08:00
jacalvar
6b369ef291
[ Fixes #4102 ] DefaultHtmlGenerator should attempt to properly format values for `<input type="date">` and `<input type="time">`
2016-03-09 17:22:02 -08:00
Pranav K
6d3bd33c64
Revive DefaultRoslynCompilationServiceTest
...
Partially fixes #4140
2016-03-09 11:50:14 -08:00
Pranav K
501547d630
Remove IMvcRazorHost.MainClassPrefix
2016-03-09 11:50:07 -08:00
N. Taylor Mullen
5612ca845f
React to aspnet/Razor#684 .
...
- Modified `UrlResolutionTagHelper` to utilize new CSS selector attributes to restrict when it applies. It now only appies to tags that have their values starting with `~/`.
- `UrlResolutionTagHelper` no longer applies to dynamic content such as `href="@SomethingResultingInTildaSlash"`.
- Updated tests to reflect new behavior.
2016-03-08 12:17:16 -08:00
Pranav K
f3740b2196
Reacting to KoreBuild xunit test changes
2016-03-07 21:09:19 -08:00
jacalvar
0489812aab
React to changes in caching
2016-03-07 19:06:51 -08:00
Pranav K
5a7267a83d
Revive DefaultAssemblyProviderTests
...
Partial fix for https://github.com/aspnet/Mvc/issues/4140
2016-03-07 17:01:58 -08:00
mnltejaswini
d537ec06cc
[Perf] Using single UrlHelper per HttpContext and one StringBuilder per UrlHelper to reduce allocations
2016-03-07 13:48:54 -08:00
Ajay Bhargav Baaskaran
e39cbf077c
React to aspnet/Session#96 changes
2016-03-04 17:18:34 -08:00
Pranav K
7bd7b32fcb
Reacting to Localization CookieName change
2016-03-04 10:33:50 -08:00