Ajay Bhargav Baaskaran
61de7fec6f
[ Fixes #5421 ] Visit children when accepting TagHelperChunk
...
- Fixes ViewComponentTagHelpers in nested scenarios
2016-10-18 12:00:07 -07:00
Pranav K
ae5f5739f7
Branching for 1.1.0-preview1
2016-10-17 09:49:28 -07:00
Pranav K
a52d692de0
Updating to netcoreapp1.1
2016-10-13 11:21:09 -07:00
Pranav K
ed1378a365
Revert "Updating to netcoreapp1.1"
...
This reverts commit 398a104810 .
2016-10-12 16:09:12 -07:00
Pranav K
398a104810
Updating to netcoreapp1.1
2016-10-12 14:24:52 -07:00
Pranav K
c5a09327eb
Revert "Downgrade to 1.0.0 Microsoft.Extensions.DependencyModel"
...
This reverts commit 45337c1fc2 .
2016-10-10 21:21:04 -07:00
Pranav K
4a1c437f60
Don't fail precompiled view discovery if assembly is not managed
2016-10-09 20:39:13 -07:00
Kiran Challa
d09e921c4a
Check for default constructor in ComplexTypeModelBinderProvider
2016-10-07 16:46:13 -07:00
Kiran Challa
e7fe635dab
Modified FormCollectionModelBinderProvider to throw when binding for FormCollection model type.
...
[Fixes #4895 ] No parameterless Constructor defined
2016-10-07 16:46:11 -07:00
Ajay Bhargav Baaskaran
e987e2107f
[ Fixes #5379 ] Dont generate TagHelperDescriptors for ViewComponents with generic parameters
2016-10-07 12:26:53 -07:00
Yves57
ed3b750ad2
Less allocations in ViewBuffer when there is only one ViewBufferPage
2016-10-07 11:25:30 -07:00
Pranav K
a623b4edd1
Use Assembly's containing directory to locate precompiled views assembly
2016-10-07 10:36:39 -07:00
Kiran Challa
80da4611d9
Updated JsonPatchExtensionsTest exception message (Reacting to JsonPatch repo commit: 393c25988a)
2016-10-07 05:40:52 -07:00
Pranav K
45337c1fc2
Downgrade to 1.0.0 Microsoft.Extensions.DependencyModel
...
Work around for https://github.com/dotnet/core-setup/issues/423
2016-10-06 16:40:37 -07:00
jbagga
41f00eea23
Default Status Code for void types changed to 200
...
Fixes #4838
2016-10-06 14:39:04 -07:00
Pranav K
5820854940
Load precompiled views binary from the bin directory
...
Work around for Assembly.Load in CoreCLR no longer loading arbitrary binaries from the bin directory.
2016-10-06 10:32:18 -07:00
apxoht
268617ddba
DefaultViewComponentFactory no longer allocates new lambda delegate on each call to CreateViewComponent
2016-10-05 09:12:05 -07:00
Kiran Challa
de7cea4000
Getting RouteDataRequestCultureProvider from Microsoft.AspNetCore.Localization.Routing package
2016-10-04 12:39:57 -07:00
Doug Bunting
4e6fd823cf
Fix bounds checking in `PagedCharBuffer` and related code
...
- #5347
- inconsistent bounds checking caused problems after `ArrayPool<char>` fell back to `new char[2048]`
- would fail a `Debug` assertion in Debug builds and loop endlessly in Release builds
- change to `CacheTagHelper+CharBufferHtmlContent` is for correctness only
- always uses a `CharArrayBufferSource` and that returns arrays of the exact size requested
2016-10-04 10:19:44 -07:00
Pranav K
7481151086
Revert skipped StackTrace test
2016-10-04 10:12:22 -07:00
Pranav K
6fe683c585
Add Microsoft.DotNet.InternalAbstractions to fix tests
2016-10-04 10:11:09 -07:00
campersau
f3ba776257
Remove null check for setupAction
...
there is already one which throws an ArgumentNullException
2016-10-03 21:39:46 -07:00
Pranav K
6d235e4ef5
Update partner package versions
2016-10-03 14:27:20 -07:00
Pranav K
da3a457fc5
Temporarily skip test to workaround CoreCLR failure
2016-10-03 14:27:20 -07:00
Kiran Challa
89bd6dc1cd
[ Fixes #5212 ] Added a cookie based ITempDataProvider
2016-10-03 14:04:57 -07:00
Doug Bunting
4cca6b09f0
Reduce allocations during HTML generation
...
- #3918
- precompute size of `StringBuilder` in `ExpressionHelper`
- reduce `string` allocations in `ViewDataEvaluator`
- also get rid of `Enumeration` state machines
- reduce the size of a few objects; use more expression-valued properties
- e.g. don't store `_modelType` in `ModelExplorer`
- add `EmptyArray<TElement>`; make empty arrays consistently `static`
- avoid `string.Split()` in HTML and tag helpers
nits:
- make `ExpressionHelperTest` tests more stringent
- correct `Message` for an `ArgumentNullException`
- remove excess `using`s in classes I touched (but often ended up leaving otherwise unchanged)
- improve doc comments
- remove `ToString()` call on a `string`
- avoid encoding `string.Empty`
- fix test file name
- remove useless variables
- correct spelling
- improve whitespace
2016-10-03 12:17:47 -07:00
Derek Gray
92682b71f3
Addresses #5251
2016-10-03 11:23:18 -07:00
Kristian Hellang
8fb339483d
Move HttpContext property up a level
2016-10-03 08:34:23 -07:00
Ryan Brandenburg
261f73abc7
Add NonViewComponentAttribute
2016-09-30 10:56:08 -07:00
cjrosa
60d600dd5c
Issue #5310 ( #5334 )
...
* Issue #5310
2016-09-30 09:40:53 -07:00
Ben Adams
a04f5cba9a
Remove ViewDataEvaluator.GetPropertyValue Closure ( #5325 )
...
- part of #3918
2016-09-28 15:23:17 -07:00
Doug Bunting
0a4c06eefb
Suppress validation summary `<div>` when nothing is generated
...
- #2372
- make the `ValidationSummaryTagHelper` behave consistently with `Html.ValidationSummar()`
2016-09-27 15:51:51 -07:00
Ryan Brandenburg
6cdd0451da
DisplayMetadata use DisplayNameAttribute
2016-09-27 15:24:21 -07:00
Doug Bunting
f222fa4349
Correct examination of `IHtmlHelper.Label()` return value
...
- #5317
- previously worked only because `TagBuilder` cannot be empty and `HtmlString` overrides `ToString()`
- `TagBuilder.ToString()` (now the type's `FullName`) is also never empty
- copy `NullHtmlEncoder` from Razor and give it a better name (`PassThroughHtmlEncoder`)
- not available in this project and (from its namespace) not intended for general use
2016-09-27 10:00:29 -07:00
Doug Bunting
27e4822a7b
Preserve `class` casing when merging a `TagBuilder` into a `TagHelperOutput`
...
- #5313
Also:
- preserve existing `TagHelperAttribute.ValueStyle`
- fix this in `UrlResolutionTagHelper`, `LinkTagHelper`, and `ScriptTagHelper` as well
- correct handling of non-`string` `classAttribute.Value`s in `TagHelperOutputExtensions`
- relates to #3918 because new `ClassAttributeHtmlContent` is smaller than any concatenated attribute value
nit: clean up `CacheTagHelper` whitespace and `using`s
2016-09-26 15:56:30 -07:00
Ajay Bhargav Baaskaran
0d782d9d9a
Adding design time support for ViewComponent TagHelpers
2016-09-23 16:58:01 -07:00
Ryan Brandenburg
03b3d6bec8
Use DataAnnotationLocalizerProvider for Display localization
2016-09-23 10:05:42 -07:00
Doug Bunting
9c6c8410e2
Get rid of some duplicate test data
...
- remove a few warnings from output when testing in VS
2016-09-21 14:52:52 -07:00
Steve Smith
3866ee72e0
Fixing typos Dowload -> Download
2016-09-20 15:55:19 -07:00
Kiran Challa
01f7ecd9d9
[ Fixes #5154 ] Stream should be suppressed from model metadata validation
2016-09-19 11:10:03 -07:00
Ajay Bhargav Baaskaran
3c05d10430
Set designTime to false
2016-09-19 10:49:01 -07:00
Ajay Bhargav Baaskaran
b3fe8b30ac
Moved VCTHDFactory to .Internal namespace
2016-09-16 15:50:44 -07:00
Ajay Bhargav Baaskaran
5ad5f7a3f9
Addressed feedback
2016-09-16 11:01:51 -07:00
Ajay Bhargav Baaskaran
0cfd5363f8
Added ViewComponentTagHelperDescriptorResolver and related stuff
2016-09-15 17:12:43 -07:00
Pranav K
760c8f3867
Ensure Append writes to the right page after Clear
2016-09-14 18:57:21 -07:00
Ajay Bhargav Baaskaran
42027b6cc2
[ Fixes #5243 ] Handle null values in TempData properly
2016-09-14 15:41:38 -07:00
Pranav K
d9ff1d81d6
PagedBufferedTextWriter does not flush synchronous data prior to writing data asynchronously
...
Fixes #5241
2016-09-14 14:52:06 -07:00
Pranav K
43071319aa
Buffer rendered CacheTagHelper content strings to a custom TextWriter
...
Fixes #4893
2016-09-14 14:47:37 -07:00
Pranav K
a480378a44
Make AuthorizeFilter constructable
...
* Make AuthorizeFilter constructable
Fixes #5253
2016-09-14 13:43:56 -07:00
Pranav K
994835ce47
Remove IViewsProvider and make view lookup to the feature provider
2016-09-14 13:40:05 -07:00