Kristian Hellang
f4679fe74f
Changed RequireHttpsAttribute to default to 302 instead of 301
2016-05-03 12:11:18 -07:00
Ryan Brandenburg
3aa42617a4
Add transitive reference
2016-05-02 16:49:57 -07:00
Pranav K
36146a6139
Fix build warnings
2016-05-02 14:52:02 -07:00
Kiran Challa
ad065892fd
[ Fixes #4575 ] Logging ArgumentOutOfRangeException
2016-05-02 13:16:08 -07:00
jacalvar
7b2fdcbfec
Remove Microsoft.AspNetCore.Mvc.Dnx from NugetPackageVerifier.json
2016-05-02 12:53:47 -07:00
jacalvar
059ec0f353
[ Fixes #4525 ] Get rid of DNX services
2016-05-02 12:16:08 -07:00
jacalvar
4d198f3d8f
React to changes in razor tooling
2016-04-30 15:37:37 -07:00
BrennanConroy
df7be69e85
Remove references to UseDefaultHostConfiguration
2016-04-27 18:38:34 -07:00
Pranav K
43cb58b9d7
Fix project.json
2016-04-26 11:15:49 -07:00
ryanbrandenburg
e915f36748
Update samples and test sites to new formats
2016-04-25 12:09:40 -07:00
Kiran Challa
a259638d79
Filters provided by filter providers are made to never be cached
...
[Fixes #4504 ] Possible double-execution of filter providers
2016-04-22 16:56:08 -07:00
BrennanConroy
967001f923
Add publish-iis and fix web.config
2016-04-22 14:07:38 -07:00
Sébastien Ros
2c639f83c4
Fixing BindNever attribute and Type model binding
...
Fixes #4505
2016-04-22 11:52:08 -07:00
jacalvar
d9aacd0f87
[Fixes 4509] Stop registering disposable objects in our controller helper methods
2016-04-20 17:00:34 -07:00
Pranav K
d87d8283d0
Use latest build of dotnet-test-xunit
2016-04-19 14:54:07 -07:00
Pavel Krymets
e6ffb060f7
Bring Microsoft.NETCore.Platforms dependency back
2016-04-18 17:20:15 -07:00
Pavel Krymets
42c3397b6e
Migrate tests, tools and samples to portable
2016-04-18 17:20:15 -07:00
Doug Bunting
7a1ac034f9
Special-case use of `razorPage.Model` property in `ExpressionMetadataProvider`
...
- #3978
- better-aligns `ExpressionMetadataProvider` with `ExpressionHelper`
nit: mock less in `RazorPageCreateModelExpressionTest`
2016-04-15 17:15:33 -07:00
BrennanConroy
010e8a4e37
Move dependency to netstandard only
2016-04-14 15:54:59 -07:00
BrennanConroy
b35814f035
Add serialization.primitives for Newtonsoft.Json
2016-04-14 13:53:10 -07:00
John Luo
059179b7b8
Add web.config to test sites
2016-04-13 16:12:56 -07:00
Doug Bunting
eda647e270
Complete the doc comments for filters
...
- #3851
- add lots of words
- correct that vs. which confusion
2016-04-13 16:01:30 -07:00
Eilon Lipton
4f24339740
Fix package metadata
2016-04-13 12:07:04 -07:00
Sébastien Ros
f30f61f7bb
Fixing functional test random failure ( #4452 )
2016-04-12 10:44:26 -07:00
Ryan Nowak
3ec60a0181
Fix #4447 - Teach MVC to understand defaults
...
The wireup for defaults in attribute routes was missing
2016-04-11 14:38:29 -07:00
John Luo
e0c0617185
Move web.config and use ANCM
2016-04-11 10:17:53 -07:00
Doug Bunting
a0c8834c70
Preserve existing metadata in `ViewDataDictionary` where possible
...
- #4116
- generalize rules for `ModelMetadata` creation; minimize metadata changes when Model is updated
- down to a single special case in VDD for `Nullable<T>`
- note existing functional tests did not need to change
- remove `ViewDataDictionary(ViewDataDictionary, object)` constructor; use `new VDD<object>(source, model)`
- allow all `Model` assignments in a view component
- copy-constructed VDD in `ViewComponentContext` previously preserved the source's declared type
nits:
- do not call `virtual SetModel()` method from constructor; now mostly redundant
- logic in copy constructor and `SetModel()` is consistent but different enough to keep code separate
- add some missing doc comments
- fix doc comment property versus type confusion; never need to specify `ViewDataDictionary.` prefix
- fix a few `TemplateBuilder` comments and remove unnecessary `model: null` argument to VDD constructor
2016-04-08 14:44:36 -07:00
Ryan Nowak
a55544681d
Fix for #3659 - handle IHtmlContent in localization
...
This change corrects handling of IHtmlContent instances in
LocalizedHtmlString by making using of FormattableHtmlString.
2016-04-08 11:20:49 -07:00
Pranav K
2bf79a874d
Removing imports from src projects
2016-04-08 06:49:31 -07:00
Pranav K
67f54e82f9
Fix versioning
2016-04-06 18:15:14 -07:00
N. Taylor Mullen
3ebb14ee4b
Update Resource lookup keys for VSRC1 packages.
2016-04-06 11:43:09 -07:00
Pranav K
3396f2ccf9
Updating to release.
2016-04-06 09:50:10 -07:00
Sébastien Ros
efb8ef33e6
Fixing race in distributed cache tag helper
...
Fixes #4407
2016-04-06 09:42:24 -07:00
Pranav K
c66c408c15
DefaultAssemblyPartDiscoveryProvider.IsCandidateLibrary should not look at types in Mvc assemblies
...
Fixes #4363
2016-04-06 08:41:12 -07:00
David Fowler
4b348699c8
Fixed dependencies
...
Fix dependency on System.Runtime.Serialization.Xml
2016-04-05 23:28:53 -07:00
N. Taylor Mullen
ee80f5f84c
React to aspnet/Razor#621 .
2016-04-05 16:08:01 -07:00
Pranav K
7cb1dca467
JsonInputFormatter fails to use custom SerializerSettings
...
Fixes #4270
2016-04-05 10:19:49 -07:00
David Fowler
29646153ea
Explicitly add tracesource dependency
2016-04-05 00:02:49 -07:00
Sebastien Ros
304135f4a6
Removing and ignoring .orig files
2016-04-04 17:36:25 -07:00
N. Taylor Mullen
698980943a
Ignore doc comments for VSRC1 projects.
2016-04-04 17:23:02 -07:00
N. Taylor Mullen
a140440196
Add `AssemblyCompany`, `AssemblyCopyright` and `AssemblyProduct` attributes to the assembly.
2016-04-04 16:25:47 -07:00
N. Taylor Mullen
687fd72efd
Add Visual Studio specific RC1 binaries.
...
- This is needed for Visual Studio RC1 backwards compatibility.
2016-04-04 15:21:19 -07:00
Pranav K
701869fd53
Remove DefaultAssemblyPartDiscoveryProvider.GetAssemblyName
...
Fixes #4366
2016-04-03 10:37:10 -07:00
Pranav K
330e98d1fc
Revert "Revert "Updating to the newest Roslyn packages""
...
This reverts commit 87e89befc8 .
2016-04-03 09:07:31 -07:00
Pranav K
b4310ac8a8
Modify RoslynCompilationService to generate portable pdbs
...
Fixes #4330
2016-04-03 08:55:11 -07:00
Kiran Challa
cda1307848
Updated test to fix build break
2016-04-03 08:01:15 -07:00
Kiran Challa
4cd3012886
Fix mixed route for action error message
2016-04-03 06:55:11 -07:00
N. Taylor Mullen
56bbb215ec
React to aspnet/Razor#721 .
2016-04-03 00:00:19 -07:00
jacalvar
574ecbb3eb
[ Fixes #4087 ] Add support for AddTagHelpersAsServices()
...
* Added TagHelperFeature and TagHelperFeatureProvider to perform tag helper discovery.
* Changed tag helper discovery to use application parts when using tag helpers as services.
* Added FeatureTagHelperTypeResolver to resolve tag helper type definitions from the list of application parts.
* Added AddTagHelpersAsServices extension method on IMvcBuilder and IMvcCoreBuilder that
performs tag helper discovery through the ApplicationPartManager and registers those tag helpers as
services in the service collection. Assemblies should be added to the ApplicationPartManager
in order to discover tag helpers in them in them. The @addTagHelper directive is still required on
Razor pages to indicate what tag helpers to use.
2016-04-02 10:32:48 -07:00
Doug Bunting
384fd1f218
Quick fix: Address a couple of nits in / around `ViewDataDictionary`
...
- remove duplicate `null` checks in `ViewDataDictionary` constructors
- correct a couple of code comments
- use a `public` constructor for `ViewDataDictionary` in `ViewExecutor`
2016-04-01 15:31:47 -07:00