herecydev
db94a8ed19
Removed redundant null checks and tested logging
2015-11-17 15:32:54 -08:00
Ajay Bhargav Baaskaran
01102bba3f
Moving Attribute Routing to Routing
2015-11-17 11:02:58 -08:00
N. Taylor Mullen
73f557002f
Add `AddDataAnnotationsLocalization` parameterless overload.
...
- The `IMvcBuilder` extension methods already had this overload, just adding it to `IMvcCoreBuilder`.
#3517
2015-11-17 10:05:18 -08:00
Ryan Nowak
e75eebbed0
Pool JsonSerializer for Output formatting
2015-11-16 10:43:02 -08:00
Ryan Nowak
ccfd235f50
React to change in HtmlAbstractions
2015-11-16 09:49:20 -08:00
Pranav K
292207d17d
Reacting to DependencyInjection changes
2015-11-13 10:47:34 -08:00
Ajay Bhargav Baaskaran
b8b222b295
Replace InnerAttributeRoute with TreeRouter
2015-11-12 15:52:51 -08:00
ryanbrandenburg
b8d58133c3
* Add NoContent Factory to Controller
2015-11-12 14:56:05 -08:00
ryanbrandenburg
ed46885586
* Log correct message for Found/NotFound views
2015-11-12 14:53:00 -08:00
N. Taylor Mullen
a1af85beb7
Remove System beta tag in project.json for coreclr packages.
2015-11-12 12:24:39 -08:00
Ryan Nowak
5810154826
Avoid creating intermediate strings with THCWTW
...
This textwriter needs to inherit HtmlTextWriter and the
StringCollectionTextWriter needs to have the right conditional test.
This allows us to 'pass-through' any IHtmlContent instances without
writing out intermediate strings.
2015-11-11 16:59:46 -08:00
Cesar Blum Silveira
4a68550e50
Merge branch 'release' into dev
2015-11-11 10:59:32 -08:00
Kirthi Krishnamraju
454ff9f52a
fix #3414 : RegularExpressionAttribute generates wrong data-val-regex message
2015-11-10 10:27:53 -08:00
Pranav K
380a93d370
Redesign RazorViewEngine caching
...
Fixes #3337
2015-11-10 10:18:25 -08:00
Ryan Nowak
ece6ecde45
Add buffer pooling to JsonResult
2015-11-09 15:43:33 -08:00
Pranav K
d17db92e19
Log messages to DiagnosticListener in addition to page instrumentation
...
Fixes #3281
2015-11-09 10:24:49 -08:00
Doug Bunting
cef4a66479
Another `System.RuntimeSerialization.Xml` version update
...
- #3493
- see also d4163b4
nit: sort properties
2015-11-07 15:34:07 -08:00
Pavel Krymets
737a8f3b1d
Make Compilation Abstractions naming consistent with Platform Abstractions
2015-11-06 15:53:08 -08:00
Ajay Bhargav Baaskaran
1927730f40
[ Fixes #3426 ] Removed defensive copy in CompositeModelBinder and CompositeModelValidatorProvider
2015-11-06 12:21:08 -08:00
N. Taylor Mullen
decf882341
Update `LinkTagHelper`s `meta` tag to be w3c compliant.
...
- Prior to this change the `<meta ...>` generated had a name attribute. As an alternative we're using the `content` attribute in conjunction with the `name` attribute to ensure compliance.
#3449
2015-11-06 12:15:55 -08:00
Ajay Bhargav Baaskaran
f7a211c095
Removed use of LINQ and added some optimizations in ValidationVisitor
2015-11-06 11:56:52 -08:00
Kiran Challa
5364468001
[ Fixes #3177 ] Clean up logic for encoding in ViewResult and friends
2015-11-06 10:44:09 -08:00
Cesar Blum Silveira
8bf2c72e69
Sign Microsoft.AspNet.Mvc.
2015-11-05 14:00:54 -08:00
ryanbrandenburg
cd761a644d
* Adding test
2015-11-04 13:55:02 -08:00
Pranav K
940fb7ba78
Adding Controller.Challenge and Controller.Forbid
2015-11-04 09:57:19 -08:00
Cesar Blum Silveira
9dba871108
Strong name everything.
2015-11-03 21:16:49 -08:00
Ryan Nowak
af1142e7b5
Merge branch 'release' into dev
2015-11-03 18:52:48 -08:00
Ryan Nowak
d4163b4127
Update serialization to 4.1.0
2015-11-03 17:53:47 -08:00
Pavel Krymets
b4b29e71d6
Rename Microsoft.Dnx.Compilation.Abstractions to Microsoft.Extensions.Compilation.Abstractions
2015-11-03 12:42:28 -08:00
Ryan Nowak
32da2b8c46
Fix breaking changes from HttpAbstractions
2015-11-02 18:19:10 -08:00
Ryan Nowak
e2c2676042
Add InputFormatter buffer pooling
2015-11-02 14:36:59 -08:00
Doug Bunting
ff91e796c1
Revert "Fixing tests"
...
- wrong fix especially now that test encoders work as expected
- touch up `HtmlHelperTest` and `RazorViewTest` since test encoders are now consistent
- remove references to old `Microsoft.Extensions.WebEncoders.Testing` package
This reverts commit a9d5876cd9 .
- but leave `FormTagHelperTest` and `ValidationMessageTagHelperTest` cleanup alone
nit: use `string.Empty` in `HtmlHelperLinkGenerationTest`
2015-11-02 09:45:56 -08:00
Pranav K
a9d5876cd9
Fixing tests
2015-10-30 18:58:33 -07:00
Chris R
52f4a83139
React to WebEncoders changes.
2015-10-30 17:59:19 -07:00
Doug Bunting
53060be2d7
Content negotiation fails in subsequent requests accepting same media type
...
- #3140
- clone `MediaTypeHeaderValue` instance before updating it when content negotiation succeeds
- avoids changes to `MediaTypeConstants` properties and `OutputFormatter.SupportedMediaTypes` entries
- `MediaTypeHeaderValue.Clone()` does not exist in our DNX Core fork of this class
- in previous implementation, was called defensively rather than when required
- update `WebApiCompatShimBasicTest` functional tests to use `MvcTestFixture<TStartup>` everywhere
- #3140 blocked that final migration
- remove `TestHelper` since it's no longer referenced
nits:
- remove comments mentioning `TestHelper`
- correct spelling of "negotiation"
2015-10-30 14:10:31 -07:00
ryanbrandenburg
5763eb580a
* Move logging to new style
2015-10-30 12:43:17 -07:00
Muchiachio
bd9fc5dc68
Using IsDefined over GetCustomAttribute<T>
...
- Replaced Type.GetCustomAttribute<T> with Type.IsDefined where the
attribute instance is only used to check if it's defined, to increase
performance.
Resolves #3416
2015-10-30 10:19:22 -07:00
Pranav K
08be63c3fc
Add ForbiddenResult
...
Fixes #3242
2015-10-30 10:13:58 -07:00
Ryan Nowak
1312ed8b71
Remove Linq and boxed Enumerator allocations from conneg
2015-10-29 18:40:22 -07:00
N. Taylor Mullen
5ad1a27f6e
React to aspnet/Razor#580 .
...
- Updated `MvcRazorHost` to configure `Type` full names.
- Updated code generation tests.
2015-10-29 16:26:00 -07:00
Pavel Krymets
f1412c21ac
Fix the build
2015-10-26 16:47:11 -07:00
Pranav K
0fedda5855
Allow enums to be serialized by SessionStateTempDataProvider
...
Fixes #3141
2015-10-24 08:16:19 -07:00
Ryan Nowak
ec2abc8ae0
Add logging of elapsed time for the action.
2015-10-23 15:35:31 -07:00
Ryan Nowak
cea8d019f1
Add logging and scope for ViewComponent
2015-10-23 15:25:00 -07:00
Ajay Bhargav Baaskaran
eb398c811d
Added LocalRedirectresult
...
- Fixes #3346
- Added helper method in controller
- Added relevant tests
2015-10-23 12:58:41 -07:00
Ajay Bhargav Baaskaran
b6d7012c27
[ Fixes #3279 ] Added DiagnosticSource for filters
2015-10-23 12:53:00 -07:00
Ajay Bhargav Baaskaran
624c918de5
[ Fixes #3274 ] Added DiagnosticsSource for ViewComponent
2015-10-23 12:51:12 -07:00
Ryan Nowak
bcde82cf62
Use buffer pooling in IOutputFormatters
2015-10-23 08:10:30 -07:00
Pavel Krymets
4e8c543489
Rename Microsoft.Runtime.Abstractions to Microsoft.Extensions.PlatformAbstractions
2015-10-22 19:48:55 -07:00
ryanbrandenburg
0b8fe87596
* Allow null ViewData and TempData
2015-10-22 17:28:26 -07:00