Commit Graph

44299 Commits

Author SHA1 Message Date
Hao Kung 4eb9c777ff React to removal of AddScopedInstance 2015-02-09 14:48:38 -08:00
Yishai Galatzer 65839b678c Feature: Add DebuggerInfo to ApplicationModel 2015-02-09 12:05:36 -08:00
Kiran Challa 4ecbe8c709 [Fixes #1065] Need a way to specify "just type" with produces 2015-02-09 10:46:24 -08:00
Doug Bunting 45aae5956d Correct XML comments so all references are clean
- avoids failed full builds
2015-02-09 10:25:09 -08:00
Anthony Sneed 2c21c7c9c7 [Resolves Issue #1787] Added InstanceOf, InstanceOfOrDefault, InstancesOf extension methods to IEnumerable<IOptionDescriptor<object>>.
Added RemoveTypesOf extension method to OutputFormatterDescriptor, ModelBinderDescriptor, ValueProviderFactoryDescriptor.
2015-02-09 10:46:01 +01:00
Youngjune Hong 57c04835de Updating ActionContext for the default constructor and the setter methods 2015-02-06 20:27:42 -08:00
Hao Kung 228995c84c Add missing virtuals
Enable unit test verifying methods are virtual

Fixes https://github.com/aspnet/Identity/issues/349
2015-02-06 13:25:34 -08:00
Kiran Challa 2e938a51f8 [Fixes #1878] Investigate Xml formatters tests failures on Windows 2008 R2 OS 2015-02-06 13:23:12 -08:00
Hao Kung d45b796529 Loosen constraints on stores
Fixes https://github.com/aspnet/Identity/issues/323
2015-02-06 13:13:45 -08:00
Praburaj 2c881cf6a6 Adding verification for openIdconnect logout flow
As well removed the logic to wait for the creation of the db file in userprofile folder
as we now have retry logic.
2015-02-06 12:09:11 -08:00
Pranav K 74bb8e089d Reacting to System.Dynamic.Runtime version changes 2015-02-06 09:55:22 -08:00
Suhas Joshi f7dd913c3f Injecting ILogger via DI 2015-02-06 09:54:23 -08:00
Pranav K 3f28a14c17 Fixing xml doc comments 2015-02-06 06:19:24 -08:00
Pranav K be3f64c52d Change comment to fix policheck 2015-02-06 05:58:55 -08:00
Youngjune Hong c7d09d7ad7 Introducing UrlActionContext and UrlRouteContext, and updating IUrlHelper accordingly 2015-02-05 19:41:21 -08:00
Ajay Bhargav Baaskaran ac6a1a6a80 Replaced status code number with constants 2015-02-05 16:43:59 -08:00
Praburaj 0d673eafc9 Changing DbSet<T>.Remove -> RemoveRange() 2015-02-05 16:41:21 -08:00
Praburaj 3e82cbc052 Merge branch 'release' into dev 2015-02-05 16:40:09 -08:00
Praburaj b5bfb5a93d Remove Azure AD feed from nuget.config
Wilson packages are from our own feed.
2015-02-05 16:39:44 -08:00
Ryan Nowak 3c380bc38e [Perf] #1550 - Turn ModelMetadataProvider into a singleton
The modelmetadataprovider does significant reflection caching, which shows
up as a hotspot. It's only of our most commonly used services, so not only
do a TON of instances get created, they are very heavy-weight because of
the two ConcurrentDictionary instances they have.
2015-02-05 16:32:04 -08:00
Praburaj 47b786f8f9 Merge branch 'release' into dev 2015-02-05 15:14:22 -08:00
Praburaj 710c2d7d21 Removing the AzureAD feed from security repo
Wilson packages are now part of aspnet myget feeds. Removing azure feed from restore sources.
2015-02-05 15:11:15 -08:00
Yishai Galatzer e94cec51fa Script Tag Helper
Implement Script TagHelper
Add functional test

Resolved #1576
2015-02-05 14:35:02 -08:00
Doug Bunting 3de5db0c78 Provide `deep-clean` target to remove folders `git clean` cannot
- use `rimraf` instead of noisier, slower `robocopy-delete`
- _rimraf.shade is modeled after bower.shade
2015-02-05 14:25:44 -08:00
Doug Bunting 530d655d59 Use `default` for `*GloballyInstalled` variables
- allows calling .shade files to avoid repeated `TestCommand()` calls

nit in _node-install.shade:
- name `default nodeDir` variable to match other shade files; reusing value
2015-02-05 14:21:10 -08:00
Ryan Nowak 12f8f23ccb Make BindingSource extensible
This is a major refactor of how IBinderMetadata interacts with model
binders and value providers. We're doing this to support better
extensibility for metadata in ApiExplorer.

You'll notice a bunch of deleted code in DefaultApiDescriptionProvider
that maps metadata marker interfaces to a fixed list of Api sources. This
is replaced now with IBindingSourceMetadata - which also replaces the
hierarchy of marker interfaces. Now user code can create an arbitrary
binding source and have a consistent API for model-binders,
value-providers and full-visibility in ApiExplorer as
well.

Additonally, there's some error checking in place that better enforces the
constraints we already have in the system. IE you can't create a 'greedy'
model binder that uses value-provider data.

Two additional enhancements are planned for followup PRs:
1. Add a BindingSource property to model-metadata. This will remove some
duplication, but I want to delay it because it would touch another 10 or
so files.

2. Add an extensibility interface for our 'special' model binders like the
file binder so these can show up in ApiExplorer as well.
2015-02-05 13:41:31 -08:00
Kiran Challa 8c32d9e207 Removed misplaced test files due to bad merge.
The latest version of these files are already present in Microsoft.AspNet.Mvc.Xml.Test.
2015-02-05 13:21:33 -08:00
Doug Bunting f1154a850c Speed up developer builds a bit
- do not delete node_modules folders during every build
2015-02-05 12:09:33 -08:00
Doug Bunting 80f7e445e5 Pay attention to `bower` and `grunt` libraries, not containing folder
- should help to avoid repeated CI failures executing `bower`

also get `grunt` working on Linux machines when globally installed
2015-02-05 12:09:10 -08:00
ajcvickers 4139f3f18b React to EF changes in tests. 2015-02-05 11:09:32 -08:00
ajcvickers 88d977b193 React to EF changes 2015-02-05 10:56:14 -08:00
Ajay Bhargav Baaskaran 5e704cd5ef Added custom exception message for Format Exception 2015-02-05 10:51:32 -08:00
Andrew Nurse 35ac526aec update instructions from release 2015-02-05 10:48:00 -08:00
Praburaj c635116278 Changing some more logger usage to use structured logging. 2015-02-05 10:38:49 -08:00
Pranav K 59db8143da Updating CompilerCache to use IMemoryCache and file system watcher to
expire files in razor file cache.

Add a functional test to ensure the compiler cache does not get
initialized until the first request to a View.

Fixes #1708
2015-02-05 09:52:17 -08:00
Praburaj d78932d927 Using structure logging strings. 2015-02-04 17:29:04 -08:00
Brennan 127858dd7b Updating .kproj files 2015-02-04 16:44:02 -08:00
N. Taylor Mullen 19ca77ac2d Fixed xml docs. 2015-02-04 16:40:06 -08:00
Yishai Galatzer 5a3863d562 Implement StreamOutputFormatter
Include Functional tests and unit tests

Resolves #1653
2015-02-04 16:04:02 -08:00
sornaks 4691823a50 Issue #1785 - Changes to add CacheProfiles for response caching. 2015-02-04 15:25:45 -08:00
Brennan 4a0518ec99 Updating .kproj file 2015-02-04 14:29:14 -08:00
Brennan 51b80f660e Updating .kproj file 2015-02-04 14:27:26 -08:00
Brennan b17d718d27 Updating .kproj files 2015-02-04 14:24:28 -08:00
Brennan 6224268953 Updating .kproj files 2015-02-04 14:20:22 -08:00
sornaks 6e8cc6ba74 Adding extension methods ConfigureMvcOptions and ConfigureRazorViewEngineOptions. 2015-02-04 14:07:07 -08:00
Suhas Joshi 9763c97ab0 Adding console logger to sample 2015-02-04 13:28:52 -08:00
Suhas Joshi 1165ba363e Increasing time out for mono 2015-02-04 12:00:15 -08:00
Praburaj 8617bdc223 Printing the runtime information at the beginning of the test 2015-02-04 11:10:53 -08:00
Brennan a54886b3f3 Updating .kproj files 2015-02-04 09:13:50 -08:00
Harsh Gupta e805e67b4c [Fix for #1929] HeaderModelBinder needs to honor explicit name. 2015-02-03 19:36:48 -08:00