Commit Graph

40929 Commits

Author SHA1 Message Date
Pranav K 1574637a6a Reacting to Microsoft.AspNet.Cors version change 2015-09-22 11:26:04 -07:00
Kiran Challa 2c1f1a277a [Fixes #537] Clear up MusicStore repo 2015-09-22 10:04:26 -07:00
Pranav K bfcb7619dd Run Cors.Core.Tests in dnxcore50 2015-09-22 08:59:23 -07:00
Pranav K bf66dcea69 Update CORS package version to 6.0.0
Fixes #24
2015-09-22 08:51:42 -07:00
Chris R 285da613e4 #358 Redo port, add default address. 2015-09-22 08:46:48 -07:00
Pranav K f81c238a59 Reacting to IChangeToken changes 2015-09-22 08:35:16 -07:00
Pranav K af4f0fc6f0 Reacting to IChangeToken changes 2015-09-22 08:32:52 -07:00
Pranav K 9eb2c5b810 Reacting to IExpirationTrigger -> IChangeToken rename 2015-09-22 08:14:34 -07:00
Ryan Nowak b544aabfdb Fix #3111 - Don't trounce content-type in VCR
This change makes ViewComponentResult respect an existing Content-Type
setting on the HttpResponse. Code is very similar to the code in
ViewExector, and includes the same quirks.
2015-09-21 23:20:20 -07:00
Ryan Nowak a318c4599a API Review - Split up .Actions
Abstractions - Core MVC extensibility

Controllers - MVC implementations of .Abstractions and supporting
contracts

Infrastructure - General purpose support APIs. Metadata APIs that don't
fit clearly with a feature or with .Abstraction
2015-09-21 21:54:02 -07:00
Pranav K 00b6e71e31 Changes per NotNull PR comments 2015-09-21 17:22:27 -07:00
Hao Kung b189475551 Split cookie events 2015-09-21 17:12:21 -07:00
Pranav K 498d209949 Remove chaining from HashCodeCombiner.
Reacting to https://github.com/aspnet/Common/issues/40
2015-09-21 17:11:08 -07:00
Pranav K 9c456965a6 ITypeInfo.FullName should return the same value as TypeInfo.FullName
Fixes #523
2015-09-21 17:00:35 -07:00
Ajay Bhargav Baaskaran dd046eb819 Enabling NuGetPackageVerifier 2015-09-21 16:56:21 -07:00
Hao Kung 6c9157ff51 Fix tests 2015-09-21 16:47:33 -07:00
Hao Kung fec3002fff Renames 2015-09-21 16:32:14 -07:00
Ajay Bhargav Baaskaran 8f3a322cf9 Enabling NuGetPackageVerifier 2015-09-21 15:24:57 -07:00
Hao Kung 59ccbdd8ca Fix stuff 2015-09-21 14:56:05 -07:00
Chris R 7c39334783 Remove Helios 2015-09-21 14:55:42 -07:00
Pranav K f045c6792b Allow _ViewImports to remove default inherited tag helpers.
Additionally simplifying the contract for
ChunkInheritaceUtility\IChunkMerger so we don't have to understand the
order in which CodeTrees appear.
2015-09-21 14:53:24 -07:00
Pranav K 388362245f Making HashCodeCombiner usage non-fluent
React to https://github.com/aspnet/Common/issues/40
2015-09-21 14:46:07 -07:00
Ryan Nowak b95dcd5f1c Fix #3102 - Add an AddMvcOptions to builders
This makes it easier/possible for any third party code that extends
IMvcBuilder to set options.
2015-09-21 12:54:59 -07:00
N. Taylor Mullen 162e0b960d Remove travis OSX work around for surpassing max file limit 2015-09-21 12:53:11 -07:00
Ryan Nowak 22f22c0407 chmod+x on build.sh 2015-09-21 12:48:21 -07:00
Chris R 152c842416 Disable IISExpress tests. 2015-09-21 12:44:22 -07:00
Chris R 985a261ae8 Disable IISExpress tests. 2015-09-21 12:39:18 -07:00
Ajay Bhargav Baaskaran 153ed57d66 [Fixes #472] Added temporary parse error for helper directive 2015-09-21 12:09:31 -07:00
Ryan Nowak ae0baac227 simplify .travis.yml 2015-09-21 11:47:54 -07:00
Ryan Nowak e0ac69c9f7 Add JsonPatch
Moved from https://github.com/aspnet/Mvc
2015-09-21 11:15:18 -07:00
Ryan Nowak f4c5e31ec1 Remove JsonPatch from MVC
JsonPatch is moving to https://github.com/aspnet/JsonPatch
2015-09-21 11:14:40 -07:00
Murat Girgin cece79c3c0 Initial push 2015-09-21 10:52:51 -07:00
Ajay Bhargav Baaskaran 6928ff96c5 Enabling NuGetPackageVerifier 2015-09-21 10:45:54 -07:00
Ryan Nowak d3f2b240d7 Add build-template files 2015-09-21 10:42:05 -07:00
Ajay Bhargav Baaskaran 5354ce0a71 Enabling NuGetPackageVerifier 2015-09-21 10:40:36 -07:00
Pranav K 66a04c2fd6 Replacing NotNullAttribute with thrown exceptions 2015-09-21 10:26:14 -07:00
Ryan Nowak 00c436b0e1 [Perf] Remove use of [FromServices] on Controller
[FromServices] requires modelbinding to run for each of these four
properties, which allocates a lot, and ultimately just ends up calling
GetRequiredService in the end.

Also, retrieving these services is now lazy, which should be very
beneficial as few of them aren't used often.
2015-09-21 08:53:12 -07:00
Ryan Nowak 9badd9386e API-Review Strongly-typed collections for a few options types.
We don't want these extensions methods defined in a wierd namespace, it's
straightforward and future-proof to just make these strongly-typed
collections.
2015-09-20 22:11:22 -07:00
Doug Bunting 895258d550 Work around aspnet/External#33, aspnet/External#41, aspnet/External#42, and aspnet/External#43
- do not run tests that hit known issues with Core CLR on Linux
2015-09-20 21:42:12 -07:00
Doug Bunting c67ea208b2 [quick fix] Remove `version` property from `project.json` for LoggingWebSite
- avoid warning when building Microsoft.AspNet.Mvc.FunctionalTests project
- now consistent w/ other web sites in this repo
  - all but MvcMinimalSample.Web and that isn't used in functional tests
2015-09-20 21:38:08 -07:00
Ryan Nowak 10ec9144ca Remove extra registration of TelemetrySource
This is now provided by hosting.
2015-09-20 21:16:01 -07:00
Ryan Nowak 4d55a6e62d API review - remove DefaultOrder
No change in behavior intended, removing this from our public API.
2015-09-20 21:11:57 -07:00
Ryan Nowak ccb5ead450 Api-Review - put uri complexity in CreatedResult 2015-09-20 19:44:32 -07:00
Pranav K 7816c0183e Removing Microsoft.Framework.Primitives from HttpAbstractions 2015-09-20 10:20:58 -07:00
Doug Bunting 42017faa21 Add `InputFormatterResult` and `InputFormatterContext.ModelName`
- #2722
- make communication of errors from formatters to `BodyModelBinder` explicit
  - `JsonInputFormatter` now adds errors to `ModelStateDictionary` with correct key
- change `InputFormatter.SelectCharacterEncoding()` to add an error and return `null` when it fails
  - one less `Exception` case and removes some duplicate code

nits:
- improve some doc comments (more `<inheritdoc/>`, `<paramref/>` and `<see/>`)
- add another two `BodyValidationIntegrationTests` tests
2015-09-19 21:36:38 -07:00
David Fowler 891b991a34 Use new packInclude feature to include native assets
- Now Kestrel won't break when people overwrite the build.cmd
2015-09-19 03:59:58 -07:00
N. Taylor Mullen 44675701cb Refactored internal class `TagHelperBlockTracker` slightly. 2015-09-18 17:29:19 -07:00
N. Taylor Mullen 0253c563be Update tests to run correctly on stable mono. 2015-09-18 17:04:03 -07:00
Doug Bunting 0476d53f1d [quick fix] Allow `TestCommon` project to build successfully
- otherwise may fail in VS or when using `BuildV2` from the command line
2015-09-18 16:45:01 -07:00
N. Taylor Mullen 7c1f18c0a4 Update &lt; and &gt; in error messages to not be double encoded. 2015-09-18 16:42:59 -07:00