Commit Graph

16425 Commits

Author SHA1 Message Date
Justin Kotalik 29b7c5c030 Revert "Wait to dispose RequestAborted CTS (#4447)"
This reverts commit 0622513058.
2019-01-17 09:38:04 -08:00
Javier Calvarro Nelson 19b543e45f [Components] Support for prerrendering asynchronous components.
* Updates the IComponent interface to rename Init into Configure
* Updates the IComponent interface to change SetParameters for
  SetParametersAsync and make it return a Task that represents when the
  component is done applying the parameters and potentially triggering
  one or more renders.
* Updates ComponentBase SetParametersAsync to ensure that OnInit(Async)
  runs before OnParametersSet(Async).
* Introduces ParameterCollection.FromDictionary to generate a parameter
  collection from a dictionary of key value pairs.
* Introduces RenderComponentAsync on HtmlRenderer to support
  prerrendering of async components.
* Introduces RenderRootComponentAsync on the renderer to allow for
  asynchronous prerrendering of the root component.
2019-01-17 08:39:00 -08:00
Justin Kotalik 42d3289662 Merge branch 'release/2.2' into jkotalik/masterMerge 2019-01-17 08:31:41 -08:00
Justin Kotalik 2cc13237ac Separate test group 2019-01-17 08:24:11 -08:00
Chris Ross 91514c9af7
Update generic host wrapper config #6765 (#6770) 2019-01-16 16:44:17 -08:00
Justin Kotalik 9d63bd7676 Undo sharedfxtests changes 2019-01-16 16:38:41 -08:00
Sourabh Shirhatti 17e5be6fbc Clean up event log strings for ANCM (#4515) 2019-01-16 16:18:01 -08:00
Justin Kotalik 1962146730 Add Microsoft.NET.Sdk.Razor 2019-01-16 16:16:04 -08:00
Justin Kotalik f9051db96d bad local var name 2019-01-16 15:33:34 -08:00
NTaylorMullen 237a7a65d6 Seal RestrictChildrenAttribute.
Addresses #5041
2019-01-16 15:03:30 -08:00
Ajay Bhargav Baaskaran 4c1a375a2c Merge branch 'release/2.1' into release/2.2 2019-01-16 14:52:13 -08:00
Justin Kotalik dabd3463ba few extra conflicts 2019-01-16 14:46:39 -08:00
Ajay Bhargav Baaskaran ad31f9429d
Fix failing Razor file comparison tests (#6757) 2019-01-16 14:41:50 -08:00
Ajay Bhargav Baaskaran 18425ed192
Merge branch release/2.1 to release/2.2 (#6754)
* Put Razor.Design.Test and Razor.Language.Test in a different test group (#6725)

* Move dotnet watch to a seperate test group (#6730)

* Reuse root `version.props` in Templating
- do not let Templating get behind branding changes

* Revert "Put Razor.Design.Test and Razor.Language.Test in a different test group (#6725)" (#6753)

This reverts commit 563ff7c639.

* Revert file watch test changes
2019-01-16 14:40:45 -08:00
Justin Kotalik e6d547a923 Merge branch 'jkotalik/22temp' into jkotalik/masterMerge 2019-01-16 14:39:10 -08:00
Pavel Krymets ae9b3992b2
Merge pull request #6759 from aspnet/pakrym/merge22
Merge 2.2 into master
2019-01-16 14:04:56 -08:00
Nate McMaster 5a70f5312f
Convert Components projects to use ProjectRef (#6698)
This addresses #4246 for src/Components/. A few other changes were necessary because components had been using stale dependencies.
2019-01-16 12:28:04 -08:00
Justin Kotalik 5b56de94fd
Allow disabling shared configuration check from hosting bundle. (#6498) 2019-01-16 12:04:36 -08:00
Pavel Krymets f08f2af8bc Merge commit '852d890' into pakrym/merge22 2019-01-16 11:56:50 -08:00
Pavel Krymets 6cac028716
Switch IIS tests to Hosted queue (#6746) 2019-01-16 11:47:52 -08:00
John Luo 1bd5845b4c
Merge pull request #6735 from aspnet/johluo/merge22
Johluo/merge22
2019-01-16 11:43:35 -08:00
Ajay Bhargav Baaskaran 9831238b7c
Revert "Put Razor.Design.Test and Razor.Language.Test in a different test group (#6725)" (#6753)
This reverts commit 563ff7c639.
2019-01-16 11:06:44 -08:00
Justin Kotalik 8119c57669
Always copy nuget package output to build directory (#6631) 2019-01-16 10:45:45 -08:00
John Luo e1c4d150f5 Merge fix 2019-01-16 10:31:10 -08:00
Steve Sanderson 9020ab6386
No need to register .wasm media type since ASP.NET Core 2.2 (#6731) 2019-01-16 09:50:42 -08:00
Doug Bunting 99eba6972f Reuse root `version.props` in Templating
- do not let Templating get behind branding changes
2019-01-16 09:24:28 -08:00
Pavel Krymets f44c175ec6
Enable logging branch SiteExtension (#6715) 2019-01-16 08:56:12 -08:00
Justin Kotalik dce7a3a1b6
Merge pull request #6723 from dotnet-maestro-bot/merge/release/2.1-to-release/2.2 2019-01-16 08:55:34 -08:00
Martin Perry ed0abe5e24 Merge remote-tracking branch 'upstream/master' 2019-01-16 16:35:15 +00:00
Martin Perry f38e4747fa Implemented fixes from code review 2019-01-16 15:12:45 +00:00
Justin Kotalik 959445b271 Target netcoreapp2.2 2019-01-15 22:29:08 -08:00
Chris Ross d838165642
Fix up how OIDC errors flow (#4520)
* Add regression test for #4384
* Fix up how OIDC errors flow #4384
2019-01-15 20:59:40 -08:00
John Luo 17b6ce8bd6 Merge branch 'release/2.2' 2019-01-15 18:49:54 -08:00
Pranav K 86071c9db4
Add Components packages to shared fx (#6722)
* Add Components packages to shared fx

* Add Microsoft.AspNetCore.Components \ Microsoft.AspNetCore.Components.Browser to shared fx
* Update build to use Microsoft.InteropJS package produced from Extensions repo
* Remove some package references from components template

Fixes https://github.com/aspnet/AspNetCore/issues/6442
2019-01-15 18:05:42 -08:00
Pavel Krymets 12a479d1f6
Move dotnet watch to a seperate test group (#6730) 2019-01-15 17:18:28 -08:00
James Newton-King df7bfe5243
Unit test route name with RouteUrl and ambient values (#6719) 2019-01-16 13:57:13 +13:00
Ryan Nowak 3e5b37f22c Fix #6102 - Intense CPU utilization on page change (#6542)
* Fix #6102 - Intense CPU utilization on page change

The issue here was that every time a Razor Page changed, we would
subscribe an additional time to the endpoint change notifications. This
means that if you tweaked a page 30 times, we would update the address
table 31 times when you save the file. If you were doing a lot of editing
then this would grow to a really large amount of computation.

The fix is to use DataSourceDependentCache, which is an existing utility
type we developed for this purpose. I'm not sure why it wasn't being
used for this already. We're already using DataSourceDependentCache in a
bunch of other places, and it's well tested.

I also tweaked the stucture of this code to be more similar to
EndpointNameAddressScheme. This involved some test changes that all
seemed like good cleanup. The way this was being tested was a little
wonky.

(cherry picked from commit a5658a8c95)
2019-01-15 16:55:27 -08:00
BrennanConroy 17616a5dba
Use bounded channel for streaming (#6625) 2019-01-15 16:51:31 -08:00
Justin Kotalik 4a2a8942d4 Cleanup 2019-01-15 16:44:10 -08:00
Justin Kotalik eacffd56b7 Merge branch 'release/2.1' into release/2.2 2019-01-15 16:37:34 -08:00
Ajay Bhargav Baaskaran 563ff7c639
Put Razor.Design.Test and Razor.Language.Test in a different test group (#6725) 2019-01-15 15:49:13 -08:00
Pranav K d74833c2d7
Update Razor Sdk version (#6713)
* Update Razor Sdk version

* Use Razor SDK version with workaround for https://github.com/aspnet/AspNetCore/issues/6500
* Remove package reference to Razor SDK in template
2019-01-15 15:46:21 -08:00
BrennanConroy 3dcb382741
Fix Java package version (#6724) 2019-01-15 15:44:03 -08:00
Pavel Krymets 41c1490468
Add an event log message when loading hostfxr fails (#6670) 2019-01-15 15:07:51 -08:00
James Newton-King cd308e7a8b
Fix HttpContext not being passed to constraints in link generation (#6644) 2019-01-16 12:00:57 +13:00
James Newton-King 92680b355f
Change consumes behavior to ignore requests with no content type (#6645) 2019-01-16 11:55:54 +13:00
Stephen Halter 0622513058
Wait to dispose RequestAborted CTS (#4447) 2019-01-15 14:54:10 -08:00
Pranav K b56c589773
Dispose components on client disconnects (#6693)
* Dispose components on client disconnects
Fixes https://github.com/aspnet/AspNetCore/issues/4047
2019-01-15 14:52:40 -08:00
James Newton-King 180f735ac8
Fix non-parameter route constraints not called with endpoint routing for 2.2 (#6587) 2019-01-16 11:16:35 +13:00
Pavel Krymets 4c956d4767
Add SkipIfNotAdminAttribute to StartsWithDotnetInstallLocation (#6718) 2019-01-15 13:25:07 -08:00
Justin Kotalik e751db0739
Make Auth Samples Project Ref (#6557) 2019-01-15 13:12:54 -08:00
Chris Ross 1f892d798d
Add AllowSynchronousIO to TestServer and IIS, fix tests (#6404) 2019-01-15 11:48:17 -08:00
Mikael Mengistu 852d890cd6
Check HubConnection state before running invoke logic (#4400) 2019-01-15 11:15:21 -08:00
Stephen Halter 0defbf74f8
Fix flakiness in Kestrel ungraceful shutdown test (#6637) 2019-01-15 11:10:44 -08:00
Pavel Krymets 437baf6f5e
Port Handle EOF HResult from async callback to 2.2 (#6483) 2019-01-15 10:33:26 -08:00
Steve Sanderson 0fff8bbd04 Fix signing error related to Microsoft.JSInterop.dll (#6705) 2019-01-15 10:00:28 -08:00
Pavel Krymets 5fd9435392
Port ANCM current directory changes to 2.2 (#6150) 2019-01-15 09:00:50 -08:00
Justin Kotalik cdd38d70cf
Implement Stream Adapters (and minor nitpics) (#6583) 2019-01-15 09:00:06 -08:00
Martin Perry adbcf5d4a4 Merge remote-tracking branch 'upstream/master' 2019-01-15 16:23:32 +00:00
Chris Ross 6a44aca6a2
React to WebHostBuilderFactory changes (#6460) 2019-01-15 08:09:27 -08:00
James Newton-King 09b50850bc
Update AuthorizeFilter to no-op when AuthorizationMiddleware has run (#6346) 2019-01-15 20:29:23 +13:00
David Fowler 0e1cb6d6c2
Removed WebSocketProtocol from the shared framework (#6699) 2019-01-14 21:38:31 -08:00
Mikael Mengistu 86a0becd59
Mark Java client as Product Package (#6697) 2019-01-14 21:24:52 -08:00
John Luo 38c0d5a50c
Use object indirection in HttpContextAccessor (#1066) (#6036) 2019-01-14 20:31:36 -08:00
Doug Bunting 63ee551b6b
Merge `release/2.2` to `master` 2019-01-14 20:23:51 -08:00
John Luo 8f1eedf5a9 Merge branch 'release/2.1' into release/2.2 2019-01-14 19:04:39 -08:00
BrennanConroy a9b737b793
Fix broken definitions file (#6343) 2019-01-14 18:46:07 -08:00
Pranav K d93f4527b3 Fix typo
Fixes https://github.com/aspnet/AspNetCore/issues/6535
2019-01-14 17:15:19 -08:00
Steve Sanderson 864f76b2c0
Update Razor Components and Blazor templates (#6682) 2019-01-14 15:23:49 -08:00
Travis Illig f072523780 Minor argument check fixes
Fixed `nameof()` reference to be consistent with arg being checked. Added null check for port to be consistent with earlier overload.
2019-01-14 15:00:20 -08:00
Kahbazi 5b8d93c9c6 Check iss in odic sign-out (#6378) 2019-01-14 14:45:45 -08:00
David Fowler 3f1760c52b
Reduce copies for WebSocket reads (#6656)
- Change the upgrade message body to use the transport pipe instead of the request body pipe.
- Remove some logic from the base type (more can be removed but this is a conservative change)
- Improve performance of the ReadAsync call
2019-01-14 14:14:02 -08:00
John Luo c2aa2957f6 Merge fixes 2019-01-14 14:13:40 -08:00
John Luo 90a9fa7aac Merge branch 'release/2.1' into release/2.2 2019-01-14 12:57:34 -08:00
Stephen Halter cd0eab88ea
Lower log severity for opening internal libuv pipe (#6636)
Addresses #4741
2019-01-14 12:29:49 -08:00
Chris Ross 87af0c3f1f
Update Google Auth UserInfo endpoint (#6338)
* Update Google Auth UserInfo endpoint #6069

* Add Google to PatchConfig
2019-01-14 12:28:25 -08:00
Nate McMaster 7f7723bdf2
Consume dependencies updates automatically via darc (#6676)
This refactors the list of dependency versions to support consuming updates automatically via darc and maestro.
2019-01-14 12:01:31 -08:00
Doug Bunting 970bced25c
Update branding to 2.2.2 (#6608)
- pin System.Net.WebSockets.WebSocketProtocol to version 4.5.3
- update Directory.Build.targets files to correct build issues
- fix duplicate metadata during static analysis
2019-01-14 11:40:01 -08:00
Ivan Zlatanov c560edee28 Fixed the bug in the windows service host where if application stop is requested, the service wouldn't know about it. (#4553)
* Fixed the bug in the windows service host where if application stop is requested, the service wouldn't know about it.

* Fixed a typo.

* Update src/Hosting/WindowsServices/test/Microsoft.AspNetCore.Hosting.WindowsServices.Tests.csproj

* Removed unneeded EditorBrowsable for internal API.

* Fixed tests to ignore Linux and MacOS.

* Added new line to end of file.

* Using [ConditionalFact] instead of [Fact].
2019-01-14 10:26:15 -08:00
Nate McMaster 089912cd1b
Switch queues used during Windows builds (#6667) 2019-01-14 10:07:12 -08:00
Pavel Krymets 8aa8c6b2b0
Build branch logging SE in main build (#6312) 2019-01-14 08:42:53 -08:00
Justin Kotalik 3f4622ffe0
Fix StartupTests.StartsWithDotnetInstallLocation (#6589) 2019-01-14 08:16:48 -08:00
Steve Sanderson cbbdeaefd4
Enforce correct sync context on render, and allow explicit dispatch to sync context. Fixes #5639 (#6604)
* Only use async marshalling to renderer sync context when necessary

Note that the lifecycle methods already take care of capturing the correct sync context, so continuations will already be serialized.
Avoiding an extra layer of asynchrony keeps the semantics of rendering closer to the WebAssembly cases, and will fix a range of intermittent errors in the wild.

* Add E2E test of triggering rendering from outside the sync context

* Actually throw if attempting to render from incorrect sync context

* Add "Dispatch" API

* Handle dispatch within dispatch. Also test Dispatch on WebAssembly.

* Avoid heap allocation

* Simplify E2E test

* Replace Dispatch() with Invoke() and InvokeAsync()

* Add E2E test to validate async execution order

* Clean up
2019-01-14 15:31:53 +00:00
Chris Baudin 0b8e16f10a Detatch CancelKeyPress and ProcessExit event handlers when IWebHost.RunAsync is completed. (#6638) 2019-01-13 22:44:25 -08:00
Ryan Nowak a5658a8c95
Fix #6102 - Intense CPU utilization on page change (#6542)
* Fix #6102 - Intense CPU utilization on page change

The issue here was that every time a Razor Page changed, we would
subscribe an additional time to the endpoint change notifications. This
means that if you tweaked a page 30 times, we would update the address
table 31 times when you save the file. If you were doing a lot of editing
then this would grow to a really large amount of computation.

The fix is to use DataSourceDependentCache, which is an existing utility
type we developed for this purpose. I'm not sure why it wasn't being
used for this already. We're already using DataSourceDependentCache in a
bunch of other places, and it's well tested.

I also tweaked the stucture of this code to be more similar to
EndpointNameAddressScheme. This involved some test changes that all
seemed like good cleanup. The way this was being tested was a little
wonky.
2019-01-13 21:03:26 -08:00
David Fowler 71ce37ee91 Remove WebSocketProtocol dependencies (#6651) 2019-01-13 18:22:11 -08:00
BrennanConroy 6d28c44408
Fix SignalR perf app path (#6650) 2019-01-13 17:11:25 -08:00
David Fowler c528892560
Use the WebSocket factory method instead of WebSocketProtocol (#6646)
- WebSocketProtocol.CreateFromStream makes the netstandard ManagedWebSocket which uses the inefficient versions of Stream overloads.
- Updated the samples to use the new Memory<byte> overloads
2019-01-13 11:05:04 -08:00
Ben Adams b27739ad3f Shrink ParseRequestLine inner loop (#6594) 2019-01-11 20:34:30 -08:00
James Newton-King c7f05c614a
Remove Microsoft.AspNetCore.Testing dependency from SignalR spec tests (#6629) 2019-01-12 16:01:07 +13:00
James Newton-King accbcebac0
Support multiple policies for a key with RoutePatternFactory.Pattern (#6593) 2019-01-12 16:00:42 +13:00
Nate McMaster b4f869b2ff
Switch agent queues used on Windows builds (#6627) 2019-01-11 16:23:13 -08:00
Chris Ross 7d5067519f
Move templates to generic web host #4187 (#5706) 2019-01-11 16:21:23 -08:00
BrennanConroy ee6ba671fa
Fixup SignalR sln (#6622) 2019-01-11 16:05:31 -08:00
Nate McMaster a9132ad26c
Switch agent queues used during Windows builds 2019-01-11 15:16:57 -08:00
Nate McMaster 676cbee9d0
Merge branch 'release/2.2' 2019-01-11 14:52:01 -08:00
Kahbazi 7883eb65a2 Replace Cosnsole.WriteLine with Debug.WriteLine (#6618) 2019-01-11 14:24:10 -08:00
Justin Kotalik 2f6ff70dd4
Disable a set of flaky IIS tests (#6606) 2019-01-11 13:32:27 -08:00
Nate McMaster 5810af5ce7
Fix code-signing metadata for the SignalR java client (#6607) 2019-01-11 11:27:04 -08:00
Steve Sanderson 70cdf11f76
Make Razor Components apps not use Blazor build (#6562)
* Replace UseServerSideBlazor with UseRazorComponents, which doesn't require Blazor build artifacts

* Make UseRazorComponents serve blazor.server.js from embedded resource

... so we don't need a build step to put it on disk somewhere.

* Fix TestServer

* Update ComponentsApp not to use Blazor build targets

* Update ComponentsApp.App sample to use new build package

* Update string constant in test

* Rename blazor.*.js to components.*.js

* Ensure correct build order

* Update nav menu title in Components sample app

* Fix remaining paths

* Switch ComponentsApp.App to use Sdk="Microsoft.NET.Sdk.Razor"

* Update mono.cecil version

* CR: Replace FrameworkFilesProvider with EmbeddedFileProvider

* CR: Use ManifestEmbeddedFileProvider
2019-01-11 16:14:11 +00:00
Nate McMaster 3cd5054eb5
Merge branch 'release/2.2' 2019-01-11 07:20:00 -08:00
Rick Anderson 820304cfca Update src/Security/README.md (#6592) 2019-01-11 07:07:54 -08:00
Steve Sanderson 827ace6100
Factor WebAssembly debugging infrastructure out of Microsoft.AspNetCore.Components.Server (#6519)
* Add empty Blazor.Server project

* Move debugging middleware to Blazor.Server

* Use debugging middleware in Blazor standalone CLI

* Use debugging middleware in Blazor "hosted" sample

* Update artifacts.props
2019-01-11 10:29:43 +00:00
Javier Calvarro Nelson 5ff7e20c59
[Identity] Fix broken test (#6563) 2019-01-11 02:08:13 -08:00
BrennanConroy 364018238a
Refactor streaming from client to server (#4559) 2019-01-10 21:52:28 -08:00
Ben Adams 31c8423df1 Devirtualize HttpHeaders.Reset (#5950)
* Use Inlining to devirtualize
2019-01-10 20:34:41 -08:00
Ajay Bhargav Baaskaran 3b67abecbf
Add an MSBuild target to set MsBuild.exe path (#6401)
* Add an MSBuild target to set MsBuild.exe path

* Added a warning message

* Don't build Razor.Tasks twice

* Compile include inside the target
2019-01-10 17:34:25 -08:00
Mikael Mengistu 1677ed2073
Package Archive Baseline for the 2.1.8 Patch (#6578) 2019-01-10 15:54:13 -08:00
Ryan Nowak 14e606997f Fix #5116 Remove support for 2.0 precompilation
Obsoletes RazorViewAttribute and RazorPageAttribute and removes all of
our usage of them. I've already made the changes to have the SDK stop
generating these.
2019-01-10 15:38:10 -08:00
Pavel Krymets 5299eff616
Use hostfxr error callback support (#6043) 2019-01-10 14:07:47 -08:00
James Newton-King 90511e6039
Add HostPolicyMatcher (#6214) 2019-01-11 10:46:09 +13:00
Pranav K 55ec35bb80
Cleanup MvcJsonHelper (#6529)
* Cleanup MvcJsonHelper

* Remove dependency on JsonOutputFormatter
* Cache JsonSerializer for the default case
2019-01-10 12:34:27 -08:00
Pavel Krymets 26c78ee542
Create folders for debug log file (#6546) 2019-01-10 12:03:54 -08:00
Pranav K 5887e412c6 Rename Razor Components template
Fixes https://github.com/aspnet/AspNetCore/issues/6525
2019-01-10 10:43:29 -08:00
Pranav K be14ef19df Changes per PR comments 2019-01-10 10:25:07 -08:00
Pranav K 3bb22db516 Modify templates to reference Mvc.NewtonsoftJson 2019-01-10 10:25:07 -08:00
Dávid Kaya 36529e4a34 Removed extra curly bracket (#6558) (#6559) 2019-01-10 10:06:54 -08:00
David Fowler c458fe6ebe
Move request servies feature into DefaultHttpContext (#6541)
- This completely removes the per request allocation until the feature is used.
- In order to make this change viable, we need to introduce a new HttpContextFactory that can accept new services without adding 2^n constructors. As a result, this change introduces a DefaultHttpContextFactory that takes an IServiceProvider and resolves dependencies based on the needs of the DefaultHttpContext and features.
- Throw in the older HttpContextFactory constructor when the IServiceScopeFactory is null
- It also saves us from revving the feature collection version unnecessarily.
2019-01-10 09:54:09 -08:00
Pranav K 13841abd78 Remove Microsoft.AspNet.WebApi.Client and Newtonsoft.Json.Bson from shared fx 2019-01-10 09:34:00 -08:00
Nate McMaster 4c8db32b1c
Don't restore npmproj files in parallel (#6560)
NPM does not handle this well, so only run one NPM command at a time
2019-01-10 08:21:26 -08:00
Steve Sanderson 8446b260d9
Split .Components.Build into .Blazor.Build+.Components.Build (#6538)
* Move Components.Build to blazor/src/. No content changes yet.

* Rename Components.Build to Blazor.Build and update file paths

* Move Components.Build.Test files. No content changes yet.

* Update contents in Blazor.Test

* Fix names of props/targets files

* Add minimal Components.Build package that just imports Razor targets and analyzer

* Make Blazor.Build depend on Components.Build and get Razor compilation targets from there

* Fix version of reference from .Blazor.Build to .Components.Build

* Fix signing error on local builds

* Update artifacts.props
2019-01-10 11:23:36 +00:00
Nate McMaster 22f3166fa6
Merge branch 'release/2.1' into release/2.2 2019-01-10 01:22:10 -08:00
Ben Adams ad11f890ef Resolve input/output via IDuplexPipe interface once (#6371) 2019-01-09 21:25:22 -08:00
John Luo e5d943a7e3
Convert MvcPrecomp to Reference (#6472)
* Convert MvcPrecomp to use Reference and move to MVC
2019-01-09 18:48:01 -08:00
Nate McMaster 0f65d44482
Merge branch 'release/2.2' 2019-01-09 18:09:25 -08:00
Nate McMaster a6b04bf969
Fix MusicStore tests for 2.2 2019-01-09 17:18:01 -08:00
Pranav K 6b0c0761a4 Avoid doing selenium 2019-01-09 17:17:22 -08:00
Justin Kotalik a474a0567f
Merge branch 'release/2.2' 2019-01-09 16:42:12 -08:00
Hao Kung 17c6a64997
Add logging for OIDC/OAuth challenge (#6466) 2019-01-09 15:57:50 -08:00
Hao Kung d7a7c65b2b
Remove old 1.x auth stack (#4485)
* Remove old 1.x auth stack

Fixes https://github.com/aspnet/AspNetCore/issues/3999
2019-01-09 15:56:19 -08:00
Nate McMaster a3f9b74bb9
Merge branch 'release/2.1' into release/2.2 2019-01-09 14:52:53 -08:00
David Fowler ea344bf726
Don't allocate the FormFeature eagerly (#6511)
- Expose FormOptions on DefaultHttpContext
- Use those options on DefaultHttpContext when the FormFeature is initialized
2019-01-09 14:44:41 -08:00
Pavel Krymets b6bdffe247
Remove copy targets from ResolveIISReferences (#6539) 2019-01-09 14:05:41 -08:00
Pavel Krymets 422b3222d2
Add InstallLocation registry key support (#5705) 2019-01-09 13:47:00 -08:00
Nate McMaster d3838620d6
Convert SignalR projects to build with ProjectReference (#6457)
Part of #4246 

Changes:
* Update source code layout to follow the new conventions for this repo
* Update project files to use `<Reference>`
* Update targets to build NPM packages
* Update BuildTools to support custom 'restore' and 'test' targets
2019-01-09 13:12:35 -08:00
Pavel Krymets 89ef215146
Fix ServerTests test failure (#6530) 2019-01-09 12:03:45 -08:00
David Fowler a11c68ae35
Remove all extensibility from the DefaultHttpContext (#6504)
- Seal all of the classes
- Remove virtual methods
- Delete pooled HttpContext code
- Removed obsolete AuthenticationManager
2019-01-09 11:37:06 -08:00
Ryan Nowak 74f1ccad0d Temporarily disable E2E component tests
These are causing hangs and timeouts on macOS
2019-01-08 21:47:24 -08:00
Justin Kotalik 5541a7a026
Implement PipeBody Features and add to HttpContext (#6394) 2019-01-08 21:31:50 -08:00
Kahbazi e899823775 Add event name in Antiforgery (#6468) 2019-01-09 17:27:47 +13:00
Kahbazi 3c9cb4f3b5 Add event name in Middlewares (#6467) 2019-01-09 17:26:58 +13:00
David Fowler 688ad19170
Reuse HttpContext object per HTTP/1 connection and HTTP/2 stream (#6424)
- Today in Kestrel, we reuse the IFeatureCollection per connection and per Http2Stream. This PR aims to take advantage of that same technique and affinitize the HttpContext and friends so that they are only allocated per connection.
- ReusableHttpContext and friends mimic the functionality of DefaultHttpContext but is sealed and has no overridable methods.
- Introduce IHttpContextContainer which allows servers to cache the HttpContext and friends across requests.
2019-01-08 16:54:46 -08:00
Luke Latham b4c9ca12b4 Spelling typo in ANCM event log message (#6495) 2019-01-08 16:33:32 -08:00
James Newton-King dd39bd289a
Add event name in static files (#6456) 2019-01-09 13:19:25 +13:00
Kahbazi e106a8af08 Add log event name for CookiePolicy (#6454) 2019-01-09 12:10:20 +13:00
James Newton-King aadbed62de
Add event name in routing (#6455) 2019-01-09 12:01:14 +13:00
Bart Wolff 6a98c68628 Code cleanup response caching middleware (#6124)
* minor code cleanups

* comment public interface

* simplified some things using language features
2019-01-08 14:49:38 -08:00
Ryan Nowak 5a75084826 Update SDK and remove workaround 2019-01-08 13:20:16 -08:00
Pranav K cdc66c5f98 Move JSON.NET specific features to a separate assembly 2019-01-08 12:49:29 -08:00
David Fowler d116ab8550
Remove ObjectPoolProvider from default set of hosting services (#6437)
- Added it where it was being used
- Updated tests
2019-01-08 12:05:48 -08:00
Nate McMaster ce548479e1
Merge branch 'release/2.1' into release/2.2 2019-01-08 12:00:04 -08:00
Nate McMaster 5d16f97965
Remove netcoreapp2.0 test TFMs (#6461)
.NET Core 2.0 reached EOL last year. This removes multi-targeting our test projects and test assets to only use .NET Core 2.1 and .NET Framework 4.6.1.
2019-01-08 11:20:09 -08:00
Steve Sanderson 326e329018
Run components E2E tests in CI (#5158)
* Auto-install local copy of selenium-standalone on build

* Automatically start/stop selenium-standalone when running E2E tests

* Update after rebase

* Exclude node_modules from E2ETests project

* Avoid deadlocks

* Include E2E tests when running all tests in src/Components

* Be more forgiving about waiting for selenium-server to be ready

* Update usage of shared source file
2019-01-08 16:07:07 +00:00
Pavel Krymets c60d1e1a14
Handle EOF HResult from async callback (#6453) 2019-01-07 15:04:28 -08:00
dotnet-bot c06eec1e8f Merge in 'release/2.2' changes 2019-01-07 21:31:03 +00:00
Justin Kotalik 33d42551ac Fix MusicStore PackageReferences and cleanup README 2019-01-07 12:53:08 -08:00
Kahbazi f2e6e6ff33 Add log event name for security projects (#6420) 2019-01-08 09:11:09 +13:00
Justin Kotalik 2e67864995 Merge branch 'release/2.1' into release/2.2 2019-01-07 10:27:41 -08:00
Pavel Krymets 6699fd056e
Add FilesToSign to all .cpp projects (#6443) 2019-01-07 10:05:12 -08:00
dotnet-bot 973b4b2fbf Merge in 'release/2.1' changes 2019-01-07 17:35:10 +00:00
Justin Kotalik 375e9d2cbd
Make music store project ref (#6313) 2019-01-07 09:34:05 -08:00
Luke Latham 75cea9a04c Add migrations to DP EntityFrameworkCoreSample (#6038)
Per discussion: https://github.com/aspnet/Docs/issues/9864
2019-01-07 08:50:35 -08:00
Nate McMaster dc206b747e
Ensure shared framework metadata files are generated on build (#6407) 2019-01-07 07:38:24 -08:00
Steve Sanderson 7cd7820274 Remove blazor template content projects from .sln. Can still run directly from commandline. 2019-01-07 10:17:41 +00:00
Martin Costello ca7c48c520 Fix ArgumentException from duplicate key (#6416) 2019-01-07 13:42:36 +13:00
James Newton-King 489735d390
Use test timeout logic from Microsoft.AspNetCore.Testing (#6433) 2019-01-07 13:39:59 +13:00
Kahbazi 0222d0c04d Merge remote-tracking branch 'aspnet/master' into IdentityUI/RenameButton 2019-01-05 22:19:25 +03:30
Nate McMaster edfb2ab8ab
Merge branch 'release/2.2' 2019-01-05 00:34:13 -08:00
Hao Kung 9e0c93b64b Update UserManager docs for spelling/clarity (#5952)
Port of https://github.com/aspnet/Identity/pull/1003
2019-01-04 17:32:26 -08:00
dotnet-bot 48a74801d3 Merge in 'release/2.2' changes 2019-01-05 00:26:34 +00:00
Pavel Krymets 47e8d56853
Use ProjectReference.TargetPath in installers (#6391) 2019-01-04 16:01:49 -08:00
Nate McMaster 0926b93b98
Ensure Identity.Views.{V3, V4}.dll are the AllItemsFullPathWithTargetPath group so they get copied across ProjectReferences 2019-01-04 14:20:13 -08:00
dotnet-bot 590fe38284 Merge in 'release/2.2' changes 2019-01-04 22:20:08 +00:00
Nate McMaster 9556cc133d
Merge branch 'release/2.1' into release/2.2 2019-01-04 14:17:28 -08:00
Ryan Nowak 9003c3cd75 PR Feedback
From:
2cb3964411..45adea0c6d (diff-9328b73f3a66921c3ef3fa8a4ce90031)
2019-01-04 13:38:32 -08:00
James Newton-King 98cce23c67
Add routing information to DeveloperExceptionPage (#6320) 2019-01-05 09:28:24 +13:00
Ajay Bhargav Baaskaran 50996e3da1
Add missed reference to Razor SDK in Mvc test website (#6367) 2019-01-04 11:22:25 -08:00
dotnet-bot da77274259 Merge in 'release/2.1' changes 2019-01-04 18:01:45 +00:00
Nate McMaster 436076fd55
Fix broken tests and VS solutions caused by source code reorganization and other build infra cleanup
Changes:
* Fix broken tests and VS solutions caused by source code reorganization
* Add a check to validate generated code and solutions on PRs
* backport some source code reorg to src/Identity
* Fix startvs.cmd if you've already run build.ps1
* Add PR checks for tests on Linux/macOS
* Skip broken Nginx tests
* Add conditions to skip IIS tests on non-Windows platforms
2019-01-04 10:00:26 -08:00
Doug Bunting d689eede36 Revert "Work around `CryptographicException`s thrown in some full framework test runs"
- no longer support .NET Framework

This reverts commit 192e8073ee
2019-01-04 09:56:06 -08:00
Doug Bunting 69b5ab9c01 React to JwtBearer removal from Microsoft.AspNetCore.App
nits:
- remove NET461 special case
- remove reference to transitive Mvc.Core dependency
2019-01-04 09:56:06 -08:00
Pavel Krymets 143a727113
Remove AspNetCoreModule virtual projects (#6317) 2019-01-04 09:40:40 -08:00
David Fowler c61639b4a4
Reduce HTTP/2 allocations (#6119)
- Remove per request allocations on the thread pool by implementing IThreadPoolWorkItem on Http2Stream
- Made generic version of Http2Stream to store the IHttpApplication instead of using a tuple
- Removed passing of IHttpApplication<TContext> everywhere
2019-01-04 08:33:57 -08:00
James Newton-King 51047ef9d6
Update solutions to use correct IIS project location (#6344) 2019-01-04 15:28:59 +13:00
Stephen Halter 6a5c0cf189
Manually time out H2SpecTests (#6366) 2019-01-03 16:31:53 -08:00
Doug Bunting 236ceb73c1 Remove Mvc.NoFun.sln 2019-01-03 16:13:34 -08:00
Justin Kotalik 3c04338891
Move PipeAdapters to System.IO.Pipelines namespace. (#6325) 2019-01-03 15:58:59 -08:00
Chris R 8b2be38b6b Merge branch 'JwtBearerOptionsSummary' 2019-01-03 15:25:22 -08:00
Stephen Halter b1f778bfb8
[Kestrel] Allow HTTP/2 stream drain timeout during trailers (#4070)
- Move all HTTP/2 stream state management into request parsing loop
2019-01-03 15:03:00 -08:00
Nate McMaster bfec2c14be
Merge branch 'release/2.2' 2019-01-03 12:18:01 -08:00
Doug Bunting be7dfa30af
Use InputFormatterException for another case (#6316)
- #4917

nits:
- test `ExceptionPolicy` logic in an input formatter
- remove old Mono workarounds in `SerializaterErrorTests`
- fix typo in `SerializableErrorTests` (not using theory data)
2019-01-03 11:02:07 -08:00
Doug Bunting c2df506894 Correct path to IIS Integration project
- react to 37291ea114
2019-01-03 10:51:47 -08:00
Justin Kotalik 910e5ad7e5
Reference InprocessTestSite in CreateDefaultBuilderApp and Disable Failing Tests (#6318) 2019-01-03 08:54:14 -08:00
N. Taylor Mullen afb92018f0 Produce log output for flakey test.
- For the flakey test replaced the default logger with Xunit's `ITestOutputHelper` in order to see what's going wrong when the flakey test will eventually fail.

aspnet/AspNetCore-Internal#1337
2019-01-02 20:48:38 -08:00
dotnet-bot 291b346201 Merge in 'release/2.2' changes 2019-01-03 00:55:40 +00:00
Pavel Krymets 0ae6cc8e88
Remove InplaceStringBuilder usages (#6163) 2019-01-02 15:50:19 -08:00
Justin Kotalik 3477daf3c4 Merge branch 'master' of https://github.com/aspnet/aspnetcore 2019-01-02 14:55:36 -08:00
Nate McMaster 65ff6e951a
Merge branch release/2.1 into release/2.2 2019-01-02 14:34:45 -08:00
dotnet-bot 90b2d60332 Merge in 'release/2.1' changes 2019-01-02 22:31:05 +00:00
Ajay Bhargav Baaskaran a10aff3a03
Specify correct global.json path for Razor.Design tests (#6311) 2019-01-02 14:30:01 -08:00
Pranav K 94dd5eff21 Fix incorrect Debug.Assert statements 2019-01-02 14:13:46 -08:00
Justin Kotalik 2d48eeb479 Feedback 2019-01-02 14:04:42 -08:00
Mazioudi Anas 5665d78ffe Correct documentation wording (#6220) 2019-01-02 13:41:44 -08:00
Hamza Assyad 6469851a12 Adding Amazon Cognito to the list of supported Identity providers (#6039) 2019-01-02 13:39:46 -08:00
Justin Kotalik 474f115c1f Merge remote-tracking branch 'origin/master' into merge/release/2.2-to-master 2019-01-02 12:57:48 -08:00
Justin Kotalik 68067b8aca Keep Platform targets 2019-01-02 11:50:36 -08:00
dotnet-bot df29851149 Merge in 'release/2.2' changes 2019-01-02 19:20:51 +00:00
Pranav K 199e3f14a2 Look at ApiConventionType attributes defined on base types
Fixes https://github.com/aspnet/AspNetCore/issues/4951
2019-01-02 10:36:47 -08:00
Nate McMaster 7e38b563bd
Merge branch 'release/2.1' to release/2.2 2019-01-02 10:29:38 -08:00
Doug Bunting f182b1adac Add sufficient projects to Mvc.NoFun.sln for it to build in VS
nit: ignore .vscode/ directories
2019-01-02 10:24:10 -08:00
Justin Kotalik 9ab501e3b1 Remove file that should be ignored 2019-01-02 10:21:19 -08:00
Justin Kotalik 6efb449c26 Merge release/2.2 into master 2019-01-02 10:17:34 -08:00
dotnet-bot e3f86f3631 Merge in 'release/2.2' changes 2019-01-02 17:58:35 +00:00
dotnet-bot 47d2a6722c Merge in 'release/2.1' changes 2019-01-02 17:57:44 +00:00
Nate McMaster d66537c7d1
Convert Azure hosting startup and integration projects to use ProjectRef (#6207) 2019-01-02 09:56:39 -08:00
Pranav K d52672748a Do not throw when a status code with a codefix appears multiple times in the method body
Fixes https://github.com/aspnet/AspNetCore/issues/4480
2019-01-02 09:51:20 -08:00
Nate McMaster 61e505c894
Merge branch 'release/2.1' into release/2.2 2019-01-02 08:58:22 -08:00
dotnet-bot 7d8eb101a8 Merge in 'release/2.2' changes 2019-01-02 16:46:58 +00:00
Ryan Nowak b1f4a7bafd Delete baseline files 2019-01-02 00:32:09 -08:00
Ryan Nowak 0dd1bf8cd3 Make the tests pass
- Remove baseline tests. Those live with tooling
- Unskip tests that should have been fixed years ago
- Fix rendering test infrastructure
2019-01-02 00:32:09 -08:00
Ryan Nowak bdb5982dbd Remove Blazor Compiler 2019-01-02 00:32:09 -08:00
Ryan Nowak 9e89a69a78 Update RazorCompilation.targets for new SDK 2019-01-02 00:32:09 -08:00
Ryan Nowak 4424594c9b Allow build to specify Razor SDK version 2019-01-02 00:32:09 -08:00
Ryan Nowak 688ab7fc49 Fix dotnet-blazor serve
This wasn't properly forwarding the base path to the configuration.
Basically nothing was setting RemainingArguments. We have a test project
that sets the base path, but it was never used when debugging locally.

I also cleaned this up a bit and changed it to use dotnet exec. This
allow you to debug the CLI and related server pipeline, but has the
tradeoff of not rebuilding.
2019-01-02 00:32:09 -08:00
Ryan Nowak 8cfa8ea64a chmod +x on build.sh 2019-01-02 00:32:09 -08:00
Pranav K 02a8afea3d Include dependencies in Mvc.sln 2019-01-01 07:49:22 +05:30
Nate McMaster 08dd1cd0ea
Fix build.cmd/sh for src/Mvc (#6208) 2018-12-31 15:51:13 -08:00
Justin Kotalik 6dcb847edf
Reference testsite.props in test asset (#6138) 2018-12-31 14:45:33 -08:00
Justin Kotalik d53686868c
Merge branch 'release/2.1' into release/2.2 2018-12-31 14:45:29 -08:00
Justin Kotalik 2b7a3a222a Build Windows Installers using the repo's main build script and repotasks (#6139)
Follow-up to #6078

This should solve race conditions in restoring .wixproj files.

Co-authored-by: Nate McMaster <natemcmaster@users.noreply.github.com>
Co-authored-by: Justin Kotalik <jkotalik@users.noreply.github.com>
2018-12-31 10:54:15 -08:00
David Fowler 4816bdcaad
Replace .Wait with await (#6191) 2018-12-30 11:19:05 -04:00
David Fowler 712b01d063
Prevent blocking threads (#6190)
- Call StopAsync and StartAsync on the Host and TestServer in more places
2018-12-30 02:31:30 -04:00
David Fowler 010c1f0c9f
Call StopAsync before disposing (#6189) 2018-12-30 01:36:30 -04:00
David Fowler b12c33dbc3
Replace ManualResetEvents with a TCS (#6173)
* Added TaskCreationOptions.RunContinuationsAsynchronously in a few places
2018-12-29 08:24:57 -04:00
David Fowler dd912850eb
Reduce allocations (#6132)
- Remove per request allocations by implementing IThreadPoolWorkItem on the IISHttpContext.
- Removed per operation allocations by using UnsafeQueueUserWorkItem in AsyncIOOperation.
- This should also reduce overhead by removing non-essential ExecutionContext propagation logic
2018-12-28 21:18:58 -04:00
Pavel Krymets a7b783724e
Fix ANCM environment variables bugs (#6083) 2018-12-28 15:48:20 -08:00
Kristian Hellang a25c7d95e3 Replace custom DateTimeFormatter with ToString("r") or TryFormat (#5695) 2018-12-28 10:01:34 -08:00
Justin Kotalik 7269dbb73f Merge branch 'master' of https://github.com/aspnet/aspnetcore 2018-12-27 11:12:33 -08:00
Ben Adams 0d9de4991e Transport.Sockets.IOQueue -> IThreadPoolWorkItem (#4601) 2018-12-27 10:46:53 -08:00
Ben Adams 8be8e0008d Avoid boxing context.Method (#5687) 2018-12-27 09:07:44 -08:00
Ben Adams cb1917aa59 Don't allocate in BeginChunkBytes (#5688) 2018-12-26 18:00:39 -08:00
Pavel Krymets 0eab4640d2
Disable cert validation in Https tests (#6133) 2018-12-26 15:34:24 -08:00
Justin Kotalik 0e84cf5d28 Remove non-ignored files from 2.1 2018-12-26 15:13:19 -08:00
Justin Kotalik e8d898dcd9 Merge branch 'release/2.2' 2018-12-26 14:21:28 -08:00
Ben Adams b87ac1d652 Use PopCount intrinsic (#5715) 2018-12-26 10:03:36 -08:00
Ajay Bhargav Baaskaran 4d0ff9967a Merge branch 'ajbaaska/merge-master' 2018-12-26 08:57:03 -08:00
Ajay Bhargav Baaskaran 5a19fde191 Skip failing test 2018-12-26 02:00:31 -08:00
Ben Adams 5a64688d8e Make some ThrowHelpers static (#5951) 2018-12-24 16:53:07 -08:00
Kahbazi 4332af9aa8 Rename forgot password button (#5413) 2018-12-24 21:31:14 +03:30
Pavel Krymets 7371d90222
Re-enable IIS tests (#6067) 2018-12-21 19:23:48 -08:00
Ajay Bhargav Baaskaran 3787fbf3a3 Merge branch 'release/2.2' 2018-12-21 18:29:32 -08:00
Pavel Krymets 85f1f3d893
Fix site extension ANCM layout (#6088) 2018-12-21 16:46:51 -08:00
dotnet-bot 13253dab22 Merge in 'release/2.1' changes 2018-12-21 23:30:46 +00:00
John Luo edcee859f0
Convert Identity to Reference (#6086)
* Convert Identity to Reference
* Remove Microsoft.AspNet.Identity.AspNetCoreCompat
2018-12-21 15:29:35 -08:00
dotnet-bot 0bf06d8cf2 Merge in 'release/2.2' changes 2018-12-21 22:15:53 +00:00
Justin Kotalik f111a2d73a Merge release/2.2 into master 2018-12-21 14:14:10 -08:00
dotnet-bot ae6d9d772f Merge in 'release/2.1' changes 2018-12-21 21:38:00 +00:00
Chris Ross c1c579e5f2 Disable Nginx tests (#6062) 2018-12-21 13:37:54 -08:00
Justin Kotalik 167695fad2
Port native project ref changes to 2.1 (#6071) 2018-12-21 13:36:57 -08:00
Nate McMaster f4bb260444
Merge branch release/2.1 into release/2.2 2018-12-21 13:24:33 -08:00
dotnet-bot 68bd2329e1 Merge in 'release/2.2' changes 2018-12-21 21:19:09 +00:00
Nate McMaster 21bdedbe4f
Merge release/2.1 into release/2.2 2018-12-21 12:38:10 -08:00
Ben Adams ef341c610f Use ref extensions as ref extensions (#6058) 2018-12-21 12:11:32 -08:00
dotnet-bot d13dd578f8 Merge in 'release/2.1' changes 2018-12-21 19:44:18 +00:00
Nate McMaster 3641761d18
Convert AADIntegration projects to ProjectRef (#6082) 2018-12-21 11:43:09 -08:00
Ajay Bhargav Baaskaran af2461d524 Merge branch 'release/2.1' into release/2.2 2018-12-21 11:38:25 -08:00
dotnet-bot 0ec3101fe1 Merge in 'release/2.2' changes 2018-12-21 19:03:24 +00:00
Justin Kotalik f1b125d69f
Restore IISIntegration Unit test project (#6068) 2018-12-21 11:02:18 -08:00
dotnet-bot 2ef7d55ef8 Merge in 'release/2.1' changes 2018-12-21 18:59:15 +00:00
Justin Kotalik 37291ea114
Fix IISIntegration folder structure (#6063) 2018-12-21 10:58:10 -08:00
Nate McMaster 354c636498
Update Windows installer projects to use ProjectReference (#6078)
Changes:
* Build installer projects in parallel.
* Use `ProjectReference` to ferry bits between installer projects.
* Don't build wixproj to a unified output directory. This was only done to simplify finding file paths to MSI's built by other projects, but ProjectRef solves that.
* Add a VS solution for working on wixproj and the associated C++ custom actions.
   * To make wixproj work in VS, I replaced default globs with listing .wxs and .wxl files in the wixproj file.
* Add a target to copy the installers to the artifacts directory according to the layout described in /docs/Artifacts.md
2018-12-21 09:44:31 -08:00
dotnet-bot 10953c65c7 Merge in 'release/2.1' changes 2018-12-21 08:12:24 +00:00
Justin Kotalik 80bb14c3ef
Change build components to C++ Win10 17134 SDK (#4603) 2018-12-21 00:11:06 -08:00
dotnet-bot f94a5f6fd0 Merge in 'release/2.1' changes 2018-12-21 07:52:15 +00:00
Justin Kotalik ce481c6c79
Make JavaScriptServices use ProjectReference (#5953) 2018-12-20 23:50:53 -08:00
Nate McMaster 2af766db49
Stop producing unused package archives (#6073)
The following package archives which are no longer used by partner teams. It is expected that these will be replaced by targeting packs.

* LZMA (was used by dotnet-cli)
* Package zips (ended up not getting used by anyone)
* Compat package zips (was used by Azure Web Apps)
2018-12-20 20:07:40 -08:00
alenros 92adad62e3 Cleanup doc comment grammar and some debugging leftovers (#6065) 2018-12-20 17:39:02 -08:00
Nate McMaster 92b40a4dbc
Restore accidental deletion of common.psm1 2018-12-20 17:34:06 -08:00
dotnet-bot 594e4c4c35 Merge in 'release/2.2' changes 2018-12-21 01:28:47 +00:00
Nate McMaster c3beb1f9b1
build.cmd/sh changes (#5958)
Update the build scripts to support building subfolders or subgroups of projects

* Add build scripts for ci
* Remove obsolete scripts
* Add flags like --test and --pack to control running just test or packaging
* Add flags like --managed and --native to control building sub-types of projects
* Remove KoreBuild bootstrapper flags
* Update to extensions 3.0.0-preview.18619.1 (needed to get a fix for aspnet/Extensions#815 to make this change work on MSBuild.exe)
2018-12-20 16:52:15 -08:00
Justin Kotalik d9cf76f63d Merge release/2.1 into 2.2 2018-12-20 16:51:06 -08:00
dotnet-bot 108fa3f911 Merge in 'release/2.1' changes 2018-12-21 00:28:36 +00:00
Ajay Bhargav Baaskaran 7f17d095d8
Convert Mvc to use Reference (#6047)
* Convert Mvc to use Reference

* Use ProjectReference for test assets
2018-12-20 16:27:32 -08:00
Pavel Krymets d73d6e8546
Fix GetDllDirectory on 2008 (#6066) 2018-12-20 16:02:04 -08:00
Pavel Krymets 45d1c054b2
Add IServerAddressesFeature support (#4685) 2018-12-20 15:29:49 -08:00
James Newton-King 5ab3c89be3
Add health checks routing extensions (#5127) 2018-12-21 11:18:44 +13:00
James Newton-King 28cf059a3d
Sort endpoint pattern with OrdinalIgnoreCase (#6059) 2018-12-21 10:47:37 +13:00
James Newton-King dbf1dca723
Fix HttpContext not being passed to constraints in link generation (#6045) 2018-12-21 10:19:03 +13:00
dotnet-bot 47325a6419 Merge in 'release/2.1' changes 2018-12-20 20:23:06 +00:00
Hao Kung efe9b95b14
Improve cdn test reliability (#6044) 2018-12-20 12:21:30 -08:00
James Newton-King 1ad77cf94e
Merge branch 'master' of https://github.com/aspnet/AspNetCore 2018-12-21 09:12:33 +13:00
noslaver 5475c6c6a3 removed IPEndPointParser (#6051) 2018-12-20 11:34:19 -08:00
James Newton-King 4b12d917ae
Merge branch 'release/2.2' 2018-12-21 07:57:52 +13:00
dotnet-bot 94a236e196 Merge in 'release/2.1' changes 2018-12-20 18:55:13 +00:00
Nate McMaster 686ce02cc8
Remove code for building an analyzers package that never shipped (#6053)
Microsoft.AspNetCore.Analyzers didn't ship in 2.1, and we don't have plans to every ship it in a 2.1.x release.
2018-12-20 10:53:42 -08:00
dotnet-bot 6772da9d90 Merge in 'release/2.2' changes 2018-12-20 18:35:02 +00:00
James Newton-King 4601a26ec2
Fix order in DFA matcher test (#5954) 2018-12-21 07:33:54 +13:00
Pavel Krymets 19c8980deb
Move SiteExtension sdk into AspNetCore (#6041) 2018-12-20 10:25:35 -08:00
James Newton-King 705bf63f1c
React to routing and update MVC dependencies (#6046) 2018-12-21 07:20:15 +13:00
Pavel Krymets 72830ea943
Set current directory by default (#4798) 2018-12-20 10:19:55 -08:00
Nate McMaster 163350e968
Remove Microsoft.Extensions.DiagnosticAdapter from the shared framework (#6042) 2018-12-19 16:39:50 -08:00
Nate McMaster c5a6284aa8
Remove JwtBearer and OIDC authentication from the shared framework
These are being pulled out of the shared framework and will ship as NuGet packages. These assemblies have a dependency on the IdentityModel APIs which do no yet fit the guidelines the shared framework.

cref aspnet/AspNetCore#3755
2018-12-19 14:53:12 -08:00
Chris Ross 03867f08ab
Use new generic host UseDefaultServiceProvider call (#5703) 2018-12-19 12:17:58 -08:00
Pavel Krymets 55b8818540
Move logging site extension (#4005) 2018-12-19 09:35:06 -08:00
Stephen Halter af1a6eca81 Add more timeouts to Http2TestBase (#5955) 2018-12-19 08:52:39 -08:00
dotnet-maestro-bot 7b77332441 [automated] Merge branch 'release/2.2' => 'master' (#5892) 2018-12-18 22:43:32 -05:00
dotnet-bot 66d35bd153 Merge in 'release/2.2' changes 2018-12-18 23:48:35 +00:00
Justin Kotalik de954ce702
Fixing IIS Tests (#5682) 2018-12-18 18:46:56 -05:00
Ajay Bhargav Baaskaran ffec555118 Added missed files 2018-12-18 15:35:38 -08:00
Ajay Bhargav Baaskaran b0b8986a19 Use shared source 2018-12-18 15:03:27 -08:00
Ajay Bhargav Baaskaran eeabafa68f Merge branch 'temp' into ajbaaska/merge-master 2018-12-18 14:44:25 -08:00
dotnet-bot d481817289 Merge in 'release/2.2' changes 2018-12-18 22:33:43 +00:00
James Newton-King 03cb4a6e14
Add missing dependencies to the MVC dependencies.props (#5714) 2018-12-19 11:32:23 +13:00
Ajay Bhargav Baaskaran cef4e1aceb Added correct test TFMs 2018-12-18 13:06:20 -08:00
Pavel Krymets e6e5d09369
Fix LoggedTest failures (#5525) 2018-12-18 12:59:14 -08:00
Ajay Bhargav Baaskaran 8ef37dfbca Merge branch 'release/2.2' 2018-12-18 12:56:29 -08:00
Ajay Bhargav Baaskaran 2a696f6a1c Merge branch 'release/2.2' 2018-12-18 12:50:01 -08:00
dotnet-bot 967f551968 Merge in 'release/2.2' changes 2018-12-18 20:38:50 +00:00
Stephen Halter 21ef9f3c39
Revert "Fix flakiness in RequestsCanBeAbortedMidRead (#4881)" (#5708)
This was never supposed be be merged into release/2.2 or master since both those branches include aspnet/KestrelHttpServer#2844.

This reverts commit 019ba081d3.
2018-12-18 12:37:25 -08:00
dotnet-bot fe0d8ca083 Merge in 'release/2.1' changes 2018-12-18 20:01:33 +00:00
John Luo 0cbc52ca15 Convert ServerTests to Reference and move to Server folder (#4686) 2018-12-18 14:59:47 -05:00
Nate McMaster 335c9be7b4
Update the artifacts directory organization and simplify publishing targets (#5701)
This simplifies the way that we publish files to our network drop share.

Changes:
* Instead of explicitly listing every file that needs to publish, use directories to classify packages and artifacts into different categories.
* Add documentation for the expected layout of artifacts/
* Remove the need for static analysis to determine which packages go to which project
* Add the MSBuild property "IsProductPackage" to .csproj files which ship as a package to NuGet.org.
2018-12-18 11:40:13 -08:00
dotnet-bot 9dda9a3e2a Merge in 'release/2.2' changes 2018-12-18 18:58:34 +00:00
Steve Sanderson ceb1c8e562
Refactor Components.Browser package (#5166)
* Add empty Microsoft.AspNetCore.Blazor project

* Reorganize Blazor-specific parts of .Components.Browser into Microsoft.AspNetCore.Blazor. Delete redundant Components-CSharp template (it now ships from Templating).

* Fix unit test

* Add missing assembly description

* Move WebAssemblyBlazorApplicationBuilder

* Rename BrowserHttpMessageHandler -> WebAssemblyHttpMessageHandler

* Delete obsolete BrowserServiceProvider. Rename BrowserRenderer -> WebAssemblyRenderer.

* Rename BrowserUriHelper -> WebAssemblyUriHelper

* Remove redundant ActivateMonoJSRuntime helper

* Fix namespace

* Remove redundant MicrosoftNETCoreAppPackageVersion override

* Update test namespaces
2018-12-18 12:32:57 +00:00
Ajay Bhargav Baaskaran 647fbbac7b Merge branch 'release/2.1' into ajbaaska/merge-22 2018-12-17 18:40:08 -08:00
Nate McMaster 0cd79cc4c1
Remove unused VS dependencies and old versions of .NET Core from dependencies (#5317)
As a result of removing Razor's VS projects and upgrading all projects to netcoreapp3.0, we no longer need dependency variable for .NET Core 1.x and 2.x and Visual Studio packages.

Changes:
* Remove 'StandardTestTfm'
* Remove variables for .NET Core 1.0, 1.1, 2.0, 2.1, and 2.2
* Remove VSIX variables
* Stop generating 'branding.props' - this hasn't been used in a while and is no longer needed
2018-12-17 16:28:33 -08:00
John Luo 62351067ff Merge remote-tracking branch 'origin/master' 2018-12-17 15:16:28 -08:00
John Luo b8db81898a Merge remote-tracking branch 'origin/master' 2018-12-17 15:16:21 -08:00
Doug Bunting f113a20dfd Remove remaining `CompatibilitySwitch<T>` properties
- #4866 3 of 3
- other than ignored parameters and properties, no vestige remains of alternate behaviours
- also remove `AllowAreas` use outside src/Mvc
- left the `IEnumerable<ICompatibilitySwitch>` implementations to avoid `breakingchanges.netcore.json` churn
  - made the implementations more consistent
- left one `ConfigureCompatibilityOptions<MvcOptions>` subclass: `MvcOptionsConfigureCompatibilityOptions`
- note `AllowShortCircuitingValidationWhenNoValidatorsArePresent` default now applies to `TryValidateModel(...)` etc.

nits:
- updated `CompatibilityVersion` doc comments
- "currently unused" -> "currently ignored" in doc comments from part 2
- took a few VS suggestions
- VS seems to have cleaned up some trailing whitespace in files I had opened but didn't manually change
2018-12-17 14:47:49 -08:00
Pavel Krymets db0c347c23
Change testassets location (#5416) 2018-12-17 14:45:40 -08:00
John Luo 98636fed6d Merge branch 'release/2.2' 2018-12-17 14:24:30 -08:00
Doug Bunting e717a8443e
Update last few projects to target `netcoreapp3.0` (#5128)
- #3754
- remove `#if`'s for multi-targeting where source is never multi-targeted
- left `StreamPipeReader`, `StreamPipeWriter` and their test classes alone because they're moving to CoreFx
2018-12-17 12:30:28 -08:00
dotnet-bot ff4db87283 Merge in 'release/2.1' changes 2018-12-17 20:11:45 +00:00
Ajay Bhargav Baaskaran b079041488
Convert Razor to use Reference (#4954) 2018-12-17 12:10:40 -08:00
James Newton-King 443b1449ff
Update Newtonsoft.Json to 12.0.1 and Newtonsoft.Json.Bson to 1.0.2 (#5122) 2018-12-18 08:55:37 +13:00
BrennanConroy d368da3df1 Fix IE11 split (#5056) 2018-12-17 10:47:01 -08:00
Artak Mkrtchyan 439a9598e8 Updated samples to referenced 3.4.0 version of Bootstrap 2018-12-17 09:55:54 -08:00
Artak Mkrtchyan 42afbd12d9 Updated Bootstrap v3 dependency 2018-12-17 09:55:54 -08:00
James Newton-King cc899e2be7
Move EndpointModel and IEndpointConventionBuilder to HTTP abstractions (#4274) 2018-12-17 18:38:49 +13:00
Doug Bunting 708dc5cb5a
Remove many `CompatibilitySwitch<T>` properties (#4628)
- #7156 2 of 3
- will leave the `IEnumerable<ICompatibilitySwitch>` implementations to avoid `breakingchanges.netcore.json` churn
- will leave one `ConfigureCompatibilityOptions<MvcOptions>` subclass: `MvcOptionsConfigureCompatibilityOptions`
- a few options remain as regular properties:
  - `ApiBehaviorOptions.SuppressMapClientErrors` (default `false`)
  - `MvcOptions.EnableEndpointRouting` (default `true`)
  - `MvcOptions.MaxValidationDepth` (default `32`)
  - `MvcJsonOptions.AllowInputFormatterExceptionMessages` (default `true`)

nits:
- move `IsEffectivePolicy(...)` check earlier in `AuthorizeFilter`
- correct a typo or two
2018-12-16 19:33:27 -08:00
Doug Bunting 826f950530 Delete src/MvcPrecompilation/**
- out-of-date and no longer shipped
- related to #3754
2018-12-16 18:29:51 -08:00
Chris Ross 6046ad27f6
Remove handle inheritance workaround Kestrel/#3040 (#5000) 2018-12-15 13:33:13 -08:00
dotnet-bot c3a269adc3 Merge in 'release/2.2' changes 2018-12-15 01:29:18 +00:00
John Luo da72ac62ba Merge remote-tracking branch 'origin/release/2.2' into release/2.2 2018-12-14 16:52:45 -08:00
dotnet-bot 918dc51a1f Merge in 'release/2.1' changes 2018-12-15 00:27:56 +00:00
Stephen Halter 019ba081d3
Fix flakiness in RequestsCanBeAbortedMidRead (#4881)
Addresses aspnet/AspNetCore-Internal#1521
2018-12-14 16:26:54 -08:00
dotnet-bot a6112bf0dd Merge in 'release/2.2' changes 2018-12-15 00:05:19 +00:00
Nate McMaster 3c09d644cc
Merge branch 'release/2.2' 2018-12-14 16:04:56 -08:00
Nate McMaster 9183145474
Fix package layout for ANCM packages (#5119) 2018-12-14 16:04:15 -08:00
Nate McMaster 02780bac26
Merge branch 'release/2.2' 2018-12-14 16:03:16 -08:00
John Luo f659f0acce Merge branch 'release/2.1' into release/2.2 2018-12-14 15:48:40 -08:00
dotnet-bot 97ee5cbcac Merge in 'release/2.1' changes 2018-12-14 22:50:26 +00:00
Justin Kotalik 68f0aff144 security to project ref (#4618) 2018-12-14 14:49:23 -08:00
Javier Calvarro Nelson 436b5461ad
[Components] Create a renderer to render components into HTML (#4463)
* Adds an HtmlRenderer to Microsoft.AspNetCore.Components
 * It renders the component into a list of strings.
 * It only handles synchronous rendering.
2018-12-14 21:28:05 +01:00
dotnet-bot 9b1be901d3 Merge in 'release/2.2' changes 2018-12-14 19:43:29 +00:00
Nate McMaster 6402a6a971
Fix aspnet/AspNetCore-Internal#1503 - ensure ANCM packages are code signed 2018-12-14 11:41:56 -08:00
Ryan Nowak a7f6154520 Workaround #4804
This is a workaround for a workaround that currently have in d16p1.

The Razor SDK maps all netcoreapp3.0 projects to MVC-2.1 at design time,
however this only really works if you have the Razor.Design package.
Since we have internal builds available that support MVC-3.0 we can just
manually hardcode the correct targeting of the project.
2018-12-14 11:15:32 -08:00
dotnet-bot 8b682dfe85 Merge in 'release/2.2' changes 2018-12-14 19:01:05 +00:00
James Newton-King 6dc28d8a4e
Update CORS middleware to use endpoint metadata (#4460) 2018-12-15 07:51:22 +13:00
Steve Sanderson 6187e628af
linking to some existing docs (#4592) 2018-12-14 18:50:57 +00:00
Steve Sanderson ec9676f51e
Make component parameter analyzer allow public getters. Imported from Blazor PR 1702. (#4594) 2018-12-14 18:50:45 +00:00
Nate McMaster feb641ddda
Merge branch 'release/2.1' into release/2.2 2018-12-14 09:44:15 -08:00
Steve Sanderson d30c407dd0
Support IServiceProviderFactory in WebAssemblyHostBuilder (imported from Blazor PR 1623) (#4785) 2018-12-14 17:37:14 +00:00
Chris Ross 54c1122582
Change HTTP projects to target netcoreapp3.0 #3754 (#4625) 2018-12-14 09:36:57 -08:00
Steve Sanderson 343208331d
Replace AssignToProperties with SetParameterProperties, which also clears unspecified parameter properties (imported from Blazor PR 1108) (#4797) 2018-12-14 17:07:07 +00:00
Steve Sanderson 3757908b14
Fallback for Components router (imported from Blazor PR 1534) (#4794) 2018-12-14 17:06:47 +00:00
Steve Sanderson e768a78c2b
Ensure ComponentBase async lifecycle methods return non-null task (imported from Blazor PR 1620) (#4790) 2018-12-14 17:06:30 +00:00
Steve Sanderson 8a9df6c873
HttpClientJsonExtensions better handling for failed requests (imported from Blazor PR 1660) (#4788) 2018-12-14 17:06:03 +00:00
Steve Sanderson 93127b39e8
Overload UriHelper to forceLoad the page (imported from Blazor PR 1154) (#4786) 2018-12-14 17:05:45 +00:00
Steve Sanderson 8fbb9fb0e6
Add support for binding decimal? double? float? long? int? bool? (imported from Blazor PR 1658) (#4600) 2018-12-14 17:05:22 +00:00
Steve Sanderson 1e404a5acf
fix for dispose (#4596) 2018-12-14 17:04:41 +00:00
Steve Sanderson 71bcac06ad
fixing type of property Detail based on standard. (#4595) 2018-12-14 17:04:26 +00:00
dotnet-bot 6133fa4dd6 Merge in 'release/2.1' changes 2018-12-14 16:37:44 +00:00
Nate McMaster 13ae0057fb
Replace .Sources package references with local code (#4801)
Replaces package references the following packages with local code:

Microsoft.AspNetCore.Certificates.Generation.Sources
Microsoft.Extensions.CopyOnWriteDictionary.Sources 
Microsoft.Extensions.ClosedGenericMatcher.Sources
Microsoft.Extensions.ObjectMethodExecutor.Sources
Microsoft.Extensions.PropertyActivator.Sources
Microsoft.Extensions.PropertyHelper.Sources
Microsoft.Extensions.RazorViews.Sources
Microsoft.Extensions.SecurityHelper.Sources
Microsoft.Extensions.StackTrace.Sources
Microsoft.Extensions.WebEncoders.Sources
2018-12-14 08:36:36 -08:00
Ryan Nowak 341636b05d Convert Razor to netcoreapp3.0 2018-12-14 08:17:27 -08:00
dotnet-bot 45dca6d8d4 Merge in 'release/2.2' changes 2018-12-14 09:22:46 +00:00
James Newton-King dd662ed2a7
Fix compiling Mvc.sln in 2.2 (#4955) 2018-12-14 22:21:44 +13:00
dotnet-bot 3b0d1253e1 Merge in 'release/2.2' changes 2018-12-14 08:57:43 +00:00
Nate McMaster 206db0558e
Update buildtools and add properties to skip IIS tests 2018-12-13 23:36:42 -08:00
Nate McMaster f0990ec531
Fix build issues with IIS integration projects
Changes:
* Ensure IIS managed and pkg projects build after the native projects
* Update projects to build test
* Update CI checks to build on macOS and Linux
* Use package baselines to manage ANCM packages
2018-12-13 22:53:31 -08:00
Nate McMaster 4998ad8622
Merge branch 'merge/release/2.1-to-release/2.2' into release/2.2 (#4619) 2018-12-13 22:24:21 -08:00
Justin Kotalik 6adfa32402
Merge branch 'release/2.1' into release/2.2 2018-12-13 22:12:19 -08:00
BrennanConroy 74dbb4ff4f
Register callback before start (#4581) 2018-12-13 21:30:48 -08:00
BrennanConroy 4950495dc4
Fix IE 11 handshake split (#4575) 2018-12-13 21:30:17 -08:00
Ajay Bhargav Baaskaran 59ada30959 Merge branch 'ajbaaska/merge-22-to-master' 2018-12-13 17:34:41 -08:00
Mikael Mengistu 42afc62acf
Update src/Middleware/CORS/test/FunctionalTests/CorsMiddlewareFunctionalTest.cs
Co-Authored-By: ajaybhargavb <ajaybhargavb@gmail.com>
2018-12-13 16:51:00 -08:00
Nate McMaster 538af1091c
Update src/Middleware/CORS/test/FunctionalTests/CorsMiddlewareFunctionalTest.cs
Co-Authored-By: ajaybhargavb <ajaybhargavb@gmail.com>
2018-12-13 16:39:37 -08:00
Nate McMaster 6e3e48d456
Update src/Middleware/CORS/test/FunctionalTests/CorsMiddlewareFunctionalTest.cs
Co-Authored-By: ajaybhargavb <ajaybhargavb@gmail.com>
2018-12-13 16:39:27 -08:00
Ben Adams b2731d652d .IndexOf(...) >= 0 to .Contains(...) (#4688) 2018-12-14 12:40:09 +13:00
Cédric Luthi 4a9a96cef7 Make the ResultStatusCodes property null-resettable 2018-12-13 14:09:21 -08:00
Cédric Luthi 74d900ea56 Add setter to HealthCheckOptions.ResultStatusCodes
All other properties (`Predicate`, `ResponseWriter` and `AllowCachingResponses`) have a setter but `ResultStatusCodes` doesn't.

Without a setter, reusing the same status to http status code mapping is impossible and leads to duplicate code that looks like this:

```csharp
private static void ConfigureHealthChecks(IApplicationBuilder app, HealthCheckServiceOptions options)
{
    app.UseHealthChecks("/health", new HealthCheckOptions
    {
        ResultStatusCodes =
        {
            [HealthStatus.Healthy] = StatusCodes.Status200OK,
            [HealthStatus.Degraded] = StatusCodes.Status400BadRequest,
            [HealthStatus.Unhealthy] = StatusCodes.Status503ServiceUnavailable
        }
    });
    foreach (var name in options.Registrations.Select(e => e.Name))
    {
        app.UseHealthChecks($"/health/{name}", new HealthCheckOptions
        {
            Predicate = registration => registration.Name == name,
            ResultStatusCodes =
            {
                [HealthStatus.Healthy] = StatusCodes.Status200OK,
                [HealthStatus.Degraded] = StatusCodes.Status400BadRequest,
                [HealthStatus.Unhealthy] = StatusCodes.Status503ServiceUnavailable
            }
        });
    }
}
```

With a setter, this code could be rewritten in a *don't repeat yourself* (DRY) way:

```csharp
private static void ConfigureHealthChecks(IApplicationBuilder app, HealthCheckServiceOptions options)
{
    var resultStatusCodes = new Dictionary<HealthStatus, int>
    {
        [HealthStatus.Healthy] = StatusCodes.Status200OK,
        [HealthStatus.Degraded] = StatusCodes.Status400BadRequest,
        [HealthStatus.Unhealthy] = StatusCodes.Status503ServiceUnavailable
    };
    app.UseHealthChecks("/health", new HealthCheckOptions
    {
        ResultStatusCodes = resultStatusCodes
    });
    foreach (var name in options.Registrations.Select(e => e.Name))
    {
        app.UseHealthChecks($"/health/{name}", new HealthCheckOptions
        {
            Predicate = registration => registration.Name == name,
            ResultStatusCodes = resultStatusCodes
        });
    }
}
```
2018-12-13 14:09:21 -08:00
Ajay Bhargav Baaskaran 0ecc6bc0b5 Merge branch 'release/2.2' into ajbaaska/merge-22-to-master 2018-12-13 12:06:48 -08:00
dotnet-bot 345fee0149 Merge in 'release/2.1' changes 2018-12-13 19:40:20 +00:00
John Luo a026e7a4e7
Convert MetaPackages to Reference and move to DefauldBuilder folder (#4687)
* Convert ServerTests to Reference and move to Server folder

* Fix NU1105
2018-12-13 11:39:15 -08:00
Kahbazi a8ae16e0cb Change JwtBearerOptions.Audience comment (#4646) 2018-12-13 11:08:12 +03:30
John Luo 6d2f2483d2
Remove obsolete session apis (#4609)
* Remove obsolete session apis

* Add breaking changes json updates
2018-12-12 17:35:40 -08:00
dotnet-bot f5b36aa8f2 Merge in 'release/2.1' changes 2018-12-13 01:15:45 +00:00
Chris Ross a3c99028b2
Fix HttpSys Caching_SendFileWithFullContentLength_Cached test (#4630) 2018-12-12 17:14:46 -08:00
dotnet-bot f1bfecfa03 Merge in 'release/2.2' changes 2018-12-12 22:37:18 +00:00
Mikael Mengistu 9e76bec6e1
Fix CORS Functional Tests (#4610) 2018-12-12 14:36:14 -08:00
dotnet-bot e8c63f6cf9 Merge in 'release/2.1' changes 2018-12-12 22:00:56 +00:00
Justin Kotalik 429719b91d
Make IISIntegration use Reference instead of PackageReference (and reactionary work) (#4311) 2018-12-12 16:59:44 -05:00
Chris Ross 49d5525352
Change Hosting projects to target netcoreapp3.0 #3754 (#4611) 2018-12-12 13:34:57 -08:00
James Newton-King ac1b5c58b0
Fix NU1105 errors in HttpAbstractions.sln (#4608) 2018-12-13 10:15:01 +13:00
dotnet-bot 6de24d6d2c Merge in 'release/2.2' changes 2018-12-12 21:00:13 +00:00
Ajay Bhargav Baaskaran ad3835c3e2
Removed unnecessary projects (#4586) (#4612) 2018-12-12 12:59:04 -08:00
Chris Ross a08f4b5a83
ResponseCompression DisposeAsync BasicMiddleware/#247 (#4604) 2018-12-12 11:32:36 -08:00
dotnet-bot 3a21d78ce6 Merge in 'release/2.1' changes 2018-12-12 18:42:13 +00:00
Ajay Bhargav Baaskaran 98f2973880
Removed unnecessary projects (#4586) 2018-12-12 10:41:06 -08:00
Justin Kotalik 226f2c0c2c
Adds MinimumReadThreshold to StreamPipeReader. (#4372) 2018-12-12 13:09:15 -05:00
Chris Ross 12966c63a6
Change DataProtection projects to target netcoreapp3.0 #3754 (#4473) 2018-12-12 10:04:36 -08:00
Chris Ross 6d442c1e3d
Upgrade Kestrel to target netcoreapp3.0 #3754 (#4405) 2018-12-12 08:16:00 -08:00
Nate McMaster 87629bbad9
Update Middleware.sln and Kestrel.sln to workaround NU1105 error 2018-12-11 18:19:36 -08:00
Nate McMaster d12827e609
Merge branch 'release/2.2' 2018-12-11 18:04:58 -08:00
Kahbazi 19276ce01c Remove nameof from log events 2018-12-12 07:19:32 +05:30
Mikael Mengistu ff385f71c5
Check connectionState in stop so we don't null ref (#4557) 2018-12-11 16:22:06 -08:00
dotnet-bot d11a6c823f Merge in 'release/2.2' changes 2018-12-12 00:14:21 +00:00
dotnet-maestro-bot 38785d0be9 [automated] Merge branch 'release/2.1' => 'release/2.2' (#4577)
* Workaround problems when opening solution files in Visual Studio (#4569)

Changes:

* Condense Routing.sln into HttpAbstractions.sln
* Workaround NU1105 by adding all ProjectReferences to the .sln
* Workaround exceptions in the ReferencesHostBridge by moving Reference items to a temporary item group
* Add a 'startvs.cmd' script for launching VS with the right env variables
* Remove RangeHelper test project
* Move RangeHelper tests into StaticFiles.Tests and add target for NPM restore

* Convert Session to use Reference and move to Middleware folder (#4576)

* Add RoutingSample.Web to HttpAbstractions.sln
2018-12-11 16:13:20 -08:00
Nate McMaster 0f9ad16b09
Add 2.1.7 package archive baselines 2018-12-11 15:58:50 -08:00
Chris Ross 97cdbfb1a1
Change middleware projects to target netcoreapp3.0 #3754 (#4472) 2018-12-11 15:41:36 -08:00
dotnet-bot 156f1e823b Merge in 'release/2.1' changes 2018-12-11 22:59:22 +00:00
Nate McMaster 719ff08409
Add RoutingSample.Web to HttpAbstractions.sln 2018-12-11 14:58:05 -08:00
dotnet-bot 8876e90846 Merge in 'release/2.1' changes 2018-12-11 22:57:48 +00:00
John Luo 3acdfb3d26
Convert Session to use Reference and move to Middleware folder (#4576) 2018-12-11 14:56:42 -08:00
dotnet-bot 8825a726c1 Merge in 'release/2.1' changes 2018-12-11 22:06:26 +00:00
Nate McMaster 5151e7b1ed
Workaround problems when opening solution files in Visual Studio (#4569)
Changes:

* Condense Routing.sln into HttpAbstractions.sln
* Workaround NU1105 by adding all ProjectReferences to the .sln
* Workaround exceptions in the ReferencesHostBridge by moving Reference items to a temporary item group
* Add a 'startvs.cmd' script for launching VS with the right env variables
* Remove RangeHelper test project
* Move RangeHelper tests into StaticFiles.Tests and add target for NPM restore
2018-12-11 14:05:21 -08:00
Chris Ross 7fdd930f50
Change IIS projects to target netcoreapp3.0 (#4371)
* Change IIS projects to target netcoreapp3.0 #3754
2018-12-11 13:46:46 -08:00
Chris Ross 99901fbad5
Move Identity.Core and Identity.Stores to NetCoreApp3.0 #3754 (#4523) 2018-12-11 10:23:01 -08:00
Martin Perry f8410b491b Merge 2018-12-11 14:10:48 +00:00
Martin Perry 4dd230d086 Resolve conflicts 2018-12-11 13:34:15 +00:00
Martin Perry d887b74104 Pick 2018-12-11 12:39:18 +00:00
Martin Perry b7f106eaf1 Update React-Redux client app to use TypeScript instead of JavaScript 2018-12-11 12:29:14 +00:00
Steve Sanderson 24840e3465
Razor Components template (#4333) 2018-12-11 11:40:42 +00:00
James Newton-King 0c9eda1f4a
Update templates to use endpoint routing (#4500) 2018-12-11 18:24:14 +13:00
James Newton-King c6fa808a91
Change consumes behavior to ignore requests with no content type (#4459) 2018-12-11 17:55:20 +13:00
Nate McMaster dc718f6602
Merge branch 'merge/release/2.2-to-master' 2018-12-10 18:18:52 -08:00
Nate McMaster 790ae47055
Merge branch 'release/2.2' 2018-12-10 17:41:14 -08:00
John Luo 97d918e03a
Do 0-byte reads on MacOS (#4560)
Underlying corefx issue has been fixed
2018-12-10 17:25:18 -08:00
Ryan Nowak 61d33bed27 Fix failing routing tests 2018-12-10 17:17:58 -08:00
dotnet-bot 985d49c566 Merge in 'release/2.2' changes 2018-12-11 00:44:52 +00:00
Nate McMaster 2c4d586809
Merge 'release/2.1' into release/2.2
Co-authored-by: Justin Kotalik <jukotali@microsoft.com>
2018-12-10 15:56:42 -08:00
Artak Mkrtchyan 00fb0d6c14 Updated some depdencies 2018-12-10 15:36:07 -08:00
John Luo 644d8470f7
Crossgen linux-arm shared framework (#4009)
Also disambiguate between different corssgen executables
2018-12-10 10:56:39 -08:00
Adrian D. Alvarez 838bb11c1e Adjust font-weight in diagnostics error page to make it easier to read (#4534) 2018-12-10 08:35:37 -08:00
Tornike Kharaishvili d73d95f1d4 CookieSecurePolicy documentation update (#3670) (#4542) 2018-12-09 20:29:40 -08:00
Pranav K 926034ac4e
Re-enable extensibility points for ExpressionHelper.GetExpressionText, ExpressionMetadataProvider.FromStringExpression (#4494)
* Re-enable extensibility points for ExpressionHelper.GetExpressionText, ExpressionMetadataProvider.FromStringExpression

Fixes https://github.com/aspnet/Mvc/issues/8724
2018-12-08 13:54:05 +05:30
Pranav K 027bf336da
Add event names for logs (#6818) (#4495)
* Add event names for logs (#6818)
2018-12-08 13:00:16 +05:30
dotnet-bot 6169f4dd59 Merge in 'release/2.1' changes 2018-12-07 23:46:01 +00:00
Mikael Mengistu 4c5debd6ea
Skip Autobahn test (#4488) 2018-12-07 15:44:59 -08:00
Nate McMaster c612eb8730
Merge branch 'release/2.2' 2018-12-07 14:50:17 -08:00
dotnet-bot 4b9a884a35 Merge in 'release/2.1' changes 2018-12-07 22:31:49 +00:00
Justin Kotalik 5f843f223e
[2.1] Make Antiforgery, ResponseCaching, StaticFiles, and Cors use project ref (#4484) 2018-12-07 14:30:50 -08:00
dotnet-bot 5e9b60a573 Merge in 'release/2.2' changes 2018-12-07 21:49:04 +00:00
Nate McMaster 5017afa0ad
Merge branch 'release/2.1' to release/2.2 2018-12-07 12:45:42 -08:00
dotnet-bot 212f701d31 Merge in 'release/2.2' changes 2018-12-07 20:22:15 +00:00
dotnet-bot ab8039e2dc Merge in 'release/2.1' changes 2018-12-07 20:21:15 +00:00
dotnet-maestro-bot c331a7be14 Rewrite HttpSys response caching tests #1475 (#4486) (#4511) 2018-12-07 12:21:12 -08:00
Nate McMaster df3e4b98a2
Backport infrastructure cleanup to share sources and project references (#4513) 2018-12-07 12:20:13 -08:00
Nate McMaster 85e2147ff0
Merge branch 'release/2.2' 2018-12-07 11:11:44 -08:00
Chris Ross f1aacdbaa8
Remove Microsoft.Owin.Security.Interop and Microsoft.AspNet.Identity.AspNetCoreCompat (#4479) 2018-12-07 09:59:36 -08:00
dotnet-bot 84b41b6f52 Merge in 'release/2.1' changes 2018-12-07 17:22:37 +00:00
Chris Ross ae11d5d62e
Rewrite HttpSys response caching tests #1475 (#4486) 2018-12-07 09:21:33 -08:00
Joni 60d9615f00 Add space after period to the routing log message 2018-12-07 08:16:03 -08:00
Pranav K 8a0fa732b0 Make RequiredAttributeAdapter public
Fixes https://github.com/aspnet/Mvc/issues/8744
2018-12-07 17:49:10 +05:30
dotnet-bot 44f04c8b4d Merge in 'release/2.2' changes 2018-12-07 01:43:13 +00:00
Nate McMaster 569a14ecb8
Merge branch 'release/2.1' into release/2.2 2018-12-06 17:09:03 -08:00
BrennanConroy f52882b6aa Changing streaming things 2018-12-06 15:57:50 -08:00
DylanDmitri 34bb352189 streaming from client to server 2018-12-06 15:57:50 -08:00
Pavel Krymets 24e17eadca
Add a flag to set current directory in ANCM InProc (#4369) 2018-12-06 15:19:47 -08:00
James Newton-King 50ea144c57
Update MVC dependencies (#4477) 2018-12-07 11:01:47 +13:00
dotnet-bot ab620a2a0d Merge in 'release/2.1' changes 2018-12-06 20:22:15 +00:00
Nate McMaster 5c2a701b38
Remove conditional targetframeworks from routing projects (#4476) 2018-12-06 12:21:05 -08:00
Ryan Nowak e3773b6383 Remove Razor tooling projects
Removes the Razor compiler/tooling projects from this repo
2018-12-06 07:47:00 -08:00
James Newton-King a07be53033
Rename UseEndpointRouting to UseRouting (#4416) 2018-12-06 21:26:10 +13:00
dotnet-bot dfb6f0941d Merge in 'release/2.1' changes 2018-12-06 06:15:42 +00:00
Nate McMaster 50bea05918
Refactor Routing to use ProjectReference and move into src/Http folder (#4441)
Changes:

* Stop producing Microsoft.AspNetCore.Routing.DecisionTree.Sources. I could not find any usages outside of the Microsoft.AspNetCore.Routing assembly, so I've moved this to be a subfolder of code in the Microsoft.AspNetCore.Routing project.
* Stop building src/Routing as a submodule. Use ProjectReference instead
* Move projects from src/Routing into src/Http/Routing/ and src/Http/Routing.Abstractions/
* Update package baselines and dependencies to support building routing projects and samples
2018-12-05 22:14:22 -08:00
Nate McMaster 00cf0a4d7d Fix compiler errors 2018-12-05 18:10:53 -08:00
dotnet-bot 5fbec5fbb3 Merge in 'release/2.1' changes 2018-12-06 01:02:05 +00:00
Justin Kotalik 0588b13f5b Fix 2.1 build issues and remove obsolete build code (#4443)
- Stop producing the 'Universe' lineup package
- Removes all PackageLineup code
- Use full msbuild on Windows
- Fix invalid reference to internal.aspnetcore.sdk in 2.1.x
- Fix shared folder references for PackageArchive task.
2018-12-05 17:01:02 -08:00
Doug Bunting 929d7f3306 Obsolete old `CompatibilityVersion` values
- #7156 part 1 of ?
- add `CompatibilityVersion.Version_3_0` and make it the default
- remove tests of old versions
  - also remove `CompatibilityVersion.Version_2_x` uses outside src/Mvc
  - for functional tests of legacy routing, use `MvcOptions.EnableEndpointRouting` to control behaviour
  - rename `StartupWith2xCompat...` classes to `StartupWithoutEndpointRouting`
- clean up comments mentioning `[Obsolete]` `CompatibilityVersion` values
  - many of the affected options will be removed in subsequent PRs but this cleanup helps when searching entire repo
- correct `<value>` comments in `ApiBehaviorOptions`

nits:
- take VS suggestions in changed files
- remove src/SiteExtensions/global.json and let file in repo root "win"
- fix a few grammar errors VS or the spell checker noticed
- move `<value>` elements before `<remarks>` for consistency
  - was undoing unintentional changes and noticed the inconsistency in a couple of additional files
2018-12-05 16:46:46 -08:00
dotnet-bot 19511ed4e9 Merge in 'release/2.2' changes 2018-12-06 00:30:18 +00:00
Nate McMaster c430342dee
Ensure Internal.AspNetCore.Sdk does not end up in the LZMA (#4448) 2018-12-05 16:29:12 -08:00
Nate McMaster 7fad55f6b6
Revert "Update basic middleware projects to netcoreapp3.0"
This partially reverts commit e0bbda07fc.
2018-12-05 16:08:54 -08:00
Nate McMaster 3e571eb519
Temporarily revert Microsoft.AspNetCore.HttpOverrides to netstandard2.0 (#4446)
We're running into issues getting IIS tests on netcoreapp3.0. This unblocks the build and gives us more time to work on #4371
2018-12-05 16:01:14 -08:00
BrennanConroy a08dc959c0
Linux needs correct file path casing (#4442) 2018-12-05 15:28:43 -08:00
BrennanConroy c487f019f5
Collect transport fallback errors to provide better errors (#4293) 2018-12-05 14:27:07 -08:00
Sébastien Ros a51ff6e6ad
Updating benchmark apps for netcoreapp3.0 (#4433) 2018-12-05 12:42:14 -08:00
Justin Kotalik e9c4c935f6
Remove FlushResultCancellationTests as it isn't relevant (#4435) 2018-12-05 12:05:05 -08:00
BrennanConroy 63e2beb749
Fix benchmarks in SignalR (#4436) 2018-12-05 11:41:43 -08:00
Doug Bunting 6a8d7dc12c
Fix Mvc test failures (#4415)
* Regenerate Mvc functional test baselines
  - whitespace likely changed due to a recent Razor change (but there've been so many!)

* Don't trim response content in `RazorPagesTest.Page_SimpleForms_RenderAntiforgery()`
  - was inconsistent with generated baseline and `Trim()` in similar tests is generally not needed or correct

* Skip test method causing remaining two src/Mvc failures
  - #4417 opened to restore these tests
2018-12-05 11:30:09 -08:00
dotnet-bot b19997eff8 Merge in 'release/2.2' changes 2018-12-05 18:12:44 +00:00
Justin Kotalik 0646bb98b0
Call Flush With fMoreData=false when response isn't allowed to have body (#4403) 2018-12-05 10:11:36 -08:00
Nate McMaster c95ee2b051
Merge branch 'master' into namc/merge-2.2 2018-12-05 10:09:38 -08:00
Nate McMaster cbecf84bd5
Revert "Remove Razor tooling projects" (#4423)
This reverts commit 3cfa6c0526 (aspnet/AspNetCore#4411) which broke the build.
2018-12-05 10:07:49 -08:00
Nate McMaster e0bbda07fc
Update basic middleware projects to netcoreapp3.0 2018-12-05 10:06:29 -08:00
Andrew Stanton-Nurse 1b9e655536 Add SignalR Daily Tests scripts (#4336) 2018-12-05 10:04:23 -08:00
Nate McMaster 4c6bbe5a01
Merge the master branch of aspnet/Identity 2018-12-05 09:00:11 -08:00
Nate McMaster e9fb6d2db6
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 4a717c8563
2018-12-05 08:59:26 -08:00
Nate McMaster 82184e9710
Merge the master branch of aspnet/Localization 2018-12-05 08:56:31 -08:00
Nate McMaster 08e243f982
Merge the master branch of aspnet/BasicMiddleware 2018-12-05 08:55:51 -08:00
Nate McMaster 62f9655a2f
Merge branch 'release/2.2' 2018-12-05 08:54:38 -08:00
Nate McMaster be3b66d1d1
Revert "Remove Razor tooling projects"
This reverts commit 3cfa6c0526.
2018-12-05 08:40:49 -08:00
Pavel Krymets 2e56f056d0
Re-enable IISIntegration tests (#4377) 2018-12-05 08:24:12 -08:00
Steve Sanderson 5c1fbe1af7
Run Components on netcoreapp3.0 (#4391) 2018-12-05 14:46:26 +00:00
Ryan Nowak 3cfa6c0526 Remove Razor tooling projects
Removes the Razor compiler/tooling projects from this repo
2018-12-04 19:58:37 -08:00
Hans van Bakel 98e5c8c0b3 Update OpenIdConnectOptions.cs (#4408) 2018-12-04 18:24:10 -08:00
dotnet-bot 69a0641c53 Merge in 'release/2.2' changes 2018-12-05 02:13:55 +00:00
Stephen Halter f6e691f26a Move InMemory.FunctionalTests to own TestGroup
It looks like some shutdown timeouts are cause by CPU starvation
2018-12-04 17:54:42 -08:00
dotnet-bot 9915395424 Merge in 'release/2.1' changes 2018-12-05 00:45:13 +00:00
Justin Kotalik 736083c2f2
Make HttpSys use ProjectReference and move HttpSys into Servers folder (#4335) 2018-12-04 16:44:07 -08:00
Nate McMaster 495e4fe4f7
Merge branch 'release/2.2' 2018-12-04 16:03:47 -08:00
N. Taylor Mullen c0b74d916c Add build.cmd to Mvc 2018-12-04 15:35:30 -08:00
N. Taylor Mullen 0728754d08 Update Mvc slns to be builidlable. 2018-12-04 15:35:30 -08:00
dotnet-bot b0826ab179 Merge in 'release/2.1' changes 2018-12-04 23:31:58 +00:00
Chris R 7bb42126bc Upgrade HttpSys to target netcoreapp3.0 #3754 2018-12-04 15:13:44 -08:00
James Newton-King 6fc7e532f1
Update MVC dependencies (#4395) 2018-12-05 12:04:47 +13:00
Nate McMaster 11fdf9b50a
Fix bad merge of .csproj and update Middleware.sln 2018-12-04 14:59:11 -08:00
Nate McMaster 2c376ebc0c
Merge the release/2.2 branch of aspnet/Identity 2018-12-04 14:49:11 -08:00
Nate McMaster c5bc96d601
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 4b3d8e5106
2018-12-04 14:45:54 -08:00
Nate McMaster e261ca5426
Merge release/2.2 from aspnet/Localization 2018-12-04 14:25:25 -08:00
Nate McMaster 7e823a05ec
Merge release/2.2 from aspnet/BasicMiddleware 2018-12-04 14:24:42 -08:00
Nate McMaster 1be2b427de
Merge branch 'release/2.1' into release/2.2 2018-12-04 14:23:24 -08:00
Nate McMaster b140962a5f
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 268290a8b5
2018-12-04 14:13:34 -08:00
Nate McMaster 44ec52ebfe
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 2d3ad1cb0f
2018-12-04 14:10:25 -08:00
Nate McMaster ec41d9bcf6
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in c283dfb56c
2018-12-04 14:00:42 -08:00
Nate McMaster d8c434febe
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in de1579bdda
2018-12-04 13:57:22 -08:00
James Newton-King e310ccac7b
Update static files sample to use AuthZ middleware (#4279) 2018-12-05 06:43:39 +13:00
Chris R fef468aad1 Change Antiforgery projects to target netcoreapp3.0 #4343 2018-12-04 09:37:30 -08:00
Victorio Berra 7e7018608d Fix spelling in AzureAppServicesHostingStartup.cs (#4390) 2018-12-04 09:13:53 -08:00
Nate McMaster 61e9b3eae9
Merge Identity, Localization and BasicMiddleware 2018-12-04 09:02:03 -08:00
Steve Sanderson c7d6364900 Enable src/Components to build (#4367)
Fix aspnet/AspNetCore-Internal#1443
2018-12-03 16:38:28 -08:00
Javier Calvarro Nelson f6b4d65218
[Diagnostics] Fix Diagnostics middleware errors (#4271)
Removes setting two forbidden headers.
2018-12-04 01:18:31 +01:00
BrennanConroy 361eaf0b87
Use npm ci (#4378) 2018-12-03 15:55:28 -08:00
Nate McMaster a6b5bb16fd
Merge source code from aspnet/Identity 2018-12-03 15:54:12 -08:00
Nate McMaster c6459614c7
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in fa3cfd08eb
2018-12-03 15:52:23 -08:00
James Newton-King f157b78d93 MVC reaction to RoutePattern required values 2018-12-04 12:14:35 +13:00
James Newton-King 96cd055e05 Support RoutePattern required values in matcher and link generator 2018-12-04 12:14:35 +13:00
dotnet-bot f89d98f241 Merge in 'release/2.1' changes 2018-12-03 22:06:28 +00:00
Martin Stenhoff 142b6a73ec Fix links in JavaScriptServices README.md (#4361) 2018-12-03 12:54:14 -08:00
Tugberk Ugurlu b0c6bca441 Update Antiforgery README (#4353) 2018-12-03 12:53:16 -08:00
Chris R 81bc0b1ca8 Fix test asset casing in Hosting funcational tests 2018-12-03 12:50:48 -08:00
dotnet-bot 342d55bef6 Merge in 'release/2.2' changes 2018-12-03 20:13:50 +00:00
James Newton-King b2b16253af
Add routing to web host (#4358) 2018-12-04 08:22:23 +13:00
Chris R d73e3b20b8 Merge remote-tracking branch 'origin/release/2.1' into tratcher/testhost/2.2
# Conflicts:
#	eng/targets/Packaging.targets
#	src/Hosting/TestHost/test/ClientHandlerTests.cs
#	src/Middleware/WebSockets/test/ConformanceTests/Microsoft.AspNetCore.WebSockets.ConformanceTests.csproj
2018-12-03 09:26:57 -08:00
Chris R d852e10293 Hosting/#839 UseConfiguration with a config section 2018-12-03 09:09:09 -08:00
Chris R c0381de983 Change Middleware projects to target netcoreapp3.0 #3754 2018-12-03 09:06:00 -08:00
BrennanConroy 80ae51ead8
Rename Json protocol to NewtonsoftJson (#4319) 2018-12-03 08:59:44 -08:00
BrennanConroy d10205f309
Fix 3.0 benchmarks (#4323) 2018-12-03 08:58:15 -08:00
dotnet-bot 3a74f325e2 Merge in 'release/2.1' changes 2018-12-01 00:43:26 +00:00
Mikael Mengistu d9a953dfeb
Autobahn test suite fix(#4302) 2018-11-30 16:42:23 -08:00
Chris R 355982c92b Change StaticFiles projects to target netcoreapp3.0 #3754 2018-11-30 16:12:19 -08:00
Pavel Krymets 03d3e1868e
Make IISDefaults.AuthenticationScheme const (#4342) 2018-11-30 15:23:02 -08:00
Nate McMaster 7078102961
Update targets and projects to build Localization projects 2018-11-30 15:13:05 -08:00
Nate McMaster 7e0f561425
Merge source code from aspnet/Localization 2018-11-30 15:11:31 -08:00
Nate McMaster d93796fdef
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 0bcac31dd7
2018-11-30 14:58:51 -08:00
Nate McMaster 04fc8ae493
Update targets and projects to build BasicMiddleware projects 2018-11-30 14:44:17 -08:00
Nate McMaster 0843320e3e
Merge source code from aspnet/BasicMiddleware 2018-11-30 14:42:07 -08:00
Chris R 2b8c3db3b0 Remove obsolete ServerAddress type Kestrel/#2988 2018-11-30 14:28:52 -08:00
Nate McMaster 2f2cec4ace
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 1de636cd18
2018-11-30 14:21:50 -08:00
Chris R 30c8e4b1b0 #3754 Update projects and packages to netcoreapp3.0 2018-11-30 11:52:45 -08:00
Nate McMaster def3dc0f2b
Merge branch 'release/2.2' 2018-11-30 11:15:26 -08:00
Justin Kotalik c06a06d16b
Add StreamPipeReader (#4182) 2018-11-30 09:55:45 -08:00
dotnet-bot 1f8e00993c Merge in 'release/2.1' changes 2018-11-30 17:53:17 +00:00
dotnet-bot ebe1bea714 Merge in 'release/2.2' changes 2018-11-29 23:05:26 +00:00
BrennanConroy 7dc01b6928 Fix 2.2 benchmarks (#4322) 2018-11-29 15:04:24 -08:00
N. Taylor Mullen 0326abe530 Use MVC 2.1 at design time for Razor 3.0 projects. (#4324)
- When we detect a design time build we force tooling to use 2.1
- In runtime builds (i.e. rzc) it still uses the 3.0 configuration for 3.0 apps.
2018-11-29 12:41:29 -08:00
David Fowler 1b46549ec4
Specify invocation ids are unique per connection (#4316)
Make it clear that invocation ids are unique per connection
2018-11-29 10:13:09 -08:00
dotnet-bot da7f95dfa2 Merge in 'release/2.2' changes 2018-11-29 17:26:57 +00:00
BrennanConroy e435fd1d23
Fix accidental skipped tests (#4301) 2018-11-29 09:25:52 -08:00
Nate McMaster 26dfce1f3c
Disable building src/Components and fix its code signing configuration (#4299) 2018-11-28 15:29:25 -08:00
Ryan Brandenburg 8a37389a9f Fix RepositoryUrl for some repos 2018-11-28 14:54:47 -08:00
Pavel Krymets f077da5a8b
Add shared runtime items in a target (#4297) 2018-11-28 13:41:32 -08:00
Ajay Bhargav Baaskaran 31f53d44b5 Refactored Html parser - part 1 2018-11-28 13:28:14 -08:00
Ajay Bhargav Baaskaran 46242b307c
Added build scripts for Razor (#4298) 2018-11-28 13:27:41 -08:00
Ryan Nowak 1aace2b6c7 Fix DevDiv 736427
When a user builds a 2.1 or 2.2 project with a 3.0 they can get an error
due to invalid command line options from rzc. What happens is that the
3.0 tasks (which are a singleton) are talking to the 2.X build tool
(which is NOT a singleton).

Recently some changes were make to the 3.0 tasks which caused this bug
because it did not properly accomodate downlevel versions of rzc. We
have an integration test for this scenario for but the regression was
not detected, so obviously something is wrong with the test setup. I'll
investigate that separately.
2018-11-28 12:42:54 -08:00
Ryan Brandenburg 321327f84b Merge branch 'master' of github.com:aspnet/AspNetCore into rybrande/MondoMaster 2018-11-28 12:28:04 -08:00
Chris R 63b26d42d2 Replace ManualResetEvent with TaskCompletionSource in TestHost tests 2018-11-28 11:00:22 -08:00
Ryan Brandenburg 4c4cda5fc3 Make gradlew executable 2018-11-28 10:12:35 -08:00
Ryan Brandenburg ba1bb521bc Add korebuild.json back to SignalR and Razor 2018-11-28 09:33:49 -08:00
Steve Sanderson 53fbdb8243
Update Components readme (#4282) 2018-11-28 10:32:57 +00:00
Steve Sanderson 62dd8f4bd9
Merge in Components from Blazor repo 2018-11-28 08:15:48 +00:00
dotnet-bot 93b26d0cc4 Merge in 'release/2.2' changes 2018-11-28 02:33:02 +00:00
Mikael Mengistu 079107aa92 Make gradlew executable (#4275) 2018-11-27 18:31:57 -08:00
Ryan Brandenburg 77001e40f2 Merge remote-tracking branch 'Razor/rybrande/masterToSrc' into rybrande/MondoMaster 2018-11-27 15:47:57 -08:00
Ryan Brandenburg b541eca8d9 Merge remote-tracking branch 'MvcPrecompilation/rybrande/masterToSrc' into rybrande/MondoMaster 2018-11-27 15:47:49 -08:00
Ryan Brandenburg f31ad5f9bf Merge remote-tracking branch 'SignalR/rybrande/masterToSrc' into rybrande/MondoMaster 2018-11-27 15:47:41 -08:00
Ryan Brandenburg b465db3f53 Merge remote-tracking branch 'Mvc/rybrande/masterToSrc' into rybrande/MondoMaster 2018-11-27 15:47:27 -08:00
Ryan Brandenburg 64e97a3604 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 582f3f867e
2018-11-27 15:43:05 -08:00
Ryan Brandenburg 523d82c69a Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 3cd4de8af8
2018-11-27 15:39:43 -08:00
Ryan Brandenburg a6b473dc2c Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in c9887e027a
2018-11-27 15:36:38 -08:00
Pavel Krymets 5116838807
Change package path to a directory (#4269) 2018-11-27 15:35:59 -08:00
Ryan Brandenburg c88b650c5a Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in c852bdcc33
2018-11-27 15:29:29 -08:00
Ryan Brandenburg fa1af0e5a5 Merge remote-tracking branch 'origin/release/2.2' into rybrande/MondoMaster 2018-11-27 15:04:40 -08:00
Steve Sanderson cef3782c3b Components merge CR feedback 2018-11-27 22:12:24 +00:00
Steve Sanderson 42c1ceb3cf Fix package output path 2018-11-27 22:11:50 +00:00
Ryan Brandenburg e46623e256 Merge remote-tracking branch 'Razor/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-27 12:26:29 -08:00
Ryan Brandenburg 9c3fee5fea Merge remote-tracking branch 'MvcPrecompilation/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-27 12:26:22 -08:00
Ryan Brandenburg 4d9b60d0ad Merge remote-tracking branch 'Mvc/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-27 12:26:05 -08:00
Ryan Brandenburg c51e6aad29 Merge remote-tracking branch 'SignalR/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-27 12:25:27 -08:00
Ryan Brandenburg 6f80eeda29 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 8ba0a89425
2018-11-27 12:16:27 -08:00
Ryan Brandenburg 589db8b413 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 032768b063
2018-11-27 12:12:19 -08:00
Ryan Brandenburg b659c82df6 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in a6199bbfba
2018-11-27 12:09:17 -08:00
Ryan Brandenburg 1992701808 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in d0bcdf3dd9
2018-11-27 12:06:02 -08:00
dotnet-bot b8a0023106 Merge in 'release/2.1' changes 2018-11-27 20:01:17 +00:00
Chris R 70483af8dd Create Hosting.sln to fix tests 2018-11-27 11:58:52 -08:00
Ryan Brandenburg 6603195a10 Merge remote-tracking branch 'origin/release/2.1' into rybrande/Mondo2.2 2018-11-27 11:57:39 -08:00
dotnet-bot 76823911eb Merge in 'release/2.1' changes 2018-11-27 19:54:08 +00:00
Ryan Brandenburg beb142701e Merge branch 'release/2.1' of github.com:aspnet/AspNetCore into rybrande/Mondo2.1 2018-11-27 11:52:30 -08:00
dotnet-bot 1716c7bd02 Merge in 'release/2.2' changes 2018-11-27 19:45:47 +00:00
Justin Kotalik 95d8b39e96
Revert "Target right version of ANCM nuget package (#4194)" (#4262) 2018-11-27 11:45:08 -08:00
Justin Kotalik 4d856dd279
Revert "Target right version of ANCM nuget package (#4194)" (#4261) 2018-11-27 11:44:47 -08:00
dotnet-bot 0ee512f55c Merge in 'release/2.1' changes 2018-11-27 19:26:29 +00:00
Stephen Halter b6eb6dd819 Merge remote-tracking branch 'origin/release/2.2' 2018-11-27 11:14:05 -08:00
Steve Sanderson b4dbbdcf35 Components merge CR feedback 2018-11-27 18:58:34 +00:00
Ryan Brandenburg 137bf3dde7 Merge remote-tracking branch 'Razor/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-27 10:57:43 -08:00
Ryan Brandenburg 54e9e55535 Merge remote-tracking branch 'MvcPrecompilation/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-27 10:57:37 -08:00
Ryan Brandenburg 35d2f10a20 Merge remote-tracking branch 'Mvc/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-27 10:57:22 -08:00
Ryan Brandenburg 5eae7ec020 Merge remote-tracking branch 'SignalR/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-27 10:57:13 -08:00
Ryan Brandenburg 1b461749cb Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in fd4572874e
2018-11-27 10:52:49 -08:00
Ryan Brandenburg 0ea7940af5 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 617586a984
2018-11-27 10:49:05 -08:00
Ryan Brandenburg f4578f127c Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 5a4fd3e792
2018-11-27 10:43:55 -08:00
Ryan Brandenburg 20330961ba Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in bc148a0724
2018-11-27 10:40:07 -08:00
Steve Sanderson 16c11b4c87 Integrate src/Components into mondorepo build system 2018-11-27 17:17:34 +00:00
Ryan Nowak c9887e027a Simplify parameter transformer usage 2018-11-27 09:01:55 -08:00
Steve Sanderson a1c35284e1 Merge remote-tracking branch 'blazor/stevesa/migration-to-mondorepo' into stevesa/merge-components-repo 2018-11-27 11:29:12 +00:00
Steve Sanderson 523fa285f2 Rename BlazorServerSide-CSharp template to Components-CSharp 2018-11-27 11:16:07 +00:00
Steve Sanderson 07e2d5420c Move all Components sources into src/Components 2018-11-27 11:03:30 +00:00
Stephen Halter dabf5d8ba9 [2.1] [Kestrel] Move AddressRegistrationTests to own TestGroup 2018-11-26 18:28:23 -08:00
Nate McMaster a0d1b8882b
Fix for ArgumentException thrown due to empty user secrets ID (#4240) 2018-11-26 17:11:58 -08:00
Stephen Halter 6a3d0fc1da
[Kestrel] Re-enable trace-level test logging (#4075) 2018-11-26 16:20:43 -08:00
Ryan Brandenburg 02ca469ea1 Merge branch 'master' of github.com:aspnet/AspNetCore into rybrande/Mondo22ToMaster 2018-11-26 16:00:44 -08:00
dotnet-bot f10e07b745 Merge in 'release/2.2' changes 2018-11-26 23:59:58 +00:00
Chris Ross (ASP.NET) f7d1e98623 Create Hosting.sln and add Logging.Testing depedendency to fix tests 2018-11-26 15:58:17 -08:00
Steve Sanderson 429888cc6d Attempt to fix build flakiness using "npm ci" 2018-11-26 21:47:44 +00:00
dotnet-bot a382a8eb03 Merge in 'release/2.2' changes 2018-11-26 21:45:57 +00:00
dotnet-bot 0954a15458 Merge in 'release/2.1' changes 2018-11-26 21:44:29 +00:00
Justin Kotalik 5a1ff478da
Add reference to M.A.Hosting (#4237) 2018-11-26 12:44:48 -08:00
Ryan Brandenburg 7aefd16eed Merge remote-tracking branch 'Security/rybrande/masterToSrc' into rybrande/Mondo22ToMaster 2018-11-26 12:35:26 -08:00
Ryan Brandenburg 01b58c9a3d Merge remote-tracking branch 'Routing/rybrande/masterToSrc' into rybrande/Mondo22ToMaster 2018-11-26 12:35:21 -08:00
Ryan Brandenburg a498d273e7 Merge remote-tracking branch 'ResponseCaching/rybrande/masterToSrc' into rybrande/Mondo22ToMaster 2018-11-26 12:35:16 -08:00
Ryan Brandenburg a84b7d242b Merge remote-tracking branch 'HttpSysServer/rybrande/masterToSrc' into rybrande/Mondo22ToMaster 2018-11-26 12:35:07 -08:00
Ryan Brandenburg 5e9617a5ab Merge remote-tracking branch 'CORS/rybrande/masterToSrc' into rybrande/Mondo22ToMaster 2018-11-26 12:34:50 -08:00
Ryan Brandenburg 4429575b50 Merge remote-tracking branch 'Antiforgery/rybrande/masterToSrc' into rybrande/Mondo22ToMaster 2018-11-26 12:34:43 -08:00
Ryan Brandenburg e60e74e2bb Merge remote-tracking branch 'origin/release/2.2' into rybrande/Mondo22ToMaster 2018-11-26 12:32:17 -08:00
Chris Ross e8fbd910a5
Remove Kestrel.Https from Microsoft.AspNetCore (#4236) 2018-11-26 12:21:00 -08:00
Ryan Brandenburg 30572ac74a Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 26d27d871b
2018-11-26 12:19:01 -08:00
Ryan Brandenburg 6afc6c11a9 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in c28c7dea4e
2018-11-26 12:16:11 -08:00
Ryan Brandenburg 25ae8871e0 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 12395b4d1c
2018-11-26 12:13:11 -08:00
Ryan Brandenburg 70dcf6c286 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in d4f5886582
2018-11-26 12:11:10 -08:00
Ryan Brandenburg 1a42d7413d Merge branch 'master' of github.com:aspnet/CORS into rybrande/masterToSrc 2018-11-26 12:09:52 -08:00
Ryan Brandenburg b94e30d1b7 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in c39d85f6df
2018-11-26 12:08:28 -08:00
Ryan Brandenburg 251f924a31 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 8124442320
2018-11-26 12:05:56 -08:00
Ryan Brandenburg dc11b1b9de Merge branch 'release/2.2' of github.com:aspnet/AspNetCore into rybrande/Mondo2.2 2018-11-26 11:51:27 -08:00
Nate McMaster c8da5ed085
Remove conditional target frameworks on HealthChecks sample (#4235) 2018-11-26 11:50:19 -08:00
Steve Sanderson 163d6f7c54 Decouple migrating code from non-migrating code (#1725)
* Stop referencing BlazorBuildToolsExe in .Browser.JS

* Have Components projects always reference .Blazor.Mono as a package, not from source

* Finish decoupling of .Browser.JS from Blazor.BuildTools

* Fix reference resolver unit test to find Mono BCL in .Blazor.Mono package

* Remove typo

* Have .Browser.JS consume jsinterop only via an NPM package reference

* Reference JSInterop .NET libraries only via NuGet package references, not directly from source

* Update dependency resolver unit test

* Update package name in package-lock.json

* When bundling jsinterop DLL into Build package, don't re-sign it (treat it as external)
2018-11-26 18:52:09 +00:00
Chris Ross (ASP.NET) c88c1f96f4 KestrelHttpServer/#3101 Remove empty Microsoft.AspNetCore.Server.Kestrel.Https assembly 2018-11-26 10:03:03 -08:00
Steve Sanderson 682e8e6573 Ensure TPN is included in new packages 2018-11-26 10:53:12 +00:00
Steve Sanderson 6e7ea6a5c9 Code migration phase 3 - Move Mono binaries to their own package (#1718)
* Rename "mono" project to Microsoft.AspNetCore.Blazor.Mono

* Include binary content in Microsoft.AspNetCore.Blazor.Mono

* Reference Mono binaries in Blazor.Mono project instead of Components.Build
2018-11-23 13:31:43 +00:00
Nate McMaster a5d06f35b1
Remove Roslyn from the shared framework (#4225)
Reacting to aspnet/Mvc#8755
2018-11-22 12:56:34 -08:00
Steve Sanderson 362160ade6 Fix Razor tooling following package rename 2018-11-22 15:52:42 +01:00
Nate McMaster a2c8537dd8 Remove the custom nuspec for Microsoft.AspNetCore.Mvc.Razor (#8758)
* Remove the custom nuspec for Microsoft.AspNetCore.Mvc.Razor
2018-11-22 06:34:22 -08:00
Steve Sanderson e15ea86ae8 Code migration part 2: Renames (#1708) 2018-11-22 13:19:11 +01:00
Pranav K f80490f99d
Remove runtime compilation from Mvc.Razor (#8755)
* Remove runtime compilation from Mvc.Razor
* Remove RazorViewEngineOptions.FileProviders
2018-11-21 17:14:12 -08:00
Nate McMaster f67acd67a2
Update test projects to netcoreapp3.0 2018-11-21 16:50:09 -08:00
Nate McMaster 6c60e0260c
Merge branch 'master' from aspnet/Diagnostics 2018-11-21 16:38:27 -08:00
Ryan Brandenburg a5da5612bd Merge remote-tracking branch 'Security/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-21 16:36:06 -08:00
Ryan Brandenburg ee050a4725 Merge remote-tracking branch 'Routing/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-21 16:35:57 -08:00
Ryan Brandenburg 7860280dd9 Merge remote-tracking branch 'ResponseCaching/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-21 16:35:46 -08:00
Ryan Brandenburg 33a5544c90 Merge remote-tracking branch 'HttpSysServer/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-21 16:35:36 -08:00
Ryan Brandenburg 396bb7a2d8 Merge remote-tracking branch 'CORS/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-21 16:35:26 -08:00
Ryan Brandenburg 68eafa9d3c Merge remote-tracking branch 'Antiforgery/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-21 16:35:18 -08:00
Ryan Brandenburg 1ee4e2b936 Merge remote-tracking branch 'origin/release/2.1' into rybrande/Mondo2.2 2018-11-21 16:33:42 -08:00
Nate McMaster 006558c412
Merge branch 'release/2.2' 2018-11-21 16:28:33 -08:00
Ryan Brandenburg 7ee9dac67f Merge branch 'release/2.1' of github.com:aspnet/AspNetCore into rybrande/Mondo2.1 2018-11-21 16:26:13 -08:00
Nate McMaster cb198d727b
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 082d505977
2018-11-21 16:21:23 -08:00
Ryan Brandenburg ca8ce2e58d Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 93926543f8
2018-11-21 16:13:09 -08:00
Nate McMaster b2d4f8f2f1
Merge branch 'namc/merge-diag' into release/2.2 2018-11-21 16:11:17 -08:00
Ryan Brandenburg d18558c3ab Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 3d828221a1
2018-11-21 16:10:55 -08:00
Ryan Brandenburg c593daa1f9 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 9f49398f28
2018-11-21 16:03:25 -08:00
Ryan Brandenburg bd3a77ec8e Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 3e08bf8833
2018-11-21 16:02:22 -08:00
Ryan Brandenburg e8849f6626 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in f05b0e792d
2018-11-21 16:01:19 -08:00
Ryan Brandenburg d5f14412c2 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 9e5146cff9
2018-11-21 15:59:55 -08:00
Ryan Brandenburg 101303eceb Fix RepositoryUrls 2018-11-21 15:55:40 -08:00
Justin Kotalik 89330075b4
Target right version of ANCM nuget package (#4194) 2018-11-21 15:42:55 -08:00
Nate McMaster 8ce7bb7f16
Add HealthChecks to Middleware.sln 2018-11-21 15:39:10 -08:00
Nate McMaster 925746158e
Merge the release/2.2 branch of Diagnostics 2018-11-21 15:36:05 -08:00
Nate McMaster 16212ae6df
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in c802d5ef5f
2018-11-21 15:22:25 -08:00
Ryan Brandenburg db7b28d475 Merge remote-tracking branch 'Security/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-21 15:17:40 -08:00
Ryan Brandenburg ff3891fa7a Merge remote-tracking branch 'Routing/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-21 15:17:30 -08:00
Ryan Brandenburg c8e271e8ac Merge remote-tracking branch 'ResponseCaching/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-21 15:17:21 -08:00
Ryan Brandenburg 5c0097bf69 Merge remote-tracking branch 'HttpSysServer/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-21 15:17:11 -08:00
Ryan Brandenburg af2f57386e Merge remote-tracking branch 'CORS/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-21 15:17:00 -08:00
Ryan Brandenburg 3e59973378 Merge remote-tracking branch 'Antiforgery/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-21 15:16:52 -08:00
Ryan Nowak 582f3f867e Injest new Roslyn and do netstandard2.0/net472 2018-11-21 15:15:36 -08:00
Ryan Brandenburg f7b51eedda Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 930ed239e4
2018-11-21 15:12:11 -08:00
Ryan Brandenburg 3840ca4451 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 58b66f7cbb
2018-11-21 15:09:05 -08:00
Ryan Brandenburg ce2f7908e4 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 777b2fbf7e
2018-11-21 15:06:37 -08:00
Ryan Brandenburg 03db4faa68 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in d8d1f36f28
2018-11-21 15:05:23 -08:00
Ryan Brandenburg 2374a67d55 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in ec429447bf
2018-11-21 15:03:35 -08:00
Ryan Brandenburg 42a93c8153 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 93b496090e
2018-11-21 15:01:46 -08:00
Ryan Brandenburg 9fc5a5b841 Merge remote-tracking branch 'origin/release/2.2' into rybrande/Mondo22ToMaster 2018-11-21 14:57:58 -08:00
Nate McMaster 71b1bb8887
Merge branch 'release/2.1' into release/2.2 2018-11-21 14:57:45 -08:00
Ryan Brandenburg c80604a7da
Fix directory structure (#4201)
Fix directory structure
2018-11-21 14:55:25 -08:00
Nate McMaster 6a6c88d80b
Merge source code from aspnet/Diagnostics to this repo 2018-11-21 14:23:55 -08:00
Nate McMaster ed0b421695
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 8893337fb0
2018-11-21 13:54:33 -08:00
Ryan Brandenburg 2dfe427c33 Fix RepositoryUrl 2018-11-21 12:14:50 -08:00
Ryan Brandenburg 4e93ff7835 Merge branch 'master' of github.com:aspnet/AspNetCore into rybrande/Mondo22ToMaster 2018-11-21 12:13:13 -08:00
Ryan Brandenburg 4075c10733 Merge remote-tracking branch 'Session/rybrande/masterToSrc' into rybrande/Mondo22ToMaster 2018-11-21 12:05:57 -08:00
Ryan Brandenburg b519951572 Merge remote-tracking branch 'StaticFiles/rybrande/masterToSrc' into rybrande/Mondo22ToMaster 2018-11-21 12:05:51 -08:00
Ryan Brandenburg dac9378e31 Merge remote-tracking branch 'ServerTests/rybrande/masterToSrc' into rybrande/Mondo22ToMaster 2018-11-21 12:05:41 -08:00
Ryan Brandenburg 1182293e8b Merge remote-tracking branch 'origin/release/2.2' into rybrande/Mondo22ToMaster 2018-11-21 12:03:58 -08:00
BrennanConroy c852bdcc33
Avoid zero-byte send in WebSockets (#3326) 2018-11-21 11:47:39 -08:00
Nate McMaster 5e8e24ec88
Set RepositoryUrl to aspnet/AspNetCore 2018-11-21 11:32:49 -08:00
Ryan Brandenburg c0fb3d2278 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 67aa19aea7
2018-11-21 11:27:50 -08:00
Ryan Brandenburg 7b891fc3d1 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in b732ef662e
2018-11-21 11:25:55 -08:00
Ryan Brandenburg b5894e6b5b Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in e3c711f538
2018-11-21 11:23:53 -08:00
Ryan Brandenburg 1ac92426ab Merge remote-tracking branch 'Session/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-21 11:15:09 -08:00
Ryan Brandenburg 7b708c291c Merge remote-tracking branch 'StaticFiles/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-21 11:15:02 -08:00
Ryan Brandenburg 7a9e1f9ec9 Merge remote-tracking branch 'ServerTests/rybrande/release22ToSrc' into rybrande/Mondo2.2 2018-11-21 11:14:50 -08:00
Ryan Brandenburg bfffb3c31e Merge remote-tracking branch 'origin/release/2.1' into rybrande/Mondo2.2 2018-11-21 11:11:35 -08:00
Ryan Brandenburg feb5e3ac9b Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 774079d60d
2018-11-21 11:02:38 -08:00
Ryan Brandenburg c391301dce Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in a5fcd9dd87
2018-11-21 10:59:42 -08:00
Ryan Brandenburg 04096c9225 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 04c6c6bab8
2018-11-21 10:58:10 -08:00
Pranav K 8d629371bf Add support for 2-phase compile 2018-11-21 10:38:23 -08:00
Ryan Brandenburg e6b3a5b79b Merge remote-tracking branch 'Session/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-21 10:05:41 -08:00
Ryan Brandenburg 93238389a7 Merge remote-tracking branch 'StaticFiles/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-21 10:05:32 -08:00
Ryan Brandenburg c75177033a Merge remote-tracking branch 'ServerTests/rybrande/release21ToSrc' into rybrande/Mondo2.1 2018-11-21 10:05:22 -08:00
Ryan Brandenburg 95928c0c64 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in d20c2c8f04
2018-11-21 10:02:17 -08:00
Ryan Brandenburg 98bbdf6e34 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 2b285667a8
2018-11-21 10:00:40 -08:00
Ryan Brandenburg 9ba11244f2 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 019ba1722e
2018-11-21 09:58:26 -08:00
Ryan Brandenburg e808301e38 Merge branch 'master' of github.com:aspnet/AspNetCore into rybrande/Mondo22ToMaster 2018-11-21 09:54:05 -08:00
Nate McMaster 40ef11cf54
Fix UserSecretsIdAttribute generation when using FrameworkReference to Microsoft.AspNetCore.App (#4177)
When only Microsoft.AspNetCore.App is referenced, the project will no longer have MSBuild imports from the Microsoft.Extensions.Configuration.UserSecrets package, which takes care of generating the UserSecretsIdAttribute. This ensures the attribute is still generated in default project templates without needing a new package ref to Config.UserSecrets.
2018-11-21 09:12:06 -08:00
Kirill Osenkov f9623c2c27 Hardcode two constants from Microsoft.VisualStudio.ImageCatalog.dll
This removes the runtime reference to ImageCatalog which is not available on VS for Mac.
2018-11-21 08:14:17 -08:00
Steve Sanderson 0da8150794 Code migration, step 1 (#1706)
* Rename Microsoft.AspNetCore.Blazor dir to .Components

* Rename Microsoft.AspNetCore.Blazor.Browser dir to .Components.Browser

* Rename Microsoft.AspNetCore.Blazor.Browser.JS dir to .Components.Browser.JS

* Rename Microsoft.AspNetCore.Blazor.TagHelperWorkaround dir to .Components.TagHelperWorkaround

* Unbreak signing

* Rename Microsoft.AspNetCore.Blazor.Analyzers dir to .Components.Analyzers

* Rename Microsoft.AspNetCore.Blazor.Server dir to .Components.Server

* Rename Microsoft.AspNetCore.Blazor.Razor.Extensions dir to .Components.Razor.Extensions

* Rename Microsoft.AspNetCore.Blazor.Build dir to .Components.Build

* Rename Microsoft.AspNetCore.Blazor.Test dir to .Components.test

* Rename Microsoft.AspNetCore.Blazor.Server.Test dir to .Components.Server.Test

* Rename Microsoft.AspNetCore.Blazor.Razor.Extensions.Test dir to .Components.Razor.Extensions.Test

* Rename Microsoft.AspNetCore.Blazor.Analyzers.Test dir to .Components.Analyzers.Test

* Rename Microsoft.AspNetCore.Blazor.Browser.Test dir to .Components.Browser.Test

* Rename Microsoft.AspNetCore.Blazor.Build.Test dir to .Components.Build.Test

* Rename Microsoft.AspNetCore.Blazor.E2ETest dir to .Components.E2ETest

* Fix typo

* Unbreak VSIX build

* Fix .Build unit tests

* Move Blazor benchmarks into blazor subdir

* Rename .Blazor.Performance dir to .Components.Performance

* Move some samples within .sln

* Move StandaloneApp sample to blazor subdir

* Move MonoSanity sample to blazor subdir

* Move HostedInAspNet sample to blazor subdir

* Update paths to samples

* Move .BuildTools and .Cli sources to blazor subdir

* Move tooling to blazor subdir

* Move templates to blazor subdir

* Restore Directory.Build.props behaviors in blazor\src

* Move mono to blazor subdir

* Update folder structure in .sln

* Fix VSIX

* Empty commit to reawaken CI

* Fix manual standalone app startup
2018-11-21 16:17:33 +01:00
Nate McMaster 0cbfa9ce6d
Update branding to 3.0.0-preview (#4171)
Changes:
* This uses date-based versioning
* Builds are `3.0.0-preview-$(buildnumber)`, not alpha1 or preview1.
2018-11-20 19:47:12 -08:00
Nate McMaster bfdecc8f5e
React to the deprecation of Microsoft.AspNetCore.All (aspnet/Mvc#8751) 2018-11-20 17:36:47 -08:00
Ryan Brandenburg c8dddaaafc Merge remote-tracking branch 'Metapackages/rybrande/masterToSrc' into rybrande/Mondo22ToMaster 2018-11-20 16:43:26 -08:00
Ryan Brandenburg 4ab02a9ad9 Merge remote-tracking branch 'JavaScriptServices/rybrande/masterToSrc' into rybrande/Mondo22ToMaster 2018-11-20 16:43:12 -08:00
Ryan Brandenburg 9ecf86fe65 Merge remote-tracking branch 'AADIntegration/rybrande/masterToSrc' into rybrande/Mondo22ToMaster 2018-11-20 16:42:54 -08:00
Ryan Brandenburg 73dbfdbee1 Merge branch 'release/2.2' into rybrande/Mondo22ToMaster 2018-11-20 16:42:11 -08:00
Ryan Brandenburg 27eed7e904 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in d417aacd7c
2018-11-20 16:32:23 -08:00
Ryan Brandenburg cdc621d428 Merge branch 'rybrande/release22ToSrc' into rybrande/masterToSrc 2018-11-20 16:26:40 -08:00
Ryan Brandenburg 00b0bcc665 Merge branch 'rybrande/release22ToSrc' into rybrande/masterToSrc 2018-11-20 16:23:13 -08:00
Ryan Brandenburg 564f5a45ba Fix about 2018-11-20 16:09:50 -08:00
Ryan Brandenburg d0c73c16d5 Fix tests 2018-11-20 16:08:17 -08:00
Ryan Brandenburg 70260923ef Remove extras 2018-11-20 16:06:40 -08:00
Ryan Brandenburg 0f2ae895e3 Remove bower files 2018-11-20 16:02:55 -08:00
Ryan Brandenburg dd914d9430 Revert back to 2.2 2018-11-20 16:00:48 -08:00
Ryan Brandenburg d5587f3c54 Merge remote-tracking branch 'origin/release/2.1' into rybrande/21To22Merge 2018-11-20 15:42:00 -08:00
Javier Calvarro Nelson 781ca09033 Merge remote-tracking branch 'origin/release/2.2' into origin/master 2018-11-20 15:22:53 -08:00