Commit Graph

32547 Commits

Author SHA1 Message Date
SteveSandersonMS 0615578d9a Switch from inline to external source maps. This avoids several problems with inline source maps in VS 2015 (at least as of Update 3). 2016-10-21 10:10:20 +01:00
SteveSandersonMS 8c766c0382 Remove deprecated SourceMapDevToolPlugin (can use Webpack's built-in one with external source maps) 2016-10-21 09:22:35 +01:00
Nathan Anderson 610601cc6e test fixes and whitespace changes to generated code 2016-10-20 15:23:03 -07:00
Jass Bagga f629f9a659 Check for null arguments in GetArgumentDictionary
Addresses #5423
2016-10-20 13:40:39 -07:00
Jass Bagga 79e576b86c ProducesResponseTypeAttribute(int statusCode) ctor added
Addresses #4863
2016-10-19 17:08:06 -07:00
Nathan Anderson 11ed34f229 add header ordering and short circuits to known headers
refactor known header changes

- create template string from Append switch
- add a check to ClearFast to bail out if too many headers are set
2016-10-19 15:49:01 -07:00
chris2093 72bc9c0f2c Update DefaultAntiforgeryTokenStore.cs (#106)
Corrected comment typo
2016-10-19 07:54:52 -07:00
Nate McMaster 38e22cd648 Merge branch 'rel/1.1.0-preview1' into dev
Merges branches without bringing back in the change to add dotnet-publish-iis to the 1.1.0-preview1 release.
2016-10-18 17:01:40 -07:00
John Luo 300a0522b0 Merge branch 'rel/1.1.0-preview1' into dev 2016-10-18 16:46:45 -07:00
John Luo 1083d9bc8f Merge branch 'rel/1.0.0-preview1' into rel/1.1.0-preview1 2016-10-18 16:46:30 -07:00
John Luo 3eb7edd364 Update Microsoft.Extensions.Logging.Testing version 2016-10-18 16:46:05 -07:00
Nate McMaster ca1341144a Upgrade dotnet-publish-iis to Microsoft.NETCore.App 1.1 and add dotnet-cli package type 2016-10-18 16:04:32 -07:00
Cesar Blum Silveira fff0adeaaf Faster response Content-Length parsing. 2016-10-18 15:57:40 -07:00
Nate McMaster 062a44e032 Revert 359faf7e51 2016-10-18 15:07:02 -07:00
jacalvar d5b0ebd10c Merge branch 'rel/1.1.0-preview1' into dev 2016-10-18 14:26:12 -07:00
jacalvar 9579806306 [Fixes #5150] parsing issue on asp.net when request quality factor is specified 2016-10-18 12:52:53 -07:00
joheredi 38aa48651f Fix for Issue#5150 2016-10-18 12:52:30 -07:00
John Luo d8c6c4ab34 Add support for VaryByQueryKey #2894 2016-10-18 12:31:04 -07:00
Ajay Bhargav Baaskaran 3004fb822b Merge branch 'rel/1.1.0-preview1' into dev 2016-10-18 12:02:42 -07:00
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 61998b70b4 Merge branch 'rel/1.1.0-preview1' into dev 2016-10-18 10:33:50 -07:00
Pranav K 431548d55a Downgrading package quality to preview1 2016-10-18 10:24:36 -07:00
Michael Friis b15c762ee6 remove app.json 2016-10-18 09:53:13 -07:00
Jaspreet Bagga c2fee4d74d AcceptedResult(), AcceptedAtActionResult(), AcceptedAtRouteResult() support
Addresses #4937
2016-10-18 09:48:26 -07:00
Jaspreet Bagga e7c992ff06 Added fragment to FormActionTagHelper and FormActionTagHelper
Addresses #4917
2016-10-18 09:46:50 -07:00
Nate McMaster c7ff19c285 Remove Microsoft.Extensions.ProjectModel
Resolves #182
2016-10-18 09:45:09 -07:00
Doug Bunting 4e1ec39a1f Store `GetFullHtmlFieldName()` and `CreateSanitizedId()` values
- #3918
- don't repeat allocations for identical calls; helps w/ e.g. label / input / validation clusters
- add `NameAndIdProvider`; it stores `PreviousNameAndId` in `HttpContext.Items`
 - `PreviousNameAndId` allocated only when `string`s are allocated e.g. "id"s were sanitized
2016-10-17 21:50:56 -07:00
Vladislav Karamfilov 3ef7d01bb6 Small code cleanup (#5388)
* Removed unused private GetUrlHelper method in LocalRedirectResult class.

* Minor code formatting improvements.

* Fixed white space and casing of 'URL' in comment in RedirectResultExecutor.
2016-10-17 20:45:47 -07:00
John Luo 9bee123008 Merge branch 'rel/1.1.0-preview1' into dev 2016-10-17 17:49:33 -07:00
John Luo 18a5092d28 Merge branch 'rel/1.0.0-preview1' into rel/1.1.0-preview1 2016-10-17 17:49:11 -07:00
John Luo aada06fac3 Merge branch 'rel/1.1.0-preview1' into dev 2016-10-17 17:47:43 -07:00
John Luo 57702fab1c Merge branch 'rel/1.0.0-preview1' into rel/1.1.0-preview1 2016-10-17 17:46:44 -07:00
David Fowler 79c1781ae3 Merge pull request #8 from anurse/anurse/websockets
move prototype WebSockets-over-Channels code in
2016-10-17 16:21:07 -07:00
Andrew Stanton-Nurse affcb935d7 clean-up and renaming
renamed WebSockets project to clarify it's internalityness
2016-10-17 15:27:23 -07:00
Cesar Blum Silveira 78584799a4 Separate request rejection from bad request state setting. 2016-10-17 15:16:50 -07:00
Mike Harder f1071dea50 Set StatusCode before disposing HttpContext (#876) 2016-10-17 15:16:43 -07:00
Nate McMaster 70bafa9753 Upgrade to MSBuild 15.1.319-preview5 and fix broken tests. (#201) 2016-10-17 15:09:24 -07:00
Doug Bunting eea297975d Reduce `HtmlContentBuilder` allocations
- #3918
- lazy-load `TagBuilder.InnerHtml`; add `HasInnerHtml` property for conservative use
 - depends on aspnet/HtmlAbstractions@0781b5a (adds `HtmlContentBuilder.Count`)
- don't use a `HtmlContentBuilder` at all in `DefaultHtmlGenerator.GenerateValidationSummary()`
- avoid instantiating `HtmlContentBuilder` when short-circuits make it unnecessary
- provide correct `HtmlContentBuilder` capacity where known
2016-10-17 14:38:30 -07:00
SteveSandersonMS 85b8f033da Temporarily use modified build system to see if it fixes CI issues. Also remove earlier attempted workaround. 2016-10-17 21:58:31 +01:00
Nate McMaster 68533f32f7 Upgrade test project to netcoreapp1.1 2016-10-17 13:38:40 -07:00
John Luo 87e4b9df39 Rename NuGet.Config to NuGet.config 2016-10-17 12:26:54 -07:00
Nate McMaster 640ee4e883 React to upgrade to preview2.1 CLI 2016-10-17 12:25:11 -07:00
John Luo 8403184752 Update version number to 1.0.0-preview1 2016-10-17 12:24:04 -07:00
Nate McMaster 721cbe3435 Refactor dotnet-watch to isolate project.json dependency 2016-10-17 12:06:19 -07:00
Ryan Brandenburg 69b4b64fd5 Cache ModelMetadata HashCode 2016-10-17 12:06:14 -07:00
John Luo f8831928de Merge branch 'rel/1.1.0-preview1' into dev 2016-10-17 11:59:32 -07:00
John Luo 2eb66dc684 Merge branch 'rel/1.0.0' into rel/1.0.0-preview1 2016-10-17 11:59:05 -07:00
SteveSandersonMS 6f44227917 Attempt to fix CI build issues 2016-10-17 19:35:28 +01:00
John Luo 8acf71457e API review feedback
Rename middleware components ResponseCache => ResponseCaching

Move ResponseCachingOptions to Microsoft.AspNetCore.ResponseCaching namespace

Rename extension methods
2016-10-17 11:33:09 -07:00
Doug Bunting 0781b5a87c Add `HtmlContentBuilder.Count`
- precursor to PR aspnet/Mvc#5378 for issue aspnet/Mvc#3918
2016-10-17 11:26:16 -07:00