Chris Ross
40b2a945b3
Merge pull request #7918 from dotnet-maestro-bot/merge/release/3.0-preview3-to-master
...
[automated] Merge branch 'release/3.0-preview3' => 'master'
2019-02-25 19:46:41 -08:00
Ben Adams
423de42849
Use less stack for HttpResponseHeaders.CopyToFast ( #7724 )
2019-02-25 17:41:12 -08:00
Chris R
87ae40f814
Update Microsoft.AspNetCore.Hosting.Abstractions ref assembly
2019-02-25 17:17:10 -08:00
Doug Bunting
d515bd977f
Merge branch 'master' into merge/release/3.0-preview3-to-master
2019-02-25 15:56:46 -08:00
Stephen Halter
46fe595606
Support IAsyncEnumerable returns in SignalR hubs ( #6791 )
2019-02-25 15:08:11 -08:00
Ryan Brandenburg
03460d81ce
Add retries to CDN downloads ( #7881 )
...
Add retries to CDN downloads
2019-02-25 14:44:22 -08:00
Mikael Mengistu
3d17ac3d4c
Handle onReceive logic in background thread ( #7809 )
2019-02-25 14:24:07 -08:00
Steve Sanderson
87f4ca7299
[Templates] Imports and CSS tweaks for forms/validation ( #7914 )
...
* Add Microsoft.AspNetCore.Components.Forms to default Components imports
* Add default validation CSS rules in Components/Blazor templates
* Add default validation CSS styles to Components testassets projects
2019-02-25 21:50:12 +00:00
Steve Sanderson
61098b6680
Make InputBase use EventCallback for ValueChanged ( #7915 )
...
* Make InputBase use EventCallback for ValueChanged
... so that the host component gets re-rendered automatically after each value change (like when binding to DOM elements).
* Improve E2E test code
... so that the host component gets re-rendered automatically after each value change (like when binding to DOM elements).
2019-02-25 21:49:28 +00:00
Hao Kung
9e21faeafb
Skip failing identity tests ( #7926 )
2019-02-25 12:55:35 -08:00
Nate McMaster
d2d60000eb
Create Linux installers for the aspnetcore targeting pack ( #7776 )
...
This creates 3 new build outputs:
* aspnetcore-targeting-pack-$(version).tar.gz
* aspnetcore-targeting-pack-$(version)-linux-x64.deb
* aspnetcore-targeting-pack-$(version)-linux-x64.rpm
Other changes:
* Make RPM packaging consistent with other installers. Vendor == Microsoft Corporation
* Add shared properties for building the targeting pack (or not building it in a servicing build)
2019-02-25 12:00:36 -08:00
John Beisner
f0cb6cc68b
Modify the 'InstallLocation' registry key. ( #7877 )
...
Before = SOFTWARE\dotnet\Setup\InstalledVersions\<arch>\sdk
After = SOFTWARE\dotnet\Setup\InstalledVersions\<arch>
2019-02-25 11:05:00 -08:00
Javier Calvarro Nelson
23c528c176
[Azure] [ Fixes #6033 , #6580 , #6669 ] Various fixes and cleanups.
...
* Adds an Azure AD Sample and adds a page to test access denied.
* Renames AzureAD and AzureADB2C internal classes for easier to debug
stacktraces.
* Fixes service registration for options configuration.
* Adds missing deps to the solution.
2019-02-25 10:18:59 -08:00
Jiping
a3e0a45d20
[Azure][ Fixes #6669 ] AccessDeniedPath is wrong
2019-02-25 10:18:59 -08:00
Pavel Krymets
78bc2a10b9
Reenable IISExpress on helix ( #7586 )
2019-02-25 09:05:19 -08:00
Chris Ross
ff79e9bda5
Replace EnvironmentName with Environments #7733 ( #7899 )
2019-02-25 08:13:48 -08:00
Nate McMaster
f2658821b5
React to System.Runtime.CompilerServices.Unsafe moving into Microsoft.NETCore.App
...
React to dotnet/corefx#35526
2019-02-24 15:37:03 -08:00
Nate McMaster
5c525915cd
Update generated source code
2019-02-24 09:45:27 -08:00
Nate McMaster
e02e047dcb
Merge branch 'master' into merge/release/3.0-preview3-to-master
2019-02-24 09:31:17 -08:00
BrennanConroy
f8368097a9
Remove web::uri usage from public API ( #7834 )
2019-02-23 13:35:37 -08:00
Nate McMaster
1b27c9905c
Update dependencies and react to changes ( #7844 )
...
* Add workaround for dotnet/sdk#2976
* Add new restore sources
* Update BAR manifest to point to https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore/index.json
* Obsolete WithCulture
* Add retries to dockerbuild.sh
* Ensure each test run gets a unique in-memory database
2019-02-22 19:09:08 -08:00
Pavel Krymets
f1b188611a
Fix generated code ( #7883 )
2019-02-22 18:15:13 -08:00
John Luo
e65004907a
Docker support not available for multi-project templates ( #7878 )
2019-02-22 16:55:30 -08:00
Stephen Halter
90e893ed07
React to #7751 ( #7842 )
2019-02-22 16:24:01 -08:00
BrennanConroy
be63df852f
Skip RunsWithIterationEnvVariable ( #7879 )
2019-02-22 16:04:43 -08:00
Javier Calvarro Nelson
efaaa55d44
[Templating] Add favicon.ico to the components template
2019-02-22 16:00:58 -08:00
Chris Ross
26d71e6ef6
Fix up Security samples #7765 ( #7767 )
2019-02-22 15:45:20 -08:00
Nate McMaster
7fe3b7640d
Merge branch 'release/3.0-preview3'
2019-02-22 15:07:50 -08:00
Nate McMaster
f0ef784783
Run yarn import to convert package-lock.json to yarn.lock
2019-02-22 13:30:19 -08:00
Nate McMaster
5be7d30231
Replace npm commands with yarn
2019-02-22 13:30:19 -08:00
Ryan Nowak
3d448f7197
Fix #5055 use of page parameter ( #7441 )
...
This change introduces some new heuristics to make it easier to use
'page' or other resevered parameter names as parameters in URL
generation.
--
The main change here is to allow the link generation tree to *ignore* a
value passed in to URL generation when it conflicts with an endpoint's
required values.
The main concern of this feature area is "how do we tell whether you are
linking to an action or a page?". Routing attempts to do the right thing
will requiring very little from the user in terms of expressing intent.
In this case, we try to tell the difference between an attempt to generate
a link to an action due to the presence of the 'action' parameter and
absence of the 'page' parameter. This obviously doesn't work when you
want to use 'page' as a non-reserved parameter in an action. The same
case occurs for pages, but users are already used to the idea that
'action' is a reserved word in MVC.
We can loosen this restriction when the value that's supplied for 'page'
is known not to be any existing value of the 'page' route value.
This approach seems somewhat reasonable but has many of the problems inherent
to this area. When it fails (the value you want to use for 'page' causes
a conflict) - it's going to be esoteric and hard to understand.
2019-02-22 11:44:43 -08:00
Doug Bunting
2764ac66b0
Undo "Restore Microsoft.VisualStudio.Web.CodeGeneration.Design references in templates"
...
- not intended for `release/2.1` without a PR!
This reverts commit 4ed02ebc5c
2019-02-22 11:00:26 -08:00
Doug Bunting
4ed02ebc5c
Restore Microsoft.VisualStudio.Web.CodeGeneration.Design references in templates
...
- revert part of "Remove aspnet/Scaffolding submodule (#7166 )"
- that was commit bb8c6fcd46
2019-02-22 10:58:53 -08:00
Steve Sanderson
99d7d34447
In Razor Components template, use <environment> tag helper for bootstrap CSS. Fixes #6886
2019-02-22 17:39:00 +00:00
Chris Ross
7d90d4d1e7
Use friendly obsolete messages ( #7831 )
2019-02-22 08:40:34 -08:00
Justin Kotalik
57092e96ac
Implement Kestrel Request PipeReader ( #7603 )
2019-02-22 08:26:23 -08:00
Steve Sanderson
5315446054
Avoid UI flickering during transition from prerendered to live content
2019-02-22 16:25:44 +00:00
Pranav K
6a57218e14
Remove more references to JSRuntime.Current
2019-02-21 23:11:45 -08:00
Ryan Brandenburg
511538a19e
Revert bad merge in React app ( #7769 )
2019-02-21 21:46:27 -08:00
Javier Calvarro Nelson
2d9cba86fd
[Components] Prerrendering startup experience ( #7770 )
...
[Components] Prerrendering startup experience
* Introduces an IComponentPrerrenderer to handle Prerrendering
* MVC registers a basic static prerrrenderer.
* Components registers a more feature complete prerrender that will
handle reconnection to the original circuit after prerrendering in
the future to allow for prerrendered interactive components.
* Removes UseRazorComponents
* Removes the SPA fallback in favor of a catch all route in
Index.cshtml
* Moves the framework files to be served by the default StaticFiles
middleware in the pipeline by way of plugging specific providers
through options.
* Lifts UseSignalR(r => r.MapHub<ComponentHub>()) into startup and
replaces it with a shorthand for MapHub using endpoint routing.
* Adds extension methods to map components to selectors for a given
hub.
* Updates the razor component templates to include prerendering and use a razor page as the entry
point.
2019-02-21 16:26:44 -08:00
Javier Calvarro Nelson
ea97934127
[Templating]Api authorization spa integration ( #7721 )
...
[Templating] Adds authentication support for the SPA templates
* Adds a new -auth option to the Angular and React templates with None and Individual values.
* When using authentication it configures the server to use the ApiAuthorization support built for 3.0
* For angular it adds an ApiAuthorization Angular module that handles the authentication flows through
a Login and a Logout components and exposes an Http client interceptor, a routing guard and a Login
menu component for the main Angular application to integrate authentication into the app.
* For react it adds a Login and Logout components to handle the authentication flows, an
AuthorizeRoute component to protect access to other routes and a Login menu component to
integrate authentication into the application.
2019-02-21 16:23:55 -08:00
John Luo
2fd9e40b58
Merge branch 'release/3.0-preview3'
2019-02-21 16:01:22 -08:00
Artak Mkrtchyan
26006e5b10
Updated the survey link for 0.9 release
2019-02-21 15:40:16 -08:00
BrennanConroy
6a06bf8532
Skip RunsWithIterationEnvVariable ( #7814 )
2019-02-21 15:31:40 -08:00
Ryan Brandenburg
ae0c3dc42a
Fix SHA calculations ( #7804 )
...
Fix SHA calculations
2019-02-21 15:19:02 -08:00
John Luo
4c0b114b12
Add gRPC templates ( #7561 )
2019-02-21 15:12:13 -08:00
Pavel Krymets
9355c7c1a5
Add reference assemblies support ( #7764 )
2019-02-21 14:33:35 -08:00
Ryan Nowak
ebb527d347
[wip] Update Razor SDK and resolve issues
...
I'm still chasing one more issue.
(cherry picked from commit 616a4a36f5 )
2019-02-21 11:42:23 -08:00
Nate McMaster
4451a80447
Merge branch 'release/3.0-preview3'
2019-02-21 10:30:11 -08:00
Nate McMaster
7a87e8c6a7
Re-enable building runtime packs
...
Also, sort debug output in SharedFx tests for improved readability
2019-02-21 09:38:11 -08:00
JulijaRamoskiene
e5f4400257
FormFeature -Added exception for invalid content-disposition header ( #7525 )
2019-02-21 09:38:06 -08:00
Nate McMaster
6252351da7
Targeting pack and shared framework fixups ( #7794 )
...
* Fix package type to match spec ('DotnetPlatform')
* Fix missing metadata in MSI installer
* Fix incorrect target order which caused duplicate assemblies in netcore.app and aspnetcore.app
2019-02-21 09:28:58 -08:00
Ryan Nowak
616a4a36f5
[wip] Update Razor SDK and resolve issues
...
I'm still chasing one more issue.
2019-02-21 09:14:17 -08:00
Pranav K
51e2bea403
Throw if CORS policy is configured to allow credentials and any origin ( #7751 )
...
* Throw if CORS policy is configured to allow credentials and any origin
Fixes https://github.com/aspnet/AspNetCore/issues/3106
2019-02-21 09:06:00 -08:00
Pranav K
5418698f39
Disable CORS functional tests from running in parallel
...
Fixes https://github.com/aspnet/AspNetCore-Internal/issues/1845
2019-02-21 06:20:11 -08:00
Ryan Brandenburg
019a1be305
Make the linter happy
2019-02-20 17:02:56 -08:00
Ryan Brandenburg
918f3d3c40
Fix merge doubling
2019-02-20 16:35:52 -08:00
Pranav K
82c323f599
Merge pull request #7771 from dotnet-maestro-bot/merge/release/2.1-to-release/2.2
...
[automated] Merge branch 'release/2.1' => 'release/2.2'
2019-02-20 16:28:35 -08:00
Ryan Brandenburg
b2ee8e6b66
Merge branch 'merge/release/2.2-to-master' of https://github.com/dotnet-maestro-bot/AspNetCore into merge/release/2.2-to-master
2019-02-20 16:21:24 -08:00
Pranav K
cc60fa9a18
Ensure templates are packed in the Blazor VSIX
2019-02-20 16:19:45 -08:00
Ryan Brandenburg
5a7bfbbc01
Use Bootstrap 3.4.1 and 4.3.1 ( #7719 )
...
Use Bootstrap 3.4.1. and 4.3.1
2019-02-20 15:55:49 -08:00
Mikael Mengistu
f33cc20dbf
Add support for Async On Delegates ( #7700 )
2019-02-20 15:44:54 -08:00
Pranav K
b2a84b7b5f
Regenerate baselines for precompilation test ( #7766 )
...
* Regenerate baselines for precompilation test
Fixes https://github.com/aspnet/AspNetCore-Internal/issues/1822
2019-02-20 15:21:45 -08:00
Stephen Halter
001b6ea08a
Use .NET Core SequenceReader ( #7003 )
...
* Use .NET Core SequenceReader
Remove BufferReader and use SequenceReader<T> which now ships in CoreFX.
This is related to https://github.com/aspnet/KestrelHttpServer/pull/3068 which builds on the functionality added to the reader.
* Use var
2019-02-20 14:39:45 -08:00
BrennanConroy
e455c2c22b
Add negotiation response support ( #7675 )
2019-02-20 12:38:43 -08:00
Nate McMaster
9a2db43848
Follow-up to VS2019 conversion ( #7753 )
...
* Set VS version in file to 16.0.0.0
* Fix for restore failure on Microsoft.AspNetCore.App.Runtime.csproj
2019-02-20 11:02:38 -08:00
Nate McMaster
85ae18c723
Make Visual Studio 2019 a prerequisite to building this repo ( #7005 )
...
Changes:
* Make Visual Studio 2019 a prerequisite for building this repo
* Update .sln files
* Update Windows SDK to 17134
* Update developer docs
* Disable ANCM tests
* Update to .NET Core SDK 3.0 Preview 2
* Use Microsoft.NET.Sdk.Razor as a package consistently accross the repo
* React to changes in metadata from Microsoft.NETCore.App
* React to changes in .NET Core SDK
* Attempt to workaround CodeCheck.ps1 failure which doesn't repro locally or on different agents. Possibly due to differences in the version of the PowerShell task?
* Remove dead YML file
* Rename usages of win7-{x64,x86} to win-{x64,x86}
* Update KoreBuild to 3.0.0-build-20190219.1
2019-02-20 09:53:53 -08:00
Steve Sanderson
895e1c69e0
Components/Blazor template updates ( #7709 )
...
* In Blazor hosted template, only UseBlazorDebugging in development environment. Fixes #7275
* Enable HTTPS in the Razor Components template. Fixes #6928
* Reduce Razor Components template to one project. Fixes #6883
* Minor phrasing tweak
* In Razor Components template, change .cshtml to .razor, except _ViewImports.cshtml
* Put back LangVersion
* Update RazorComponentsTemplateTest
2019-02-20 13:16:05 +00:00
Steve Sanderson
7a2dfd3200
Components: Forms and validation ( #7614 )
2019-02-20 09:56:32 +00:00
Chris Ross
4e44025a52
Replace IHostingEnvironment with IWebHostEnvironment ( #7725 )
2019-02-19 21:11:52 -08:00
Matthias Laroche
7af971838e
Set Content-Length to 0, when returning an empty body
...
When returning 416 RangeNotSatisfiable in FileResultExecutorBase, set the Content-Length based on the length of the body instead of the length of the original file.
Bugfix for :
https://github.com/aspnet/AspNetCore/issues/4943
2019-02-19 17:54:11 -08:00
Matthias Laroche
134f28f71d
Update FileResult tests to detect a bug for the status 416 RangeNotSatisfiable
...
Update FileResult tests to detect a bug for the status 416 RangeNotSatisfiable :
https://github.com/aspnet/AspNetCore/issues/4943
When the body is empty, the Content-Length header should be 0 to match the body length.
2019-02-19 17:54:11 -08:00
Nate McMaster
a9c358bbbd
Build MSI installers for targeting pack ( #7726 )
...
Part of #6501
This adds a new Windows installer for the targeting pack. It places *.dll and *.xml (docs) in `[DOTNETHOME]\packs\Microsoft.AspNetCore.App.Ref\$(version)\ref\netcoreapp3.0`.
Outputs:
* aspnetcore-targeting-pack-$(version).zip
* aspnetcore-targeting-pack-$(version)-win-x64.exe (defaults to C:\Program Files\dotnet)
* aspnetcore-targeting-pack-$(version)-win-x86.exe (defaults to C:\Program Files (x86)\dotnet)
These all include the same files. These are meant to be bundled in the .NET Core SDK installer, but can be launched directly too.
2019-02-19 16:28:08 -08:00
Doug Bunting
8d6d300bfc
Improve service reference filenames and class names ( #7447 )
...
- #4927
- fully-sanitize class names and filenames
- use aspnet/AspNetCore-Tooling's `CSharpIdentifier` class
- default metadata in sequence [URI or project&document name ->] `%(DocumentPath)` -> `%(OutputPath)` -> `%(ClassName)`
- if user sets metadata explicitly, the override affects defaults later in the sequence
- separate some nested validations and defaulting steps
- provide default `%(DocumentName}` even if `%(DocumentPath}` is set explicitly
- validate URI is absolute even if `%(DocumentPath}` is set explicitly
other:
- don't write out an empty Open API / Swagger file
nits:
- do not use default `%(DocumentName}` in default `%(DocumentPath)` for `<ServiceProjectReference>` items
- do not use empty URI path or query string in default `%(DocumentPath)` for `<ServiceUriReference>` items
2019-02-19 16:05:54 -08:00
Ryan Nowak
c725089e8b
Add missing conversions on EventCallbackFactory
2019-02-19 15:48:16 -08:00
BrennanConroy
f37d30833d
Ignore unexpected stream items and completions from client ( #7511 )
2019-02-19 15:25:50 -08:00
Doug Bunting
14b7184c09
Improve documentation of `BinderType` and `BindingSource` properties ( #7218 )
...
- add regression test for #4939
- add `[BindProperty]` doc comments
- add `<remarks>` to `BinderType` properties that recommend setting `BindingSource` in some cases
smaller issues:
- catch invalid `BinderType` values up front
- complete `BindingSource.ModelBinding` implementation: `IValueProvider` filtering was faulty
nits:
- accept VS suggestions e.g. remove unused variables
- "model binder" -> `<see cref="IModelBinder" /> implementation` in some doc comments
2019-02-19 15:22:04 -08:00
Doug Bunting
3e0c75187c
Place limits on model binding collection size and recursion depth ( #7214 )
...
- #7052
- add MvcOptions.MaxModelBindingCollectionSize` and `MvcOptions.MaxModelBindingRecursionDepth`
nits:
- update syntax of a few `Resources.Designer.cs` files (I ran `/t:resx` on Mvc.sln)
- take VS suggestions in a few test classes
2019-02-19 15:17:56 -08:00
Ryan Brandenburg
69abefa06f
[Design] Harden template package installer and fix name ( #7624 )
...
Harden template package installer and fix name
2019-02-19 14:41:59 -08:00
Mikael Mengistu
d1fac57734
Ensure SignalR client messages are processed in order ( #7697 )
2019-02-19 11:48:22 -08:00
TimTim
dffe9abf6b
Fix connection ID ( #7681 )
2019-02-18 17:13:53 -08:00
Ben Adams
3e47fa7c69
Inline BufferWriter .ctor ( #7674 )
2019-02-17 21:30:29 -08:00
Ryan Nowak
98fe8a8328
Improvements to bind and event handling
...
The changes here make event dispatching (including bind) more
user-friendly by avoiding the need for manual calls to StateHasChnaged.
We also introduce a new type `EventCallback` (and `EventCallback<T>`).
This is a new primitive that is like a super-powered version of a
delegate. When writing a component that accepts delegates as parameters,
consider using `EventCallback` for the following reasons:
- Allows consumer to pass a variety of different delegate signatures
- Does proper event dispatching and error handling
Using `EventCallback` will eliminate most of the remaining cases where a
manual `StateHasChanged` is required when components are passing content
and delegates to each other.
`EventCallback` is inherently async for the reason that this is really
the only way to provide correct error handling.
-----
The fix for this will be two-phase by first creating a set of APIs that
can be targeted by the compiler that has the desired behaviour and then
updating the compiler to target this new infrastructure.
2019-02-17 15:58:08 -08:00
James Newton-King
cc7b35439c
Add test for HTTP method metadata order ( #7225 )
2019-02-18 09:20:12 +13:00
Ben Adams
6b7e821913
Don't hardcode fixed size for GetMemory in ChunkedTests
2019-02-17 09:29:57 -08:00
Chris R
b571246c93
Suppress warnings for obsolete Extensions types
2019-02-17 09:29:57 -08:00
Justin Kotalik
49a720c1dc
Fix GetMemory to not pass in size hint
2019-02-17 09:29:57 -08:00
Mikael Mengistu
af43b80b1a
Make server timeout configurable ( #7340 )
2019-02-17 07:57:36 -08:00
Stephen Halter
8ae4c4dbd6
Add SignalR web worker sample and test ( #7378 )
2019-02-17 07:52:18 -08:00
Ben Adams
4646ed5618
Work around WriteBarrier assign for nulling struct ( #7659 )
2019-02-16 20:09:39 -08:00
David Fowler
0fd753bfc2
Align host behavior with respect to exceptions ( #7657 )
...
- Don't catch errors in IHostedService.StartAsync
- Only catch errors when executing StopAsync but rethrow an aggregate
- Updated the tests
2019-02-16 19:09:14 -08:00
David Fowler
799b91a324
Change the namespace of the extension methods ( #7651 )
...
- The other routing extension methods use Microsoft.AspNetCore.Builder
2019-02-16 00:36:59 -08:00
James Newton-King
c2d1ab925e
Remove obsolete APIs from routing ( #7371 )
2019-02-16 18:37:51 +13:00
Mikael Mengistu
c806c5a61a
Wait for stop to complete in SignalR test to prevent flakiness. ( #7634 )
2019-02-15 18:42:04 -08:00
Ben Adams
639d290b19
Lock-free IOQueue ( #6154 )
...
Second half of https://github.com/aspnet/AspNetCore/pull/4060
2019-02-15 18:26:30 -08:00
Chris Ross
191fb03de7
ITlsHandshakeFeature requires Win8+ ( #7629 )
2019-02-15 16:28:04 -08:00
Justin Kotalik
60b00fa007
Make reads that return canceled ReadResult throw ( #7618 )
2019-02-15 16:11:57 -08:00
Chris Ross
93a24b03bb
Disable AllowSynchronousIO by default in all servers #4774 ( #5120 )
...
* Disable AllowSynchronousIO by default in all servers
2019-02-15 16:05:49 -08:00
Pranav K
7daa0e0145
Convert BlazorExtension to SDK style project ( #7588 )
...
* Convert BlazorExtension to SDK style project
Fixes https://github.com/aspnet/AspNetCore/issues/7135
2019-02-15 15:14:19 -08:00
Pranav K
fe1c2c84ee
Remove uses of JSRuntime.Current ( #7599 )
...
* Remove uses of JSRuntime.Current
Prerequisite for https://github.com/aspnet/AspNetCore/issues/6828
2019-02-15 15:14:00 -08:00
Pavel Krymets
9afdc48f13
Disable remote symbol loading for dump files in CI ( #7620 )
2019-02-15 14:42:36 -08:00
Chris Ross
cc62bcebfc
Skip HttpSys.Https tests on Helix Internal/#1816 ( #7578 )
2019-02-15 12:33:23 -08:00
David Fowler
5ef51822de
Added endpoint routing support ( #7608 )
...
- Basic endpoint routing support to for SignalR hubs, ConnectionHandler and IConnectionBuilder endpoints
- Updated all functional tests and samples to use it
- Added all attributes as metadata from Hubs and ConnectionHandlers
- Added a test to verify client is rejected if auth is ineffective
2019-02-15 12:32:01 -08:00
Pavel Krymets
6bafb7cb6f
Log before releasing streams and firing tokens ( #7583 )
...
Might fix: https://github.com/aspnet/AspNetCore-Internal/issues/1659
I think writes complete too fast so we don't observe when the message gets logged
2019-02-15 10:41:21 -08:00
Justin Kotalik
25f1f59378
Make first write use the same BufferWriter ( #7505 )
2019-02-15 08:26:57 -08:00
Nikita Potapenko
98ad532822
Removed comments
...
Fixes #7579
2019-02-15 13:20:14 +00:00
Ajay Bhargav Baaskaran
c565386a3e
Merge pull request #7597 from aspnet/ajbaaska/merge-master
...
Merge branch 'release/2.2' to master
2019-02-14 23:20:18 -08:00
Doug Bunting
b711d6cf67
Merge branch 'release/2.1' into release/2.2
2019-02-14 21:18:02 -08:00
Ajay Bhargav Baaskaran
b3d3f5e7fb
Updated missed slns
2019-02-14 17:35:48 -08:00
Ryan Brandenburg
4932a4bad5
Fix typemismatch
2019-02-14 17:15:41 -08:00
Ryan Brandenburg
3b1a0e4755
Fix algos
2019-02-14 17:15:41 -08:00
Ryan Brandenburg
a47139f033
Fix sha tests
2019-02-14 17:15:41 -08:00
Ryan Brandenburg
f8dea0e7f9
Fix integrity checks
2019-02-14 17:15:41 -08:00
Ryan Brandenburg
15c5dfec2e
Upgrade bootstrap versions
2019-02-14 17:15:41 -08:00
Ryan Brandenburg
bd4af873b0
Fix urls
2019-02-14 17:13:06 -08:00
Ryan Brandenburg
137d2d2357
Fix whitespace
2019-02-14 17:13:06 -08:00
Ryan Brandenburg
6786f97526
Update simpleapp test
2019-02-14 17:13:06 -08:00
Ryan Brandenburg
271e222b51
Update to bootstrap 3.4.1
2019-02-14 17:13:06 -08:00
Nate McMaster
6defaadb8b
Update location of obj/ and bin/ directories to match Arcade conventions ( #7585 )
2019-02-14 16:27:53 -08:00
Ajay Bhargav Baaskaran
7a26d27e8b
Merge branch 'release/2.2'
2019-02-14 16:08:51 -08:00
BrennanConroy
9fda946f0f
[Backport] Add CancelInvocation support to MsgPack in TS client ( #7404 )
2019-02-14 13:49:49 -08:00
Ajay Bhargav Baaskaran
a8277408d9
Merge pull request #7542 from dotnet-maestro-bot/merge/release/2.1-to-release/2.2
...
[automated] Merge branch 'release/2.1' => 'release/2.2'
2019-02-14 10:43:50 -08:00
Chris Ross
44e6813452
Use new version of h2spec #6691 ( #7559 )
2019-02-14 09:28:58 -08:00
Joseph Musser
50587d7d6d
Fix “must comprised of” ( #7519 )
...
* Fix missing word
* Replace ‘comprise’ with simpler wording
2019-02-14 09:27:55 -08:00
BrennanConroy
bca85b92fc
More C++ Client cleanup ( #7551 )
2019-02-14 08:31:15 -08:00
Ryan Brandenburg
6ea3f27dbb
Merge pull request #4565 from martinpe36/master
...
Update React-Redux client app to use TypeScript instead of JavaScript
2019-02-14 08:14:07 -08:00
Nate McMaster
0ec25d3167
Create new 'runtime pack' nuget packages for Microsoft.AspNetCore.App ( #7475 )
...
* Create a new package - Microsoft.AspNetCore.App.Runtime.${rid} - which contains crossgen-ed versions of shared framework assemblies. This will be used by the SDK to replace rid-split packages
* Add a task which can generate the .deps.json file for the shared framework. Unlike the existing task we have, this does not rely on consuming a .deps.json file generated by first running a restore on packages.
* Move the reference to xunit.runner.console into the normal targets and files for managing dependencies
* Produce binlogs during build
2019-02-14 07:25:13 -08:00
Vakhtangi Abashidze
a314cb2773
PointerID type string replaced to long ( #7426 )
...
Solves issue [#7418 ](https://github.com/aspnet/AspNetCore/issues/7418 ) - Blazor onpointerdown event gives error
2019-02-14 03:24:13 -08:00
Stephen Halter
132a1ad31b
Remove capture of "this" from local function ( #7467 )
2019-02-14 00:21:39 -08:00
Doug Bunting
d102d10a81
Update branding to 2.2.3
...
- new version
- update baselines
- grab latest released Microsoft.NetCore.App and Microsoft.NETCore.DotNetAppHost
nit:
- updated ZipManifestGenerator's README.md to use 2.2 examples
2019-02-13 23:15:58 -08:00
James Newton-King
05895cde64
Fix endpoint routing flaky test on build server in 2.2 ( #7489 )
2019-02-14 17:48:22 +13:00
Nate McMaster
94109e6655
Add package override manifest to the targeting pack ( #7555 )
2019-02-13 19:32:47 -08:00
Ryan Nowak
f2a1a4542e
Introduce dynamic endpoints and fix #7011 ( #7445 )
...
* Add IDynamicEndpointMetadata for dynamic endpoints
* Use a dynamic endpoint policy for pages
2019-02-13 18:52:07 -08:00
Pranav K
27e54a1b7a
Skipping flaky test
2019-02-13 16:45:36 -08:00
Pranav K
9053bc6e29
Re-enable skipped runtime compilation tests
2019-02-13 16:45:36 -08:00
BrennanConroy
9de42d516e
Copy Kestrel perf changes ( #7480 )
2019-02-13 16:31:37 -08:00
Ajay Bhargav Baaskaran
a2f27426a5
Add missed tests
2019-02-13 16:25:31 -08:00
Jeremy Kuhne
a02ac20183
Use var
2019-02-13 16:20:34 -08:00
Jeremy Kuhne
2c649b2409
Use .NET Core SequenceReader
...
Remove BufferReader and use SequenceReader<T> which now ships in CoreFX.
This is related to https://github.com/aspnet/KestrelHttpServer/pull/3068 which builds on the functionality added to the reader.
2019-02-13 16:20:34 -08:00
Chris Ross
d1aa53721b
Add launchSettings.json to worker template ( #7550 )
...
* Add launchSettings.json to worker template #7545
* Switch back to the Web SDK
2019-02-13 15:54:15 -08:00
Ajay Bhargav Baaskaran
0c2ee920a1
Merge branch 'release/2.1' into release/2.2
2019-02-13 14:52:38 -08:00
Nate McMaster
338de4710a
Automatically set 'PrivateAssets=All' for .Sources references ( #7539 )
...
When a `<Reference>` is named `*.Sources`, set PrivateAssets=All (exclude from generated nuspec) and IncludeAssets=ContentFiles (only consume content files, not .dll's)
2019-02-13 14:31:15 -08:00
Pranav K
cddbc2e888
Improve Components error handling ( #7165 )
...
* Improve Components error handling
* Change event handlers IHandleEvent, IHandleAfterEvent to be async.
* Return faulted tasks to Renderer instead of handling exceptions in ComponentBase
* Use ILogger in RemoteRenderer, and log to console in WebAssemblyRenderer
* Cleaning up touched files
Fixes https://github.com/aspnet/AspNetCore/issues/4964
2019-02-13 14:22:46 -08:00
Ajay Bhargav Baaskaran
4cceccd568
Make Mvc repo folder layout consistent ( #7518 )
2019-02-13 10:53:39 -08:00
Mikael Mengistu
3d3ad96206
SignalR Java Client LongPolling Transport ( #6856 )
2019-02-13 10:27:07 -08:00
Nate McMaster
2ac4619635
Replace custom targets for generating assembly attributes and source control info by using SDK features ( #7504 )
2019-02-13 10:22:03 -08:00
Chris Ross
06d7fe73a9
Implement ITlsHandshakeFeature for HttpSys ( #7284 )
2019-02-13 08:39:45 -08:00
Nate McMaster
3fd8a97af2
Add targets to generate the list of shared framework assemblies from project property ( #7510 )
...
Changes:
* Add support for a property, `IsAspNetCoreApp`, in the .csproj file of assemblies which are part of the shared framework.
* Remove unused dependencies
* Remove reference which have become part of 'netcoreapp3.0'
2019-02-12 23:00:19 -08:00
Doug Bunting
5bbf7109a5
Fail `ComplexTypeModelBinder` after `CanCreateModel(...)` in some cases ( #6793 )
...
- #4802 and #6616
- also reduces the impact incorrect metadata as in #4939
- postpone some property binding in `ComplexTypeModelBinder`
2019-02-12 22:15:43 -08:00
Hao Kung
9ab72f6202
Skip flaky Components test on Helix ( #7488 )
2019-02-12 21:15:28 -08:00
Doug Bunting
447306cbb9
Merge branch 'release/2.1' into release/2.2
2019-02-12 19:32:03 -08:00
Doug Bunting
5bb5bafbed
Update branding to 2.1.9
2019-02-12 19:12:20 -08:00
BrennanConroy
1c6651a1ae
Fixup handshake logic and layering ( #7470 )
2019-02-12 17:06:56 -08:00
Chris Ross
8f72b87981
Enable docker for the worker template #6817 ( #7508 )
2019-02-12 15:09:27 -08:00
Pranav K
173b2f91fb
Trim Async suffix on action names ( #7420 )
...
Fixes https://github.com/aspnet/AspNetCore/issues/4849
2019-02-12 13:30:38 -08:00
Javier Calvarro Nelson
6827bb7443
[Templating] Razor class library for components ( #7461 )
...
* [Components] Razor class library for components
* Updates the Razor Class Library to be a portable components library by
default.
* Adds an option to support the old RCL that includes support for Views
and pages.
* Usage:
* `dotnet new razorclasslib` produces the same traditional Razor Class Library.
* `dotnet new razorclasslib -s false` produces a Razor Class Library without views and pages support.
2019-02-12 06:08:11 -08:00
David Fowler
c1bc210e8e
Fix returning buffered data after stream is drained ( #7476 )
...
- Change TryRead to return the buffer if the Stream is completed
2019-02-11 20:45:15 -08:00
Chris Ross
05923e9151
Get worker tempalte showing up in VS ( #7478 )
2019-02-11 20:25:17 -08:00
Ryan Nowak
acd1cf3251
Update MVC/Routing Startup Experience ( #7425 )
...
* Relayer MvcEndpointDataSource
Separates the statefulness of the data source from the business logic of
how endpoints are created.
I'm separating these concerns because one of the next steps will split
the MvcEndpointDataSource into two data sources.
* Simplify MvcEndpointInfo
Removing things that are unused and leftovers from the 2.2 design of
this feature.
* Remove per-route conventions
Removes the ability to target endpoint conventions
per-conventional-route. This was a neat idea but we have no plans to
ship it for now.
Simplified MvcEndpointInfo and renamed it to reflect its new purpose.
* Remove filtering from MvcEndpointDataSource
This was neat-o but we're not going to ship it like this. We're going to
implement filtering in another place. Putting this in the data source is
pretty clumsy and doesn't work with features like application parts that
need to be baked in addservices
* Simplify ActionEndpointFactory
* Split up data sources
* Use UseRouting in functional tests
I've rejiggered our functional tests to de-emphasize UseMvc(...) and
only use it when we're specifically testing the old scenarios.
UseMvc(...) won't appear in templates in 3.0 so it's legacy.
* Update templates
* Add minor PR feedback
* one more
2019-02-11 19:18:05 -08:00
Justin Kotalik
2a9caa0343
AsTask => GetAsTask() ( #7468 )
...
* AsTask => GetAsTask()
* Another spot
* Another spot
2019-02-11 16:55:28 -08:00
Daniel Roth
2e1aa139f7
Update metadata for the Blazor VSIX ( #7473 )
2019-02-11 16:55:09 -08:00
dotnet-maestro-bot
98be5a3ca5
Fix flaky process output reading for dotnet-watch tests ( #7173 ) ( #7403 )
2019-02-11 16:47:58 -08:00
Ryan Nowak
c5d8f8c34e
Update CORS package.json and friends
...
This is what NPM wants to do - why argue?
2019-02-11 16:19:27 -08:00
Ryan Nowak
5a291d0bc0
Fix #4212 area ambient value page->controller
...
This change enhances our ambient value logic to also deal with required
values. In 2.2 we introduced a 'required values' semantic to allow route
values to appear "to the left" of a route pattern for the purpose of
ambient values copying. This is a complicated way of saying "when you
like to a different endpoint then discard the ambient values".
What we didn't consider is that some ambient values are special (like
area). So basically, we'll allow an ambient value to be used if it's
part of the required values - even if we've already decided to discard
the ambient values.
This is a pretty surgical fix and only affected the desired scenario
based on tests.
-----
I also removed an optimization that I think is broken. I put an earlier
optimization in place that attempted to count ambient values as they
were "seen" to try and avoid some extra copying. This copying loop has a
cost even if it no-ops which is what I was trying to prevent.
Unfortunately since we added 'required values' - it's now possible for
an ambient value to be double-counted, which makes this optimization
incorrect.
2019-02-11 15:58:33 -08:00
Pranav K
88ae930fad
Remove obsolete APIs from MVC ( #7444 )
...
* Remove obsolete APIs from MVC
Fixes https://github.com/aspnet/AspNetCore/issues/7322
2019-02-11 15:27:38 -08:00
Justin Kotalik
e5f31f264c
Another spot
2019-02-11 15:10:30 -08:00
N. Taylor Mullen
dfddc4e8ff
[MVC] Remove obsolete APIs
...
- Removed ViewsFeatureProvider
- Removed PageArgumentBinder and its internal implementation DefaultPageArgumentBinder.
- Removed corresponding test classes/methods for all the above.
- Reacted to class/member changes in dependencies.
#7326
2019-02-11 14:56:30 -08:00
Chris Ross
597c8434d5
Background Worker template ( #7401 )
2019-02-11 14:53:50 -08:00
Justin Kotalik
371c29577b
Another spot
2019-02-11 14:42:02 -08:00
Justin Kotalik
84cdac952a
AsTask => GetAsTask()
2019-02-11 13:58:25 -08:00
David Fowler
a5ba735a0f
Remove PlatformBenchmarks from sln ( #7440 )
2019-02-11 12:38:20 -08:00
Pavel Krymets
037a5b0231
Add more logging to a failing tests and move dumps to logs directory ( #7462 )
2019-02-11 12:14:05 -08:00
David Fowler
476a1827f4
Made changes to stream <-> pipe adapters ( #7407 )
...
- Use the array pool by default when the shared memory pool is specified for both the StreamPipeReader and StreamPipeWriter
- Support allocating unpooled memory if the StreamPipeWriter is asked for memory outside of the max pool size
2019-02-11 11:15:36 -08:00
Ben Adams
3276870d6a
Remove unnecessary Flush ( #7424 )
2019-02-11 11:02:00 -08:00
Ben Adams
6d42ff7c38
Don't write empty data for Flush ( #7415 )
2019-02-11 11:01:36 -08:00
Javier Calvarro Nelson
dbf746d210
[Antiforgery][Components][CORS] Remove obsolete APIs ( #7459 )
...
#7325
#7319
#7324
2019-02-11 10:38:31 -08:00
Doug Bunting
58e6d78549
Suppress Razor warnings about missing doc comments
2019-02-11 10:35:48 -08:00
Artak
7c9959934a
Fixed a type reference in a doc comment.
...
Fixes #7416
2019-02-11 09:06:34 -08:00
Ben Adams
704094b199
Use C#7.3's ReadOnlySpan<byte> optimization for static data ( #7422 )
2019-02-11 07:40:40 -08:00
Martin Costello
762206a5d8
Fix typo in package description ( #7435 )
...
Fix incorrect spelling of "storage".
2019-02-10 16:25:57 -08:00
David Fowler
3be85751d5
Make Hosting.sln compile in vs ( #7431 )
2019-02-10 16:24:33 -08:00
kishanAnem
c1ce7b9a77
ValidationSummary doesn't display property errors if ModelState and ModelMetadata meets the specific conditions #4831
...
Hi @dougbu
I removed test which is naming conflicts.
and closing #7221 PR
2019-02-09 13:11:07 -08:00
Martin Costello
e465013063
Remove local item group ( #7412 )
...
Remove local development item group accidentally added by #7110 .
2019-02-09 12:13:32 -08:00
Joni
9e06cfb7f8
Fix typo in HttpResponseWritingExtensions ( #7413 )
...
Fix typo WriteMutliSegmentEncoded => WriteMultiSegmentEncoded
2019-02-09 08:14:11 -08:00
David Fowler
8f49bdf195
More efficient preface parsing ( #7406 )
...
- Slice before turning the buffer into a Span
- Use SequenceEqual instead of a loop
2019-02-08 21:13:42 -08:00
Pranav K
db7218b2fc
Consume Mono.WebAssembly.Interop from Extensions ( #7290 )
2019-02-08 17:37:36 -08:00
Justin Kotalik
35b99e44ce
Expose HttpResponse PipeWriter in Kestrel ( #7110 )
2019-02-08 17:24:26 -08:00
Arthur Vickers
64e137ba38
Fix build break in Identity tests
...
By configuring the service provider warning to log instead of throw
2019-02-08 15:04:33 -08:00
BrennanConroy
2365dced43
Fix flaky process output reading for dotnet-watch tests ( #7173 )
2019-02-08 14:37:53 -08:00
BrennanConroy
01c5add273
Add CancelInvocation support to MsgPack in TS client ( #7224 )
2019-02-08 14:31:19 -08:00
Nate McMaster
73843cc9a5
Account for transitive shared framework dependencies separately ( #7392 )
...
Put transitive external dependencies of the shared framework in a separate category, and don't reference them directly unless we are building a patch. This will help us find changes to dependencies, such as the removal of JSON.NET or possible changes to Crypto.Xml.
2019-02-08 12:42:23 -08:00
Justin Kotalik
e3d0dc0a96
Try re-enabling CancellationToken tests for StreamAdapters ( #6755 )
2019-02-08 10:10:38 -08:00
Justin Kotalik
9e5f09cb44
Make Dispose not throw in StreamPipeWriter ( #7376 )
2019-02-08 08:44:34 -08:00
Justin Kotalik
3bd5f2c2ab
Return Completed ReadResult after stream returns 0 bytes ( #7337 )
2019-02-08 08:44:09 -08:00
Ben Adams
b2f850aa82
Remove extraneous call to GetMemory ( #7379 )
2019-02-08 08:06:17 -08:00
Chris Ross
efb5923120
Enable verbose h2spec logs ( #7361 )
2019-02-08 08:03:42 -08:00
James Newton-King
0dc06b37cb
Small fixes to SignalR service extension methods ( #7375 )
2019-02-08 19:15:53 +13:00
David Fowler
b7d3b3aa13
Handle IAsyncDisposable scoped objects ( #7343 )
...
- We make a scope today around hub invocations, with IAsyncDisposable now implemented in the DI container, we need to support IServiceScope being IAsyncDisposable and IDisposable
2019-02-07 19:49:41 -08:00
Nate McMaster
cc065f0055
Produce a package with just reference assemblies for AspNetCore.App ( #7355 )
2019-02-07 19:47:52 -08:00
Maxim Dukhanov
095c1c1759
Add webworker support to SignalR JS client ( #7058 )
...
* Added Platform utils to detect platform type
* Added additional build for WebWorker
* Changed env param from webworker to platform to make ability to specify platform to the build script
* Updated the readme file with SignalR WebWorker instructions
2019-02-07 18:51:24 -08:00
Andrew Arnott
3d4b198990
Add xml doc comments for BufferWriter struct ( #7350 )
2019-02-07 18:33:03 -08:00
Hao Kung
26acbc3861
Reorganize helix files ( #7353 )
2019-02-07 16:27:48 -08:00
Hao Kung
ff83aea5fe
Regenerate the stamp once if there's a token collision in test ( #7364 )
2019-02-07 15:49:17 -08:00
Stephen Halter
a677464ed0
Merge branch 'release/2.2'
2019-02-07 15:41:08 -08:00
Andrew Arnott
21177671b6
Remove extraneous call to GetMemory in BufferWriter ( #7354 )
...
The BufferWriter called GetMemory(count) and dropped the result, only to then call GetSpan(). This moves the count argument to GetSpan, and drops the call to GetMemory.
2019-02-07 15:31:33 -08:00
BrennanConroy
68579d1c11
C++ client: Skip flaky tests ( #7358 )
2019-02-07 13:54:13 -08:00
John Luo
92f21dbda0
Unset reserved bit when setting 31 bit uint values ( #7339 )
...
* Unset reserved bit when setting 31 bit uint values
* Add FrameWriter tests
* Add overload
2019-02-07 12:50:53 -08:00
Stephen Halter
9c41d5b48f
Fix flaky CanUpgradeRequestWithConnectionKeepAliveUpgradeHeader test ( #7323 )
...
* Randomize MockSystemClock
2019-02-07 11:56:10 -08:00
Pavel Krymets
3de5cde536
Remove Microsoft.AspNetCore.All from site extension description ( #7335 )
2019-02-07 11:04:13 -08:00
Hao Kung
c9499e14e4
Run helix tests on master ( #6728 )
2019-02-07 09:20:08 -08:00
John Mazouri
2345c837ce
Fix typo in HttpSysOptions.cs ( #7207 )
...
`infiniate` => `infinite` in ArgumentOutOfRangeException message.
2019-02-07 09:19:22 -08:00
Pavel Krymets
5cd72c1fb2
Remove ANCMV1 from everywhere ( #7334 )
2019-02-07 09:06:27 -08:00
Justin Kotalik
07ef2d881f
Remove misleading websocket error log ( #7249 )
2019-02-07 08:26:10 -08:00
BrennanConroy
25389acd1a
Use the 'correct' windows platform version ( #7338 )
2019-02-07 08:20:08 -08:00
Javier Calvarro Nelson
f456e3d153
[Components] [ Fixes #6953 , #7226 ]
...
* Moves the Synchronization context from the remote renderer to the base renderer.
* Removes all the locking from the base renderer.
2019-02-07 07:03:52 -08:00
BrennanConroy
744a32a750
SignalR C++ tests passing and part of build ( #7160 )
2019-02-06 17:23:23 -08:00
Doug Bunting
cf9e459da7
Add link to ASP.NET API Versioning project
2019-02-06 14:31:35 -08:00
Pavel Krymets
0211e894fe
Use Win32 as native platform ( #7309 )
2019-02-06 12:17:55 -08:00
Nate McMaster
075612b988
Install the .NET Core SDK into the repo root instead of UserProfile and 'install' copy of AspNetCore shared framework ( #7293 )
...
This is required to workaround several limitations in the way the .NET Core SDK finds shared frameworks and targeting packs. It allow tests to use shared frameworks and targeting packs.
It also matches the patterns established in other aspnet and dotnet repos. This should reduce the friction required to adopt Arcade SDK.
## Changes
* This moves the default location of the .NET Core SDK installation into `$repoRoot/.dotnet`. This location was already in use for CI builds.
* Update the build step for Microsoft.AspNetCore.App to install the shared framework into the local copy of the .NET Core SDK
## Recommendations
* Use the "startvs.cmd" script to launch Visual Studio. This will set required environment variables to make VS happier than if you just double click the .sln file.
* Use "activate.sh/ps1" if you want to run `dotnet build`, `dotnet test` and other dotnet commands. These will set required environment variables, including PATH.
* I recommend removing %USERPROFILE%/.dotnet to your PATH variable if you had added it manually before. This will no longer match what build tools will install.
* `git clean -xfd -e .dotnet/` preserves the folder so you don’t have to re-download the SDK again.
2019-02-06 11:20:49 -08:00
Jacques Eloff
94a4293cce
Merge pull request #7287 from johnbeisner/UpdateColor
...
Updating the DotNetLogo bitmaps' purple color to .Net core's latest branding
2019-02-06 09:13:00 -08:00
Steve Sanderson
9ea678358c
In Blazor templates, update survey links. Fixes #7130
2019-02-06 10:10:27 +00:00
Steve Sanderson
a5915edada
In Blazor Hosted template, use Json.NET. Fixes #7122
2019-02-06 10:10:27 +00:00
John Beisner
0970019ce7
Updating per code review...
2019-02-06 00:54:01 +00:00
Chris Ross
7bd5297cfa
Re-enable h2spec tests with more diagnostics Internal/#1720 ( #7259 )
2019-02-05 16:18:12 -08:00
Pavel Krymets
b21c09665e
Add DisposeAsync support to WebHost and RequestServices ( #7091 )
2019-02-05 15:42:41 -08:00
Pavel Krymets
6a46f48eb0
Add support for suspending ANCM startup ( #7252 )
...
Uses the `ASPNETCORE_STARTUP_SUSPEND_EVENT` environment variable to get an event name.
Fixes: https://github.com/aspnet/AspNetCore/issues/6972
2019-02-05 15:41:45 -08:00
Martin Perry
01e986e1d3
Move ReactRedux-CSharp TypeScript files to new ProjectTemplates folder
2019-02-05 22:47:08 +00:00
Ryan Brandenburg
ad0377e88f
Bootstrap 3.4.0 ( #7201 )
...
Move bootstrap 3.3 to 3.4 in samples
2019-02-05 14:31:15 -08:00
John Beisner
b7c341d228
Updating the DotNetLogo bitmaps' purple color to .Net core's latest branding.
2019-02-05 22:09:36 +00:00
dotnet-maestro[bot]
80846317b5
Update dependencies from 5 repositories ( #7132 )
...
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190129.2
This change updates the following dependencies
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview-19079-02
- Microsoft.NET.Sdk.Razor - 3.0.0-preview-19079-02
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview-19079-02
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview-19079-02
* Update dependencies from https://github.com/dotnet/corefx build 20190129.11
This change updates the following dependencies
- System.ComponentModel.Annotations - 4.6.0-preview.19079.11
- Microsoft.CSharp - 4.6.0-preview.19079.11
- Microsoft.Win32.Registry - 4.6.0-preview.19079.11
- System.Runtime.CompilerServices.Unsafe - 4.6.0-preview.19079.11
- System.Security.Cryptography.Cng - 4.6.0-preview.19079.11
- System.Reflection.Metadata - 1.7.0-preview.19079.11
- System.Security.Cryptography.Pkcs - 4.6.0-preview.19079.11
- System.Security.Cryptography.Xml - 4.6.0-preview.19079.11
- System.Security.Permissions - 4.6.0-preview.19079.11
- System.Security.Principal.Windows - 4.6.0-preview.19079.11
- System.ServiceProcess.ServiceController - 4.6.0-preview.19079.11
- System.Text.Encodings.Web - 4.6.0-preview.19079.11
- System.Threading.Channels - 4.6.0-preview.19079.11
- System.Data.SqlClient - 4.7.0-preview.19079.11
- System.Diagnostics.DiagnosticSource - 4.6.0-preview.19079.11
- System.Diagnostics.EventLog - 4.6.0-preview.19079.11
- System.Net.Http.WinHttpHandler - 4.6.0-preview.19079.11
- System.Net.WebSockets.WebSocketProtocol - 4.6.0-preview.19079.11
- System.Numerics.Vectors - 4.6.0-preview.19079.11
- System.IO.Pipelines - 4.6.0-preview.19079.11
* Update dependencies from https://github.com/dotnet/core-setup build 20190129.4
This change updates the following dependencies
- Microsoft.DotNet.PlatformAbstractions - 3.0.0-preview-27329-4
- Microsoft.Extensions.DependencyModel - 3.0.0-preview-27329-4
- Microsoft.NETCore.App - 3.0.0-preview-27329-4
* Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20190129.4
This change updates the following dependencies
- dotnet-ef - 3.0.0-preview.19079.4
- Microsoft.EntityFrameworkCore - 3.0.0-preview.19079.4
- Microsoft.EntityFrameworkCore.Tools - 3.0.0-preview.19079.4
- Microsoft.EntityFrameworkCore.InMemory - 3.0.0-preview.19079.4
- Microsoft.EntityFrameworkCore.Relational - 3.0.0-preview.19079.4
- Microsoft.EntityFrameworkCore.Sqlite - 3.0.0-preview.19079.4
- Microsoft.EntityFrameworkCore.SqlServer - 3.0.0-preview.19079.4
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190130.2
This change updates the following dependencies
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview-19080-02
- Microsoft.NET.Sdk.Razor - 3.0.0-preview-19080-02
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview-19080-02
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview-19080-02
* Update dependencies from https://github.com/dotnet/corefx build 20190130.5
This change updates the following dependencies
- System.ComponentModel.Annotations - 4.6.0-preview.19080.5
- Microsoft.CSharp - 4.6.0-preview.19080.5
- Microsoft.Win32.Registry - 4.6.0-preview.19080.5
- System.Runtime.CompilerServices.Unsafe - 4.6.0-preview.19080.5
- System.Security.Cryptography.Cng - 4.6.0-preview.19080.5
- System.Reflection.Metadata - 1.7.0-preview.19080.5
- System.Security.Cryptography.Pkcs - 4.6.0-preview.19080.5
- System.Security.Cryptography.Xml - 4.6.0-preview.19080.5
- System.Security.Permissions - 4.6.0-preview.19080.5
- System.Security.Principal.Windows - 4.6.0-preview.19080.5
- System.ServiceProcess.ServiceController - 4.6.0-preview.19080.5
- System.Text.Encodings.Web - 4.6.0-preview.19080.5
- System.Threading.Channels - 4.6.0-preview.19080.5
- System.Data.SqlClient - 4.7.0-preview.19080.5
- System.Diagnostics.DiagnosticSource - 4.6.0-preview.19080.5
- System.Diagnostics.EventLog - 4.6.0-preview.19080.5
- System.Net.Http.WinHttpHandler - 4.6.0-preview.19080.5
- System.Net.WebSockets.WebSocketProtocol - 4.6.0-preview.19080.5
- System.Numerics.Vectors - 4.6.0-preview.19080.5
- System.IO.Pipelines - 4.6.0-preview.19080.5
* Update dependencies from https://github.com/dotnet/core-setup build 20190130.4
This change updates the following dependencies
- Microsoft.DotNet.PlatformAbstractions - 3.0.0-preview-27330-4
- Microsoft.Extensions.DependencyModel - 3.0.0-preview-27330-4
- Microsoft.NETCore.App - 3.0.0-preview-27330-4
* Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20190130.1
This change updates the following dependencies
- dotnet-ef - 3.0.0-preview.19080.1
- Microsoft.EntityFrameworkCore - 3.0.0-preview.19080.1
- Microsoft.EntityFrameworkCore.Tools - 3.0.0-preview.19080.1
- Microsoft.EntityFrameworkCore.InMemory - 3.0.0-preview.19080.1
- Microsoft.EntityFrameworkCore.Relational - 3.0.0-preview.19080.1
- Microsoft.EntityFrameworkCore.Sqlite - 3.0.0-preview.19080.1
- Microsoft.EntityFrameworkCore.SqlServer - 3.0.0-preview.19080.1
* Update dependencies from https://github.com/aspnet/Extensions build 20190129.8
This change updates the following dependencies
- Internal.AspNetCore.Analyzers - 3.0.0-preview.19079.8
- Microsoft.Extensions.WebEncoders - 3.0.0-preview.19079.8
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 3.0.0-preview.19079.8
- Microsoft.Extensions.Diagnostics.HealthChecks - 3.0.0-preview.19079.8
- Microsoft.Extensions.DiagnosticAdapter - 3.0.0-preview.19079.8
- Microsoft.Extensions.DependencyInjection.Abstractions - 3.0.0-preview.19079.8
- Microsoft.Extensions.DependencyInjection - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.Xml - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.UserSecrets - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.KeyPerFile - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.Json - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.Ini - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.FileExtensions - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.EnvironmentVariables - 3.0.0-preview.19079.8
- Microsoft.Extensions.FileProviders.Abstractions - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.CommandLine - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.AzureKeyVault - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.Abstractions - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration - 3.0.0-preview.19079.8
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-preview.19079.8
- Microsoft.Extensions.Caching.StackExchangeRedis - 3.0.0-preview.19079.8
- Microsoft.Extensions.Caching.SqlServer - 3.0.0-preview.19079.8
- Microsoft.Extensions.Caching.Memory - 3.0.0-preview.19079.8
- Microsoft.Extensions.Caching.Abstractions - 3.0.0-preview.19079.8
- Microsoft.Extensions.ActivatorUtilities.Sources - 3.0.0-preview.19079.8
- Microsoft.AspNetCore.Testing - 3.0.0-preview.19079.8
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview.19079.8
- Microsoft.AspNetCore.Analyzer.Testing - 3.0.0-preview.19079.8
- Microsoft.Extensions.Configuration.Binder - 3.0.0-preview.19079.8
- Microsoft.Extensions.FileProviders.Composite - 3.0.0-preview.19079.8
- Microsoft.Extensions.FileProviders.Embedded - 3.0.0-preview.19079.8
- Microsoft.Extensions.FileProviders.Physical - 3.0.0-preview.19079.8
- Microsoft.Extensions.TypeNameHelper.Sources - 3.0.0-preview.19079.8
- Microsoft.Extensions.Primitives - 3.0.0-preview.19079.8
- Microsoft.Extensions.ParameterDefaultValue.Sources - 3.0.0-preview.19079.8
- Microsoft.Extensions.Options.DataAnnotations - 3.0.0-preview.19079.8
- Microsoft.Extensions.Options.ConfigurationExtensions - 3.0.0-preview.19079.8
- Microsoft.Extensions.Options - 3.0.0-preview.19079.8
- Microsoft.Extensions.ObjectPool - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging.TraceSource - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging.Testing - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging.EventSource - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging.Debug - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging.Console - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging.Configuration - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging.AzureAppServices - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging.Abstractions - 3.0.0-preview.19079.8
- Microsoft.Extensions.Logging - 3.0.0-preview.19079.8
- Microsoft.Extensions.Localization.Abstractions - 3.0.0-preview.19079.8
- Microsoft.Extensions.Localization - 3.0.0-preview.19079.8
- Microsoft.Extensions.Http - 3.0.0-preview.19079.8
- Microsoft.Extensions.Hosting.Abstractions - 3.0.0-preview.19079.8
- Microsoft.Extensions.Hosting - 3.0.0-preview.19079.8
- Microsoft.Extensions.HostFactoryResolver.Sources - 3.0.0-preview.19079.8
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-preview.19079.8
- Microsoft.Extensions.FileSystemGlobbing - 3.0.0-preview.19079.8
- Microsoft.JSInterop - 3.0.0-preview.19079.8
* Add json.net reference to UI package directly
* fix new package
* latest package
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190131.3
This change updates the following dependencies
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview-19081-03
- Microsoft.NET.Sdk.Razor - 3.0.0-preview-19081-03
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview-19081-03
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview-19081-03
* Update Versions.props
* Update Versions.props
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190201.4
This change updates the following dependencies
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview-19101-04
- Microsoft.NET.Sdk.Razor - 3.0.0-preview-19101-04
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview-19101-04
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview-19101-04
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190203.1
This change updates the following dependencies
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview-19103-01
- Microsoft.NET.Sdk.Razor - 3.0.0-preview-19103-01
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview-19103-01
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview-19103-01
* Update Versions.props
* Update BasicWebSite.Home.CSharp7View.html
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190204.4
This change updates the following dependencies
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview-19104-04
- Microsoft.NET.Sdk.Razor - 3.0.0-preview-19104-04
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview-19104-04
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview-19104-04
* Update dependencies from https://github.com/dotnet/core-setup build 20190204.9
This change updates the following dependencies
- Microsoft.DotNet.PlatformAbstractions - 3.0.0-preview-27404-9
- Microsoft.Extensions.DependencyModel - 3.0.0-preview-27404-9
- Microsoft.NETCore.App - 3.0.0-preview-27404-9
* Update dependencies from https://github.com/aspnet/Extensions build 20190205.3
This change updates the following dependencies
- Internal.AspNetCore.Analyzers - 3.0.0-preview.19105.3
- Microsoft.JSInterop - 3.0.0-preview.19105.3
- Microsoft.Extensions.FileProviders.Abstractions - 3.0.0-preview.19105.3
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 3.0.0-preview.19105.3
- Microsoft.Extensions.Diagnostics.HealthChecks - 3.0.0-preview.19105.3
- Microsoft.Extensions.DiagnosticAdapter - 3.0.0-preview.19105.3
- Microsoft.Extensions.DependencyInjection.Abstractions - 3.0.0-preview.19105.3
- Microsoft.Extensions.DependencyInjection - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.Xml - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.UserSecrets - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.KeyPerFile - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.Json - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.Ini - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.FileExtensions - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.EnvironmentVariables - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.CommandLine - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.Binder - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.AzureKeyVault - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration.Abstractions - 3.0.0-preview.19105.3
- Microsoft.Extensions.Configuration - 3.0.0-preview.19105.3
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-preview.19105.3
- Microsoft.Extensions.Caching.StackExchangeRedis - 3.0.0-preview.19105.3
- Microsoft.Extensions.Caching.SqlServer - 3.0.0-preview.19105.3
- Microsoft.Extensions.Caching.Memory - 3.0.0-preview.19105.3
- Microsoft.Extensions.Caching.Abstractions - 3.0.0-preview.19105.3
- Microsoft.Extensions.ActivatorUtilities.Sources - 3.0.0-preview.19105.3
- Microsoft.AspNetCore.Testing - 3.0.0-preview.19105.3
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview.19105.3
- Microsoft.AspNetCore.Analyzer.Testing - 3.0.0-preview.19105.3
- Microsoft.Extensions.FileProviders.Composite - 3.0.0-preview.19105.3
- Microsoft.Extensions.FileProviders.Embedded - 3.0.0-preview.19105.3
- Microsoft.Extensions.FileSystemGlobbing - 3.0.0-preview.19105.3
- Microsoft.Extensions.WebEncoders - 3.0.0-preview.19105.3
- Microsoft.Extensions.ValueStopwatch.Sources - 3.0.0-preview.19105.3
- Microsoft.Extensions.TypeNameHelper.Sources - 3.0.0-preview.19105.3
- Microsoft.Extensions.Primitives - 3.0.0-preview.19105.3
- Microsoft.Extensions.ParameterDefaultValue.Sources - 3.0.0-preview.19105.3
- Microsoft.Extensions.Options.DataAnnotations - 3.0.0-preview.19105.3
- Microsoft.Extensions.Options.ConfigurationExtensions - 3.0.0-preview.19105.3
- Microsoft.Extensions.Options - 3.0.0-preview.19105.3
- Microsoft.Extensions.ObjectPool - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging.TraceSource - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging.Testing - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging.EventSource - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging.Debug - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging.Console - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging.Configuration - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging.AzureAppServices - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging.Abstractions - 3.0.0-preview.19105.3
- Microsoft.Extensions.Logging - 3.0.0-preview.19105.3
- Microsoft.Extensions.Localization.Abstractions - 3.0.0-preview.19105.3
- Microsoft.Extensions.Localization - 3.0.0-preview.19105.3
- Microsoft.Extensions.Http - 3.0.0-preview.19105.3
- Microsoft.Extensions.Hosting.Abstractions - 3.0.0-preview.19105.3
- Microsoft.Extensions.Hosting - 3.0.0-preview.19105.3
- Microsoft.Extensions.HostFactoryResolver.Sources - 3.0.0-preview.19105.3
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-preview.19105.3
- Microsoft.Extensions.FileProviders.Physical - 3.0.0-preview.19105.3
* Update Versions.props
* Update Versions.props
2019-02-05 14:07:36 -08:00
Stephen Halter
bf24899592
Auto-set "Content-Length: 0" on 205 responses ( #7205 )
2019-02-05 13:45:08 -08:00
Chris Ross
67037a0039
Replace JObject with JsonDocument in Authentication ( #7105 )
2019-02-05 13:37:20 -08:00
Pranav K
094c531e5d
Fix test
2019-02-05 10:56:31 -08:00
Pranav K
314ec6d1a9
Add a TypeForward for JsonResult
...
Fixes https://github.com/aspnet/AspNetCore/issues/7220
2019-02-05 10:56:31 -08:00
Ryan Brandenburg
28b56587b1
Handle PermanentRedirects in PrerenderTagHelpers ( #7179 )
...
Handle PermanentRedirects in PrerenderTagHelpers
2019-02-05 09:22:40 -08:00
Pavel Krymets
e3e9b120b3
Reenable tests that are though to be fixed ( #7254 )
...
ReaderThrowsCancelledException might be fixed by https://github.com/aspnet/AspNetCore/pull/6862
DoesNotStartIfDisabled was fixed by https://github.com/aspnet/AspNetCore/pull/7068
Also remove some extreme diagnostic features added in https://github.com/aspnet/AspNetCore/pull/7068
2019-02-05 09:20:45 -08:00
Pavel Krymets
0605d162ee
Use SetPlatform in native project references ( #7260 )
...
May fix https://github.com/aspnet/AspNetCore/issues/7250
We were double building native projects in x86 and win32 platforms
2019-02-05 09:15:25 -08:00
Martin Perry
61f68ccf6a
Merge
2019-02-05 16:55:21 +00:00
Steve Sanderson
cc3b1641e3
Strong-name the dotnet-blazor CLI tool. Fixes #1501
2019-02-05 14:58:57 +00:00
Mikael Mengistu
52842091f7
Reduce number of SauceLabs browsers ( #7152 )
2019-02-04 21:16:14 -08:00
Justin Kotalik
9251dfe7c0
Make GetMemory use MaxBufferSize for MemoryPool ( #7143 )
2019-02-04 13:55:48 -08:00
Pavel Krymets
f888a37712
More logs in forwardinghandler.cpp ( #7244 )
2019-02-04 11:21:58 -08:00
Pranav K
2e54d6485b
Introduce CircuitHandler to handle circuit lifetime events ( #6971 )
...
Introduce CircuitHandler to handle circuit lifetime events
Partial fix to https://github.com/aspnet/AspNetCore/issues/6353
2019-02-04 10:53:01 -08:00
Pranav K
62d10bc08e
Changes per PR
2019-02-04 09:50:12 -08:00
Pranav K
92df79b270
Remove unused
2019-02-04 09:38:40 -08:00
Pranav K
f1e70ec897
More PR changes
2019-02-04 09:38:40 -08:00
Pranav K
cec47f05e2
Fix names and grammar
2019-02-04 09:38:40 -08:00
Pranav K
e312d64194
[Design]: Introduce CircuitHandler to handle circuit lifetime events
...
Partial fix to https://github.com/aspnet/AspNetCore/issues/6353
2019-02-04 09:38:39 -08:00
Doug Bunting
e2c67bab78
Remove benchmark apps from Mvc.sln
...
- follow up to 61bc18fee3
2019-02-04 09:22:33 -08:00
David Fowler
9f202feafc
Rename IHttpContextContainer to IDefaultHttpContextContainer ( #7217 )
...
- Renamed since the property has to be a DefaultHttpContext
2019-02-02 22:31:49 -08:00
David Fowler
f3072339de
Handle null attributes in generated delegates ( #7210 )
2019-02-02 06:18:54 -08:00
Sébastien Ros
61bc18fee3
Exclude benchmark apps from builds ( #7171 )
2019-02-01 17:57:47 -08:00
Pavel Krymets
35746adf68
Allow test projects to run standalone ( #7144 )
2019-02-01 15:19:49 -08:00
Pranav K
d53f0da021
Merge pull request #7198 from aspnet/prkrishn/merge-2.2
...
Prkrishn/merge 2.2
2019-02-01 15:06:33 -08:00
Alexej Timonin
8f6853e155
Fix ReplaceTokens bug in AttributeRouteModel ( #6957 )
2019-02-02 11:57:18 +13:00
Pranav K
00d58e84a2
Merge remote-tracking branch 'origin/release/2.2'
2019-02-01 13:41:59 -08:00
Pranav K
c1a756c575
Skip test on OSX until this can be further diagnosed
2019-02-01 13:34:39 -08:00
Pavel Krymets
d4c55df8f4
Fix MAX_PATH issue in SiteExtensions and move them to main build ( #7177 )
2019-02-01 12:37:00 -08:00
Nate McMaster
7ee3399ce2
Fix code-signing for xplat packages and Windows installers ( #7191 )
2019-02-01 10:52:00 -08:00
Pranav K
1dcfa6e7fd
Use Razor Runtime Compilation in F# StarterWeb project
...
Fixes https://github.com/aspnet/AspNetCore/issues/4320
2019-02-01 10:51:14 -08:00
Doug Bunting
bb8c6fcd46
Remove aspnet/Scaffolding submodule ( #7166 )
...
- aspnet/AspNetCore-Internal#1341
- remove Scaffolding references from `build/artifacts.props`, `build/buildorder.props`, `build/submodules.props`, and our templates
- add versions for these packages in `build/dependencies.props` to enable their inclusion in the package archives
2019-02-01 10:15:49 -08:00
Gérald Barré
f1b24ccb92
Replace unsafe code with string.Create for hex generation ( #6784 )
2019-02-01 10:06:20 -08:00
BrennanConroy
1a61a58c51
Remove reconnect from C++ Client ( #7094 )
2019-01-31 23:21:38 -08:00
Mikael Mengistu
aca9bffd23
Java Client Small Clean up Items( #6969 )
2019-01-31 22:45:28 -08:00
James Newton-King
574be0d22c
Add readonly modifier to readonly structs ( #7169 )
2019-02-01 15:04:25 +13:00
Pranav K
51ec523d9e
Attempt to install chromium as part of restore instead of running the CORS tests
...
One more go at https://github.com/aspnet/AspNetCore-Internal/issues/1619
2019-01-31 16:32:35 -08:00
BrennanConroy
25869c4690
Remove Obsolete WebSocketMiddleware constructor ( #7163 )
2019-01-31 16:11:50 -08:00
Nate McMaster
6081fec894
Add new build.cmd/sh options for suppressing restore, NodeJS, setting target arch and OS name, and more ( #7137 )
...
Add new command line parameters for working with the project:
* `-NoBuild`, `-NoRestore` - these already existed, but users found it hard to discover this powershell syntax: '-build:$false'
* `-Arch`/`--arch` - set the target CPU architecture to build. Defaults to x64
* `--os-name` - on non-Windows builds, manually specify if the build should target Alpine. generic Linux, or MacOS
* Rename flags used to build specific project types. The pattern now is `--build-$(group)` or `--no-build-$(group)` (In PowerShell its `-Build$(Group)` or `-NoBuild$(Group). Example: -NoBuildJava
Changes to build definitions:
* Update the ci build definition to build all supported architectures
* Support publishing multiple artifacts per job
Other changes:
* `-NoBuild` implies `-NoRestore`
* Add new properties, `TargetArchitecture`, `TargetOsName`, and `TargetRuntimeIdentifier`
* Replace usages of `SharedFxRid` with these new properties
* To make `--no-build-nodejs` actually work, replaced Components.Browser.JS.csproj with Components.Browser.JS.npmproj
* Fix errors when building for win-arm on a clean machine
* Fix a few other project errors, like using the wrong syntax for DefaultItemExcludes, or using the wrong Platform value for x86
2019-01-31 15:47:47 -08:00
Casey Western
5a4a001d18
Removed unused app component css file ( #4438 )
...
* Removed unused css for app component
* Removed empty css file
2019-01-31 14:40:50 -08:00
James Newton-King
09e019841c
Validate required services in UseAuthorization ( #6915 )
2019-02-01 11:14:51 +13:00
James Newton-King
3c7649db88
Add RequireAuthorization method for default policy ( #6916 )
2019-02-01 09:59:11 +13:00
BrennanConroy
dbf82dc8c4
Use System.Text.Json for Negotiate and Handshake ( #6977 )
2019-01-31 11:38:09 -08:00
Pranav K
62d27bcd3e
Merge branch 'release/2.2' into merge/release/2.1-to-release/2.2
2019-01-31 09:37:09 -08:00
Justin Kotalik
7d21ee1a5a
Call Slice in GetMemory ( #7113 )
2019-01-30 14:26:56 -08:00
Justin Kotalik
8f51dd35ce
Make StreamPipeWriter.Complete throw if there is unflushed data ( #7115 )
2019-01-30 11:22:53 -08:00
Javier Calvarro Nelson
7ea4a5f778
[MVC] Normalize dependencies under the _dependencies folder in the solution ( #7128 )
2019-01-30 08:54:34 -08:00
Javier Calvarro Nelson
b2f41fc7cf
[Identity] Fix sample app ( #6805 )
...
Updates the sample app to account for changes in how MVC uses JSON.NET
2019-01-30 05:36:40 -08:00
Javier Calvarro Nelson
10156c496c
Merge branch 'master' into merge/release/2.2-to-master
2019-01-30 03:17:02 -08:00
Stephen Halter
4539b0d2c3
Increase shutdown timeout in Kestrel TestServer ( #7082 )
...
* Never use a null abort reason
2019-01-29 16:13:37 -08:00
Pranav K
ef1fc9e5c7
Put the BlazorExtension in artifacts
2019-01-29 15:41:11 -08:00
Pranav K
7a8b1d4461
Cleanup some infrastructure pieces in Components ( #6970 )
...
* Cleanup some infrastructure pieces in Components
2019-01-29 15:18:58 -08:00
Pranav K
93214b465c
Move Cors Functional tests to a separate test group
...
Attemp #2 at addressing https://github.com/aspnet/AspNetCore-Internal/issues/1619
Puppetteer will attempt to download chromium as part of running the test. This seems odd, but
it might explain why this might be afflicted with the file descriptor contention issues that
the mondo repo tests encounter.
Moving these out in to a separate test group to see if this helps
Possible fix for https://github.com/aspnet/AspNetCore-Internal/issues/1619
2019-01-29 15:18:39 -08:00
Pavel Krymets
6e8284711c
Change SiteExtension artifact location ( #7108 )
...
* Change SiteExtension artifact location
* Add exclusions
* Reuse main version logic
2019-01-29 15:00:35 -08:00
Pavel Krymets
ec8a4da9bb
Remove ANCM V1 leftovers ( #7104 )
2019-01-29 14:25:19 -08:00
James Newton-King
820ea09fdd
Add routing function test with convention builder ( #6829 )
2019-01-30 09:53:34 +13:00
Javier Calvarro Nelson
8958bdee2e
[ApiAuthorization] Make test more reliable ( #7092 )
2019-01-29 11:48:42 -08:00
Pavel Krymets
0691dc7102
Merge pull request #7089 from aspnet/pakrym/merge22-2
...
Merge branch 'release/2.2' => 'master'
2019-01-29 11:18:11 -08:00
Eilon Lipton
3757be6cfa
Merge pull request #6115 from Kahbazi/IdentityUI/RenameButton
...
Rename forgot password button
2019-01-29 10:59:06 -08:00
BrennanConroy
02f8d89725
Fix missing submodule ( #4329 )
2019-01-29 10:37:26 -08:00
Javier Calvarro Nelson
e0b264f1c0
[ApiAuthorization] Small fixes to adjust for the code on the SPA templates ( #7090 )
...
* Fix solution file
* Fixes the post_logout_redirect_uri parameter on the DefaultClientRequestParametersProvider
* Propagate state on ending session autoredirect
* Update defaults for local-spa profile to align them with template code
* Disable explicit support for WebApplications, it can still be enabled normally by configuring IS and we haven't evaluated the scenario E2E.
2019-01-29 10:27:16 -08:00
Nikita Potapenko
0047b620b9
Fixed copyright element ( #7087 )
...
Summary of the changes:
- Updated copyright symbol
- Changed file encoding to UTF-8 without BOM
Fixes #7065
2019-01-29 10:19:21 -08:00
Pranav K
0f072a9565
Reintroduce a package for Razor runtime compilation ( #6653 )
...
* Reintroduce a package for Razor runtime compilation
Fixes https://github.com/aspnet/AspNetCore/issues/4947
2019-01-29 09:34:43 -08:00
Pavel Krymets
1ecc8dd9c6
Remove AspNetCoreModule V1 ( #7071 )
2019-01-29 08:20:00 -08:00
Pavel Krymets
602a140a7a
Merge branch 'release/2.2'
2019-01-28 21:51:18 -08:00
Hao Kung
aeb506c0b0
Remove obsolete 1.x UseIdentity + UseXyz auth API ( #6965 )
...
* Remove obsolete API
* Delete CookieAppBuilderExtensions.cs
* Delete FacebookAppBuilderExtensions.cs
* Delete GoogleAppBuilderExtensions.cs
* Delete JwtBearerAppBuilderExtensions.cs
* Delete MicrosoftAccountAppBuilderExtensions.cs
* Delete OAuthAppBuilderExtensions.cs
* Delete OpenIdConnectAppBuilderExtensions.cs
* Delete TwitterAppBuilderExtensions.cs
2019-01-28 21:37:51 -08:00
Pavel Krymets
78fabbdb40
Build 3.0 AggregateSite extension ( #6849 )
2019-01-28 20:09:51 -08:00
BrennanConroy
a8f1b034d8
Pass in auth type for WindowsAuth in out of proc ( #7074 )
2019-01-28 20:06:23 -08:00
Justin Kotalik
1222d8de49
Add StartAsync() to HttpResponse; ImplementFeature in Kestrel ( #6967 )
2019-01-28 17:42:04 -08:00
Nate McMaster
e1971f1d12
Fix the generated metadata for PackageConflictOverrides in Microsoft.AspNetCore.App.props
2019-01-28 16:57:02 -08:00
Pranav K
29898df8a8
Attempt to run Cors functional tests with watchman disabled. ( #7076 )
...
According to https://github.com/facebook/jest/issues/2219 , jest will
not run tests if watchman is installed. It is not entirely clear if
this is the case in our OSX CI environment, but the symptoms seem close
to what's reported in the issue.
Possible fix for https://github.com/aspnet/AspNetCore-Internal/issues/1619
2019-01-28 16:44:56 -08:00
Pavel Krymets
963508b9b9
Add more logging to iis graceful shutdown ( #7068 )
2019-01-28 16:23:55 -08:00
Pavel Krymets
f06e1822f5
Enable strict mode in roslyn compiler ( #6950 )
2019-01-28 15:56:27 -08:00
Patrick Westerhoff
1bc056a7f6
Introduce IUrlHelper.PageLink ( #6819 ) ( #6819 )
...
Add an extension method to generate an absolute URL for a page.
2019-01-28 15:42:10 -08:00
James Newton-King
4b8d9666f4
Add startvs.cmd for MVC and Security solutions ( #6943 )
...
* Add startvs.cmd for MVC
* Add startvs.cmd for Security
2019-01-28 15:37:14 -08:00
Justin Kotalik
7a98a04c53
Drain requests in native instead of managed for IIS In-process ( #6816 )
2019-01-28 15:20:28 -08:00
David Fowler
9f71e60283
Hoist method attributes from the request delegate as metadata. ( #6911 )
...
- This should allow a more declarative approach to declaring endpoint metadata using the default methods.
- Attributes are applied first and can be overridden imperatively
2019-01-28 20:38:49 +00:00
David Fowler
14d8e33a93
Remove .Start from BufferSegment ( #6832 )
2019-01-28 20:37:25 +00:00
David Fowler
447f4bc298
Reuse the stack for OnCompleted and OnStarting calls ( #6833 )
...
- Reviewing profiles for MVC and other things that use RegisterForDispose, this shows up as a significant amount of allocations.
2019-01-28 20:37:11 +00:00
David Fowler
549f8e1773
Remove over engineered callback writing and just write chunks directly. ( #6901 )
2019-01-28 20:36:47 +00:00
Chris Ross
7d4b6fccff
Clean up ManualResetEvent usage in tests ( #6961 )
2019-01-28 12:10:16 -08:00
Chris Ross
65ee89a71e
Remove the google auth patch quirk #6710 ( #6964 )
2019-01-28 12:09:25 -08:00
Pavel Krymets
440204892e
Use published apps in IIS tests ( #7027 )
2019-01-28 12:02:42 -08:00
BrennanConroy
436d4452aa
Refactor hub invocation cleanup ( #6655 )
2019-01-28 11:46:37 -08:00
Nate McMaster
ac04019e42
Remove obsolete build infrastructure ( #6995 )
...
Changes:
* Remove obsolete targets which are unnecessary now that this repo no longer builds git submodules in a separate build process
* Remove the need for static analysis of 'ArtifactInfo' items
* Simplify how the code signing task is configured
* Remove unused repo tasks
* Remove duplicate lists of external dependencies and packages to be produced
* Remove obsolete build definition
* Remove obsolete build script parameters
* Add VisualStudioSetupOutputPath
2019-01-28 09:57:59 -08:00
Chris Ross
6c5e0cae67
Skip kestrel h2spec tests ( #7035 )
2019-01-28 09:36:05 -08:00
Pavel Krymets
141f3d8781
Reenable application initialization module tests ( #7024 )
2019-01-28 09:24:42 -08:00
Pavel Krymets
3ea1f6a0e9
Disable ResponseFormats_Chunked test ( #6952 )
2019-01-25 21:03:18 -08:00
Pranav K
1aa50faa29
Account for null Endpoint
2019-01-25 15:38:23 -08:00
Pranav K
f2ee3201ae
No-op Authorization middleware for Razor Pages
...
Workaround for https://github.com/aspnet/AspNetCore/issues/7011
2019-01-25 15:38:23 -08:00
Chris Ross
2b7c26a123
Dynamically install NGinx Internal/#1525 ( #6963 )
2019-01-25 14:32:32 -08:00
Christian Liebel
07926f0677
Update repo links for SignalR TS client in package.json after move ( #4425 )
2019-01-25 13:53:30 -08:00
Pranav K
16228c646a
Changes per PR
2019-01-25 13:53:07 -08:00
Pranav K
c8319ece2a
Cleanup some infrastructure pieces in Components
2019-01-25 13:51:03 -08:00
Pavel Krymets
ebb7f3ade3
Harden IISExpress shutdown code ( #7004 )
2019-01-25 09:19:51 -08:00
Chris Ross
a16a6dfaeb
Block generic host Startup.ConfigureServices that return IServiceProvider #5149 ( #6997 )
2019-01-25 08:16:39 -08:00
Nate McMaster
aef117ff3f
Update dependencies ( #6879 )
2019-01-24 18:49:00 -08:00
Nate McMaster
2b6f5c28c4
Don't deploy VSIX when building in CI
2019-01-24 17:42:14 -08:00
Nate McMaster
5a0e227fad
Merge branch 'release/2.2'
2019-01-24 16:14:55 -08:00
Pavel Krymets
91f9c6396d
Supress pubternal analyzer warnings for DataProtection ( #6996 )
2019-01-24 15:35:12 -08:00
Ryan Nowak
f0fc598511
Resurrect Blazor VSIX ( #6779 )
...
* Remove Blazor.LanguageServices
The text-view-listener was the only thing here and it's not needed
anymore now that these features are build into our main VS payload.
We won't have any more code to put in this project because it's this
VSIX is pretty temporary.
* Remove reference to ProjectSystem
We don't need this reference, and it's got some breaking changes between
15 and 16 - rahter then mess with nuget sources for vs16 packages, I'm
just going to drop the dependency
* Remove unused cruft
* Target net472
* Add Blazor VSIX to build
* Add Extension to .sln
* Use AsyncPackage
* Update and streamline references
* Update manifest for 16.0
* Pack Templates before building VSIX
* Fix version of templates
2019-01-24 14:26:12 -08:00
Stephen Halter
2853b451a2
Add RequestAbortedTokenIsUsableAfterCancellation test
2019-01-24 12:38:16 -08:00
Stephen Halter
5d554aeecd
Revert "Wait to dispose RequestAborted CTS ( #4447 )"
...
This reverts commit 0622513058 .
2019-01-24 11:23:58 -08:00
BrennanConroy
093ade9ed6
Fix SignalR tests
2019-01-24 10:08:32 -08:00
Nate McMaster
33bc4576da
Convert ProjectTemplates to build using ProjectReferences ( #6935 )
2019-01-23 15:54:47 -08:00
Artak
a923c725a1
Fixed https://github.com/aspnet/AspNetCore/issues/5206 : Fixing a minor html syntax error
2019-01-23 15:10:36 -08:00
Chris Ross
24f37a9619
[automated] Merge branch 'release/2.2' => 'master'
2019-01-23 11:40:55 -08:00
Steve Sanderson
a1d49e19b5
Revert feature that resets unspecified parameters to default(type). Fixes #6864 ( #6931 )
2019-01-22 16:16:07 -08:00
Chris Ross
1fe7f5e02a
Make auth schemes const #5884 #6020 ( #6934 )
2019-01-22 15:04:10 -08:00
Chris Ross
f4c5ac7635
Move Kestrel.Core.Tests to their own test group ( #6927 )
2019-01-22 12:41:12 -08:00
Chris Ross
31d57a5756
Move Kestrel Sockets tests to their own group ( #6869 )
2019-01-22 08:58:33 -08:00
Pranav K
371595962a
Use AddNewtonsoftJson in RazorPages template ( #6877 )
2019-01-19 21:18:26 -08:00
Nate McMaster
958e904989
Remove JsonPatch from the shared framework ( #6867 )
2019-01-18 22:03:49 -08:00
Pavel Krymets
f83f3bca08
Lock when removing disconnect handler ( #6862 )
2019-01-18 20:25:56 -08:00
Chris Ross
9dee5d7e26
Move identity functional test to their own group ( #6865 )
2019-01-18 19:29:46 -08:00
John Luo
8c06f04d50
Call StopAsync before disposing ( #6189 ) ( #6866 )
2019-01-18 18:30:54 -08:00
Pavel Krymets
8006e2d07f
More logging in IISExpress shutdown ( #6854 )
2019-01-18 14:29:07 -08:00
Justin Kotalik
707f06ead8
Address flaky ANCMV1 tests ( #6844 )
2019-01-18 14:22:56 -08:00
Steve Sanderson
ee5d6a2246
Remove unwanted linebreak from Razor Components template
2019-01-18 14:22:37 -08:00
Steve Sanderson
4259fda63f
Update condition for skipping custom restore sources in Blazor templates
2019-01-18 14:22:37 -08:00
Steve Sanderson
6c4a7c309d
Fix symbol replacement in Blazor templates
2019-01-18 14:22:37 -08:00
Steve Sanderson
a1700bc162
Remove incorrect Microsoft.NET.Sdk.Razor references from Blazor templates
2019-01-18 14:22:37 -08:00
Steve Sanderson
2c1c39cf07
Clean up templates
2019-01-18 14:22:37 -08:00
Steve Sanderson
c901cc069d
Rename IBlazorApplicationBuilder->IComponentsApplicationBuilder
2019-01-18 14:22:37 -08:00
Mikael Mengistu
921c6c16d6
Fixing SignalR Daily Tests ( #6630 )
2019-01-18 13:40:52 -08:00
Nate McMaster
922512a9fb
Convert the artifacts folder layout to match Arcade ( #6850 )
...
Changes:
* IsProductPackage => IsShippingPackage
* artifacts/$config/packages => artifacts/packages/$config
* packages/product => packages/Shipping
* packages/internal => packages/NonShipping
* Renamed MSBuild properties used for output folders
* Update build tools to use 2 spaces in global.json
2019-01-18 13:38:24 -08:00
Pranav K
c04f66d25e
Mark Mvc.NewtonsoftJson as a shipping package ( #6842 )
2019-01-18 11:03:47 -08:00
Pranav K
89a7f3cf77
Introduce IUrlHelper.ActionLink ( #6775 )
...
Fixes https://github.com/aspnet/AspNetCore/issues/4890
2019-01-18 09:22:04 -08:00
Ryan Brandenburg
5872af6e61
Skip ShutdownTestRun on linux too
2019-01-17 20:59:11 -08:00
Ryan Brandenburg
3ede876dfb
PR cleanup
2019-01-17 20:59:11 -08:00
Ryan Brandenburg
b906de2c5f
Remove web
2019-01-17 20:59:11 -08:00
Ryan Brandenburg
10b63c06db
Fix Templates
2019-01-17 20:59:11 -08:00
Ryan Brandenburg
82701c1eba
Fix Templating
2019-01-17 20:59:11 -08:00
Steve Sanderson
cca71ad4d2
Add missing ProjectCapability for Razor Components
2019-01-17 20:54:46 -08:00
Stephen Halter
7d4ae6049f
Revert "Revert "Wait to dispose RequestAborted CTS ( #4447 )"" ( #6812 )
...
This reverts commit 29b7c5c030 .
2019-01-17 16:22:03 -08:00
Chris Ross
9c017cd805
Move generic webhost log output, enable in templates ( #6814 )
2019-01-17 15:32:39 -08:00
Ryan Brandenburg
49a2de9e59
Remove old properties ( #6396 )
...
* Remove AspNetCoreHostingModel which is now redundant
* Remove NETCoreAppMaximumVersion
2019-01-17 13:42:28 -08:00
Nate McMaster
090c53ce71
Update dependencies with darc ( #6714 )
2019-01-17 13:30:58 -08:00
Steve Sanderson
0714466de4
Cleanups for Razor Components template
2019-01-17 12:58:16 -08:00
Steve Sanderson
694eaf793e
Temporary workaround for incorrect Blazor CLI package metadata generation ( #6781 )
2019-01-17 12:35:44 -08:00
Chris Ross
452750667e
Convert razor templates to generic host ( #6809 )
2019-01-17 11:49:35 -08:00
Javier Calvarro Nelson
15edd84d40
[MVC] Add MVC integration with Razor Components
...
* Adds RenderComponentAsync extension methods to IHtmlHelper that allow
for prerrendering of Razor components within MVC views.
2019-01-17 11:25:03 -08:00
Nate McMaster
53682c0548
Merge branch 'release/2.2'
2019-01-17 11:01:12 -08:00
Pavel Krymets
829cd7271e
Fix signing for 2.2 site extensions ( #6777 )
2019-01-17 10:42:58 -08:00
James Newton-King
133a7e0414
Add XML docs to endpoint route builder and extensions ( #6700 )
2019-01-18 07:23:47 +13:00
Pranav K
a65e34bd30
Revert "Revert "Put Razor.Design.Test and Razor.Language.Test in a different test group ( #6725 )" ( #6753 )"
...
This reverts commit 9831238b7c .
2019-01-17 10:02:03 -08:00
Pranav K
cc892071b2
Fixup doc comments for ContentResult
...
Fixes https://github.com/aspnet/AspNetCore/issues/5159
2019-01-17 09:59:43 -08:00
Hao Kung
2791dbf892
Update shared tests to target netcoreapp3.0 on master ( #6788 )
2019-01-17 09:50:41 -08:00
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
Kahbazi
828ec2ef35
Remove nameof for event name
2019-01-09 12:08:55 +03:30
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
Javier Calvarro Nelson
4046c842af
Update Identity Server dependencies to 2.3.0 ( #2077 )
2018-11-20 15:19:14 -08:00
Jacques Eloff
5a446ecc53
Merge pull request #4165 from aspnet/joeloff/SharedInstall
...
#3697 - override default install location
2018-11-20 13:41:08 -08:00
Nate McMaster
1d9b77e255
Import DotNetPackageVersionPropsPath into all sub-folder builds
2018-11-20 13:23:55 -08:00
Ryan Brandenburg
48528cf69f
Fix templating casing
2018-11-20 12:53:46 -08:00
Nate McMaster
0f904c518e
React to breaking changes in Microsoft.Extensions.Logging.Abstractions
2018-11-20 12:52:15 -08:00
Nate McMaster
43fa1ba365
Import DotNetPackageVersionPropsPath into the src/IISIntegration build context
2018-11-20 12:10:44 -08:00
Ryan Brandenburg
bd54395fe5
Remove duplicate keys
2018-11-20 12:07:14 -08:00
Jacques Eloff
07c3931758
#3697 - override default install location
2018-11-20 12:02:03 -08:00
Nate McMaster
71ca1faa6b
React to MSBuild breaking changes and remove ProdCon v1 variables ( #4161 )
...
This should unblock the consumption of the latest .NET Core SDK, which includes breaking changes in MSBuild. We don't _really_ need the MSBuild APIs which were broken because ProdCon v1 is dead. This removes the unused ProdCon v1 tasks and targets.
2018-11-20 11:34:53 -08:00
Ryan Brandenburg
5e36c334e1
Merge remote-tracking branch 'MetaPackages/rybrande/release22ToSrc' into rybrande/Mondo2.2
2018-11-20 11:10:34 -08:00
Ryan Brandenburg
2b146e5266
Merge remote-tracking branch 'JavaScriptServices/rybrande/release22ToSrc' into rybrande/Mondo2.2
2018-11-20 11:10:19 -08:00
Ryan Brandenburg
65ceeb6560
Merge remote-tracking branch 'AADIntegration/rybrande/release22ToSrc' into rybrande/Mondo2.2
2018-11-20 11:09:14 -08:00
Ryan Brandenburg
a6acf47e79
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 27efce1042
2018-11-20 11:06:50 -08:00
Ryan Brandenburg
964498a69d
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 7819c2f950
2018-11-20 11:04:10 -08:00
Ryan Nowak
1521f9298b
Relayer action discovery infrastructure
...
This change introduces a service facade for creating the application
model, running conventions, validating the result, and flattening the
model.
This is used in the ControllerActionDescriptorProvider and provides the
existing functionality for now. The ControllerActionDescriptorProvider
will process the results and turn each 'flattened' model into a single
action descriptor.
The next change will introduce another consumer of this service, that
turns the 'flattened' model into an EndpointModel so that it can be
exposed via Endpoint Routing's convention system.
---
The main considerations here:
The flattening semantics of application model are pretty complicated :(
The validation that CADP does is actually pretty in depth and might be
really low value... Errors with writing route templates do happen, and
those will be caught by the routing system eventually.... Errors with
duplicate route names are similar... Errors with 'mixed' attribute and
conventional routing are not at all common. I don't think I've ever seen
an issue get filed about this. I did the work to port all of this stuff
forward but I'm not totally sure it's valuable - however, I don't really
want to make an argument for its removal. These are just some random
thoughts to keep in mind if you're reviewing this 👍
2018-11-20 11:03:37 -08:00
Nate McMaster
7ffbb6ed3b
Continue to produce .Sources packages from src/Shared/
...
This is temporary until we finish replacing internal PackageReference with project ref
2018-11-20 11:01:36 -08:00
Ryan Brandenburg
33b736b4a7
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 0efa96de73
2018-11-20 10:57:52 -08:00
Pranav K
5a6d438f7b
API review feedback for pubinternal type changes
2018-11-20 10:50:37 -08:00
Nate McMaster
0af21077c3
Update .NET Core 3.0 dependencies ( #4091 )
...
* Update Extensions to 3.0.0-preview.18569.14
* Update EFCore to 3.0.0-preview.18569.2
* Update corefx to preview.18566.8
* Update core-setup to preview-27117-01
2018-11-20 10:37:13 -08:00
Ryan Brandenburg
b335283ab1
Merge branch 'release/2.1' of github.com:aspnet/AspNetCore into rybrande/Mondo2.1
2018-11-20 10:24:50 -08:00
Ryan Brandenburg
550435373b
Fix casing in MetaPackages
2018-11-20 10:24:34 -08:00
Ryan Brandenburg
6fc3eb3bfc
Fix MetaPackage casing
2018-11-20 10:21:21 -08:00
Ryan Brandenburg
f45dacf924
Fix folder casing ( #4144 )
...
Fix folder casing
2018-11-20 10:02:51 -08:00
Pavel Krymets
d17392bc45
Port Resolve C26496 compiler errors when building in release mode with VS 15.9 ( #4141 )
2018-11-20 10:00:37 -08:00
Nate McMaster
425c196cba
Merge the master branch of aspnet/Hosting
2018-11-20 09:59:15 -08:00
Nate McMaster
b6de45ee72
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 241d2c13df
2018-11-20 09:51:45 -08:00
Nate McMaster
ee1e2d6173
Merge the master branch of aspnet/HttpAbstractions
2018-11-20 09:49:01 -08:00
Nate McMaster
294b5f2928
Merge branch 'release/2.2'
2018-11-20 09:47:59 -08:00
Luke Latham
5539b0f6e7
Change Google scope in external providers sample ( #4138 )
2018-11-20 09:38:05 -08:00
Nate McMaster
bfba741326
Merge aspnet/Hosting release/2.2
2018-11-20 09:35:34 -08:00
Nate McMaster
0f64aa5c01
Merge aspnet/HttpAbstractions release/2.2
2018-11-20 09:15:59 -08:00
Nate McMaster
feb68c1382
Merge branch 'release/2.1' into release/2.2
2018-11-20 09:13:55 -08:00
Nate McMaster
9b1cfd59b5
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 0724e6cde1
2018-11-20 09:03:14 -08:00
Nate McMaster
c199b7a658
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in bc7092a32b
2018-11-20 08:45:03 -08:00
Nate McMaster
0063d5a031
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 91db78cf92
2018-11-20 08:37:32 -08:00
dotnet-bot
3631aced3c
Merge in 'release/2.1' changes
2018-11-20 16:33:13 +00:00
Nate McMaster
3f025e3a38
Make Microsoft.AspNetCore.Server.IntegrationTesting a temporary external dependency
2018-11-19 23:38:13 -08:00
Nate McMaster
23996a550a
Resolve C26496 compiler errors when building in release mode with VS 15.9 ( #4113 )
...
Updating CI machines to VS 15.9 causes the project to fail to compile with C26496 errors. This adds `const` keywords to resolve the compiler errors.
2018-11-19 23:34:01 -08:00
Nate McMaster
05b8745172
Remove aspnet/Hosting submodule and update targets and projects
2018-11-19 22:25:43 -08:00
Nate McMaster
dc4c18e9ac
Merge source code from aspnet/Hosting into this repo
2018-11-19 22:02:46 -08:00
Nate McMaster
87ab2744ce
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 3f7ee338d4
2018-11-19 22:00:32 -08:00
Nate McMaster
4fcc8b9902
Update targets to build HttpAbstractions projects
2018-11-19 21:34:26 -08:00
Nate McMaster
98190bdaf9
Merge source code from aspnet/HttpAbstractions into this repo
2018-11-19 21:13:15 -08:00
Nate McMaster
0ef9993f46
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in d142d58eb4
2018-11-19 21:12:01 -08:00
Nate McMaster
7c6bf7f75d
Merge branch 'release/2.2'
2018-11-19 21:00:19 -08:00
Ryan Brandenburg
838cafcc4f
Fix the casing
2018-11-19 17:01:30 -08:00
Ryan Brandenburg
a11f4c2409
Fix the casing
2018-11-19 17:00:44 -08:00
dotnet-bot
85f8d8fed5
Merge in 'release/2.2' changes
2018-11-20 00:59:51 +00:00
Ryan Brandenburg
f98aa3b4a3
Merge remote-tracking branch 'MetaPackages/rybrande/release21ToSrc' into rybrande/Mondo2.1
2018-11-19 16:23:58 -08:00
Ryan Brandenburg
544b5e68e1
Merge remote-tracking branch 'AADIntegration/rybrande/release21ToSrc' into rybrande/Mondo2.1
2018-11-19 16:23:43 -08:00
Ryan Brandenburg
80167655b3
Merge remote-tracking branch 'JavaScriptServices/rybrande/release21ToSrc' into rybrande/Mondo2.1
2018-11-19 16:23:20 -08:00
Ryan Brandenburg
219fd0b300
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 975011071b
2018-11-19 16:20:16 -08:00
Doug Bunting
3fe61d6601
Make Microsoft.Extensions.ApiDescription.Design experimental
...
- `$(ExpermentalPackageVersion)`, `$(ExpermentalVersionPrefix)` and `$(ExpermentalVersionSuffix)` were not used
2018-11-19 16:18:28 -08:00
Ryan Brandenburg
151dd77fb8
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 6f02048c3c
2018-11-19 16:18:06 -08:00
Ryan Brandenburg
f6f7628718
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in ea3a7bc897
2018-11-19 16:14:42 -08:00
Ryan Brandenburg
78eb188014
Merge branch 'master' of github.com:aspnet/AspNetCore into rybrande/MondoMaster
2018-11-19 16:01:22 -08:00
Ryan Nowak
a7ae749ab2
Update VS-only tooling to 4.7.2
2018-11-19 15:53:53 -08:00
Chris Ross (ASP.NET)
241d2c13df
Add TestServer support for generic WebHost #1583
2018-11-19 14:55:18 -08:00
Ryan Brandenburg
37399bc217
Merge branch 'master' of github.com:aspnet/AspNetCore into rybrande/MusicStoreMaster
2018-11-19 12:34:59 -08:00
Ryan Brandenburg
af6792afc3
Merge branch 'master' of github.com:aspnet/AspNetCore into rybrande/MondoMaster
2018-11-19 12:24:58 -08:00
Ryan Brandenburg
47946238dd
Merge remote-tracking branch 'Templating/rybrande/masterToSrc' into rybrande/MondoMaster
2018-11-19 12:18:17 -08:00
Ryan Brandenburg
1698beeee9
Merge remote-tracking branch 'AzureIntegration/rybrande/masterToSrc' into rybrande/MondoMaster
2018-11-19 12:18:08 -08:00
Ryan Brandenburg
9a70e404c9
Merge remote-tracking branch 'AuthSamples/rybrande/masterToSrc' into rybrande/MondoMaster
2018-11-19 12:17:53 -08:00
Ryan Brandenburg
39e8397b9a
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 75e3133cdb
2018-11-19 12:15:18 -08:00
Ryan Brandenburg
f18c892bfb
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 8f471bf65b
2018-11-19 12:12:53 -08:00
Ryan Brandenburg
0816fded9d
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 514fcdcba5
2018-11-19 12:10:28 -08:00
dotnet-bot
9822e87e04
Merge in 'release/2.1' changes
2018-11-19 20:02:46 +00:00
Ryan Brandenburg
4f84c1f58c
Merge remote-tracking branch 'Templating/rybrande/release22ToSrc' into rybrande/Mondo2.2
2018-11-19 11:51:17 -08:00
Ryan Brandenburg
9dda18a355
Merge remote-tracking branch 'AzureIntegration/rybrande/release22ToSrc' into rybrande/Mondo2.2
2018-11-19 11:51:03 -08:00
Ryan Brandenburg
8c81ace1a2
Merge remote-tracking branch 'AuthSamples/rybrande/release22ToSrc' into rybrande/Mondo2.2
2018-11-19 11:50:44 -08:00
Ryan Brandenburg
357c79f619
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in d26f89a6bc
2018-11-19 11:47:50 -08:00
BrennanConroy
2c3ebd1648
Update TFM for Http.Connections ( #3323 )
2018-11-19 11:47:42 -08:00
Ryan Brandenburg
2becec387b
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 7383e532c9
2018-11-19 11:44:35 -08:00
Ryan Brandenburg
f3ccfa326a
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 031a2ed214
2018-11-19 11:42:11 -08:00
Ryan Brandenburg
c9e0295d1d
Merge remote-tracking branch 'AzureIntegration/rybrande/release21ToSrc' into rybrande/Mondo2.1
2018-11-19 11:16:52 -08:00
Nate McMaster
9954f5a703
Fix MSB4062 - fix conflicting build tools dependencies by ensuring the same version is used
2018-11-19 11:16:03 -08:00
Ryan Brandenburg
bb361b02f3
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 47e2ba3755
2018-11-19 11:15:08 -08:00
Ryan Brandenburg
2b46511407
Merge remote-tracking branch 'AuthSamples/rybrande/release21ToSrc' into rybrande/Mondo2.1
2018-11-19 11:10:33 -08:00
Ryan Brandenburg
b19a969a96
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in d861b70515
2018-11-19 11:07:58 -08:00
Ryan Brandenburg
9149fb825d
Merge remote-tracking branch 'MusicStore/rybrande/masterToSrc' into rybrande/MusicStoreMaster
2018-11-19 11:01:06 -08:00
Ryan Brandenburg
6b45771a1b
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in aca4b432e1
2018-11-19 10:57:15 -08:00
dotnet-bot
5b445e7122
Merge in 'release/2.2' changes
2018-11-19 18:53:48 +00:00
Ryan Brandenburg
8e77b5f6c0
Merge branch 'release/2.2' of github.com:aspnet/AspNetCore into rybrande/MusicStore2.2
2018-11-19 10:52:23 -08:00
Ryan Brandenburg
39071a3a4d
Merge remote-tracking branch 'Templating/rybrande/release21ToSrc' into rybrande/Mondo2.1
2018-11-19 10:47:00 -08:00
Ryan Brandenburg
6cd4ffb192
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 3f26b56fef
2018-11-19 10:38:14 -08:00
Nate McMaster
abbdfb72ef
Upgrade projects and packages to netcoreapp3.0
2018-11-19 09:55:23 -08:00
Nate McMaster
c39d85f6df
Upgrade package and projects to target netcoreapp3.0 ( aspnet/CORS#203 )
2018-11-19 09:50:57 -08:00
Nate McMaster
082d505977
Upgrade aspnetcore packages and projects to netcoreapp3.0 ( aspnet/Diagnostics#529 )
2018-11-19 09:50:31 -08:00
Nate McMaster
aed55d4517
Upgrade projects and packages to target netcoreapp3.0 ( aspnet/Routing#913 )
...
Changes:
* Upgrade dependencies and build tools
* Change TFM on Microsoft.AspNetCore.Routing packages to netcoreapp3.0
* Remove .NET Framework tests
* Remove the IL_EMIT conditional compilation because this assembly only targets .NET Core now.
2018-11-19 09:50:01 -08:00
Nate McMaster
60a3d57a3e
Upgrade aspnetcore packages to target netcoreapp3.0 ( aspnet/Localization#459 )
...
Changes:
* Upgrade dependencies and build tools
* Change TFM on Microsoft.AspNetCore.* packages to netcoreapp3.0
* Remove .NET Framework tests
2018-11-19 09:47:43 -08:00
Nate McMaster
e053878464
Upgrade packages and projects to target netcoreapp3.0 ( aspnet/Security#1916 )
...
Changes:
* Upgrade dependencies and build tools
* Change TFM on Microsoft.AspNetCore.* packages to netcoreapp3.0
* Remove .NET Framework tests
* Disable Owin interop tests. They need to be completely refactored
2018-11-19 09:47:07 -08:00
dotnet-bot
50fc0e5e41
Merge in 'release/2.2' changes
2018-11-19 16:43:12 +00:00
Pavel Krymets
e4249dade0
Fix the SiteExtension signing exclusion
2018-11-19 08:42:21 -08:00
dotnet-bot
46ee4532fb
Merge in 'release/2.2' changes
2018-11-19 16:27:28 +00:00
Pavel Krymets
ca42d0295e
Use property group for sign exclussions
2018-11-19 08:26:28 -08:00
Ben Adams
2414db256f
Zero cost(ish) diagnositcs when disabled
...
Inlinable fast-path check if Diagnositcs is enabled
2018-11-18 15:47:55 -08:00
Alexej Timonin
98c10b6879
Add PageRemoteAttribute ( #8324 )
...
* Add PageRemoteAttribute
Fixes https://github.com/aspnet/Mvc/issues/8245
2018-11-18 09:30:23 -08:00
Pranav K
d603735818
Ignore empty keys in QueryStringValueProvider
...
Fixes 8484
2018-11-18 09:09:01 -08:00
Ryan Nowak
807d4c97e3
Add required values to RoutePattern ( #912 )
2018-11-17 20:02:48 +13:00
David Fowler
501dd3924b
Added a method to configure the web host defaults ( #298 )
...
- Added ConfigureWebHostDefaults to configure the web specific defaults on the generic host builder.
2018-11-16 21:29:18 -08:00
BrennanConroy
4cbabea501
Dispose WebSocket if StartAsync fails ( #3311 )
2018-11-16 19:54:24 -08:00
Justin Kotalik
962ec07bdb
Adds PipeWriterAdapter ( #1065 )
2018-11-16 19:18:47 -08:00
Nate McMaster
dcba1953de
Fix failing test when building the win-arm shared framework
2018-11-16 17:56:34 -08:00
Ajay Bhargav Baaskaran
6c8e900d11
Razor parser rewrite ( #2590 )
...
* Razor parser rewrite
- Rewrite CSharp parser
- Basic rewrite of HTML parser (More improvements to follow)
- Define and generate syntax nodes and boilerplate
- Rewrite ClassifiedSpan and TagHelperSpan generation logic
- Rewrite TagHelper phase
- Rewrite Intermediate phase
- Rewrite other miscellaneous features and bug fixes
- Rewrite partial parsing
- Added some syntax manipulation APIs
- Removed unused legacy types
* Test changes
- Update parser test infrastructure
- Update tests
- Regenerated baselines
- Removed unused legacy types
2018-11-16 17:22:37 -08:00
dotnet-bot
1302590dc8
Merge in 'release/2.2' changes
2018-11-17 01:18:29 +00:00
Pavel Krymets
5e961e27ea
Ignore apphost.exe in runtime store ( #4073 )
2018-11-16 17:17:44 -08:00
Nate McMaster
75e3133cdb
Remove our (stale) copy of ApplicationInsights startup and upgrade projects to netcoreapp3.0 ( aspnet/AzureIntegration#254 )
...
This project has moved to https://github.com/Microsoft/ApplicationInsights-aspnetcore , so we don't need to build or test it in this repo anymore.
This also updates packages and projects to netcoreapp3.0
2018-11-16 17:07:24 -08:00
Nate McMaster
6bf1cc8545
Upgrade projects and packages to target netcoreapp3.0 ( aspnet/MetaPackages#299 )
...
Changes:
* Upgrade dependencies
* Change TFM on Microsoft.AspNetCore to netcoreapp3.0
* Remove .NET Framework tests
2018-11-16 16:50:31 -08:00
Nate McMaster
3db604d9d2
Upgrade packages and projects to target netcoreapp3.0 (except the .NET signalr client) ( aspnet/SignalR#3315 )
2018-11-16 16:44:36 -08:00
Chris Ross (ASP.NET)
f6cda4fab7
Make TestServer handle exceptions from OnStarting #1594
2018-11-16 16:39:50 -08:00
Nate McMaster
fd1a5b43f1
Generate PlatformManifest and package conflict overrides for Microsoft.AspNetCore.App ( #4072 )
...
This generates additional metadata for the .NET Core SDK to resolve conflicts between Microsoft.AspNetCore.App and PackageReferences which contain the same assemblies.
2018-11-16 16:36:14 -08:00
Doug Bunting
1da7a89f59
Add `ErrorContext.Member` to `ErrorContext.Path` when clearly needed
...
- #8509
nits:
- use `ModelNames.CreatePropertyModelName(...)`
- move `exception` assignment up and reuse that variable
2018-11-16 16:30:43 -08:00
Nate McMaster
f5aae26b44
Update projects and packages to target netcoreapp3.0 ( aspnet/Mvc#8734 )
2018-11-16 16:28:35 -08:00
Nate McMaster
68b878f0e1
Upgrade packages and projects to target netcoreapp3.0 ( aspnet/Identity#2072 )
...
* Upgrade dependencies
* Change TFM on Microsoft.AspNetCore.Identity to netcoreapp3.0
* Remove .NET Framework tests
2018-11-16 16:27:58 -08:00
Stephen Halter
fb055cddf9
Merge branch 'release/2.2'
2018-11-16 16:21:08 -08:00
dotnet-bot
83abe6fb00
Merge in 'release/2.2' changes
2018-11-17 00:19:01 +00:00
Ben Adams
f7c26f9912
[2.2.1] Use non-pinnable buffer for zero byte read ( #4066 )
2018-11-16 16:18:23 -08:00
Nate McMaster
e657e7d79a
Upgrade projects and packages to netcoreapp3.0 ( aspnet/JavaScriptServices#1793 )
2018-11-16 16:02:57 -08:00
Ajay Bhargav Baaskaran
61565f61f9
Show Razor build errors in non build server scenarios ( #2737 )
2018-11-16 15:47:02 -08:00
Nate McMaster
0e12274a8e
Flatten the dependency graph of Microsoft.AspNetCore.App ( #4061 )
...
This changes the way Microsoft.AspNetCore.App works to follow patterns set by Microsoft.NETCore.App. Instead of being a metapackage with dozens of dependencies, this package has no dependencies. It uses RID-splitting to deliver standalone assets for self-contained deployments.
Changes:
* Implements RID-split packages for Microsoft.AspNetCore.App.
* Update shared fx deps.json generation to only include entries for the RID-specific metapackages
* Include platform-specific packages in publish output
* Remove all nuspec dependencies of Microsoft.AspNetCore.App and collect all references into the package.
2018-11-16 15:16:15 -08:00
Nate McMaster
3c282a4f5a
Update projects and packages to netcoreapp3.0 ( aspnet/AADIntegration#55 )
2018-11-16 15:07:40 -08:00
Hao Kung
d1ee5a22fb
Remove obsolete apis ( #1915 )
2018-11-16 14:25:30 -08:00
Ryan Brandenburg
9182204495
Merge remote-tracking branch 'MusicStore/rybrande/release22Src' into rybrande/MusicStore2.2
2018-11-16 11:30:49 -08:00
dotnet-bot
091a651036
Merge in 'release/2.1' changes
2018-11-16 19:19:47 +00:00
Ryan Brandenburg
ece5fa46c6
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 33978da1f7
2018-11-16 10:49:57 -08:00
Nate McMaster
514fcdcba5
React to breaking changes in Microsoft.AspNetCore.App ( aspnet/Templating#836 )
...
Changes:
* Add packages references for EF Core, when necessary
* Add packages references for SpaServices to Spa templates
* Remove PackageReference to Microsoft.AspNetCore.App altogether
See aspnet/AspNetCore#3612 for more context
2018-11-16 10:09:24 -08:00
dotnet-bot
d720319b3a
Merge in 'release/2.2' changes
2018-11-16 17:07:27 +00:00
Pavel Krymets
20f7d3be9d
Prevent SiteExtension OOB build from including root Directory.props/targets ( #4064 )
2018-11-16 09:06:48 -08:00
=
35f876e190
Merge branch 'release/2.2'
2018-11-16 00:32:36 -08:00
dotnet-bot
535282f4e6
Merge in 'release/2.2' changes
2018-11-16 08:30:31 +00:00
John Luo
1782a70601
Disable flaky selenium tests while debugging ( #4053 )
2018-11-16 00:29:46 -08:00
Ben Adams
49d785c934
Use object indirection in HttpContextAccessor ( #1066 )
2018-11-15 22:34:44 -08:00
Ryan Brandenburg
e6eb842cc9
Merge remote-tracking branch 'MusicStore/ryrande/release21ToSrc' into rybrande/MusicStore21
2018-11-15 16:31:12 -08:00
Stephen Halter
7e9b11ef3f
Add test and src folders to Kestrel.sln ( #4039 )
...
- Move ThrowHelper.cs into core project
2018-11-15 16:24:31 -08:00
Ryan Brandenburg
aed127198a
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in c14416f26f
2018-11-15 16:22:25 -08:00
Nate McMaster
d1ee458982
Remove assemblies from the shared framework ( #4004 )
...
Remove assemblies from the shared framework that depend on or contain the following:
* Entity Framework Core
* Owin
* Node and SPA services
* Identity UI
* Middleware analysis
* SQL Client
* Third-party oauth integrations
* Runtime razor components
* JsonPatch
2018-11-15 16:18:58 -08:00
dotnet-bot
218281cb8f
Merge in 'release/2.2' changes
2018-11-15 23:55:29 +00:00
Pavel Krymets
7e890e8fa0
Update versions of logging site extensions ( #4038 )
2018-11-15 15:54:50 -08:00
Justin Kotalik
f7633d8be9
Fix ANCM websocket disconnect issue
2018-11-15 15:38:27 -08:00
Justin Kotalik
4fae8b9838
Fix websocket disconnect issue
2018-11-15 23:27:48 +00:00
Kévin Chalet
7e14b052ea
Add AccessDeniedPath support to the OIDC/OAuth2/Twitter providers ( #1887 )
...
* Add AccessDeniedPath support to the OIDC/OAuth2/Twitter providers
* Update the code documentation and remove an unnecessary call to SignOutAsync()
* Introduce a new AccessDenied event and move most of the access denied handling logic to RemoteAuthenticationHandler
* Add ReturnUrlParameter support to RemoteAuthenticationHandler
* Remove AccessDeniedException and introduce RemoteAuthenticationHandler.HandleAccessDeniedErrorAsync()
* Use OriginalPath instead of Request.Path
* Update obsolete code comments
* Add unit tests for the new AccessDenied event
* Allow customizing the access denied path/return URL/return URL parameter from the AccessDenied event
2018-11-15 15:12:42 -08:00
Eilon Lipton
1c4a6955b7
Merge pull request #1831 from woeterman94/patch-1
...
Change description of role in RequireRole method
2018-11-15 14:41:04 -08:00
Nate McMaster
0af2acd6ff
Remove .NET Framework project templates
2018-11-15 13:32:40 -08:00
Pavel Krymets
e11f05863f
Enable MultiProcessorCompilation in more projects ( #4036 )
2018-11-15 12:54:10 -08:00
Chris Ross (ASP.NET)
88273412b8
Flow the cancellation tokens to ReadAsync and WriteAsync ( #2865 )
2018-11-15 12:24:27 -08:00
Hisham Bin Ateya
b8747c8b6b
Adding AddRequestCultureProvider as extension method ( #458 )
...
* Adding AddRequestCultureProvider as extension method
Fixes aspnet/AspNetCore#3336
2018-11-15 12:23:10 -08:00
Nate McMaster
68cc5e7846
Merge release/2.2 and aspnet/KestrelHttpServer
...
* Merges latest changes from the master branch of aspnet/KestrelHttpServer
* Merges changes on release/2.2
2018-11-15 08:41:55 -08:00
Daniel Roth
71cddc3563
Update survey link for 0.7.0
2018-11-15 09:46:08 +00:00
Nate McMaster
3a657c6fdf
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 5d80016b4f
2018-11-14 23:23:58 -08:00
Nate McMaster
6cc9f6f130
Merge release/2.2 and replace submodules
...
* Replace the aspnet/JsonPatch git submodule and merge the master branch of its source to this repo
* Likewise for aspnet/DotNetTools
* And aspnet/HtmlAbstractions
* merge latest infrastructure changes from the release/2.2 branch
2018-11-14 22:57:10 -08:00
Nate McMaster
0271428dbe
Merge aspnet/KestrelHttpServer release/2.2 and release/2.1
2018-11-14 21:33:33 -08:00
James Newton-King
6270ea48a6
Refactor MVC endpoint integration for templates ( #8695 )
2018-11-15 17:04:26 +13:00
Nate McMaster
f1e60a8083
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in a24b4ee459
2018-11-14 18:16:17 -08:00
Nate McMaster
ad84a1cc71
Merge branch 'release/2.1' into release/2.2
2018-11-14 16:28:38 -08:00
Nate McMaster
406c80bfb0
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 4598850c20
2018-11-14 16:03:24 -08:00
Pranav K
1e26b6673d
Use 3.0 configuration in RCLs
2018-11-14 15:29:58 -08:00
Pranav K
073b0377e8
Use 3.0 configuration in RCLs
2018-11-14 15:29:45 -08:00
Gert Driesen
ea1ee2b68c
Do not check if key is present before removing item. ( #1064 )
...
Use Nullable<T>.GetValueOrDefault() instead of Nullable<T>.Value when it is known to have a value.
2018-11-14 14:32:50 -08:00
Nate McMaster
0782a9dfa9
Merge aspnet/DotNetTools release/2.2
2018-11-14 14:12:52 -08:00
Nate McMaster
401fd68985
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in d745b8c161
2018-11-14 14:10:28 -08:00
Nate McMaster
27acef3d46
Merge branch 'release/2.1' into release/2.2
2018-11-14 14:01:43 -08:00
Stephen Halter
5d80016b4f
Merge branch 'release/2.2'
2018-11-14 13:43:25 -08:00
Stephen Halter
4598850c20
Revert "Use non-pinnable buffer for zero byte read ( #3094 )"
...
This reverts commit 0029b8f053 .
2018-11-14 13:42:55 -08:00
Nate McMaster
51c9b7355d
Create Kestrel.sln, update documentation and README, and ensure all Kestrel test projects have the test logger installed
2018-11-14 13:14:47 -08:00
Gert Driesen
31a836c9f3
Use Nullable<T>.GetValueOrDefault() instead of Nullable<T>.Value when a it is known to have a value. ( #1063 )
2018-11-14 12:16:44 -08:00
Gert Driesen
5da68a2bb7
Improve performance and reduce allocations in RouteValueDictionary. ( #1062 )
2018-11-15 09:15:08 +13:00
Stephen Halter
446f5a8cdf
Merge branch 'release/2.2'
2018-11-14 12:06:23 -08:00
Ben Adams
0029b8f053
Use non-pinnable buffer for zero byte read ( #3094 )
2018-11-14 12:05:26 -08:00
Nate McMaster
02536ff991
Merge source code from aspnet/KestrelHttpServer into this repo
2018-11-14 11:21:49 -08:00
Nate McMaster
9d0c69f277
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 15ba5065a9
2018-11-14 11:18:51 -08:00
David Blankenbush
01c1f7b187
Fix typo ( #2066 )
2018-11-14 09:33:00 -08:00
Justin Kotalik
1858527fb0
Feedback
2018-11-14 09:32:16 -08:00
Nate McMaster
c1c7d711b6
Merge branch 'release/2.1' into release/2.2
2018-11-14 09:27:23 -08:00
Pranav K
b2e9365084
Disable instrumentation pass with 3.0 configuration
2018-11-14 09:14:21 -08:00
David Fowler
cfe9b26a34
Added support for generic host based IWebHostBuilder ( #1580 )
...
- This adds an implementation of IWebHostBuilder as a facade over the IHostBuilder.
This removes the 2 container issue by executing the Startup.ConfigureServies and Startup.ConfigureContainer inline as part of building the IHostBuilder.
- The implementation is highly compatible implementation since it exposes the same IWebHostBuilder interface.
Existing extensions mostly work.
- There are some caveats with this approach.
- Injecting services into Startup is not extremely constrained to the
services availble on HostBuilderContext. This includes the IHostingEnvironment
and the IConfiguration.
- IStartup is broken when using this pattern because it isn't composable.
- The IStartupConfigureServicesFilter and IStartupConfigureContainer The before
and after filters added in 2.1 are also broken because there's a single container (it could maybe be fixed by downcasting and doing something specific on the GenericHostBuilder instance).
- Calling into IWebHostBuilder.Build will throw a NotSupportedException since
this implementation is just a facade over the IHostBuilder.
2018-11-13 21:22:30 -08:00
Nate McMaster
a8ec75aac4
Prepare for the 2.2.1 patch
...
* Generate 2.2.0 package baselines
* Update dependencies to 2.2.0
* Update branding to 2.2.1-servicing
2018-11-13 18:21:09 -08:00
Justin Kotalik
f13a49bd2a
Fix websocket disconnect issue
2018-11-13 16:57:15 -08:00
Nate McMaster
87092a2590
Update targets and infrastructure for dotnet-watch et. al.
2018-11-13 15:58:22 -08:00
Nate McMaster
b3ad3aa989
Merge source code from aspnet/DotNetTools into this repo
2018-11-13 15:37:55 -08:00
Nate McMaster
a2d855406b
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in eba014d534
2018-11-13 15:36:38 -08:00
Ben McCallum
42dd66647d
refactor: Rename param from requiredValues to allowedValues to better indicate usage. ( #1908 )
2018-11-13 14:05:55 -08:00
Pranav K
fc3f45bf4e
Add RazorLanguageVersion.3_0
...
Fixes https://github.com/aspnet/Razor/issues/2612
2018-11-13 13:36:20 -08:00
James Newton-King
b6a1de5676
Validate the maximum number of route segments ( #911 )
2018-11-14 09:25:14 +13:00
Stephen Halter
f223b4a663
Avoid possible tearing in HeartbeatManager.UtcNow ( #3092 )
2018-11-13 11:58:54 -08:00
Nate McMaster
10c4646146
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in bf9fd0d106
2018-11-13 11:24:22 -08:00
Nate McMaster
9671b9d8c3
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 3b485909eb
2018-11-13 11:21:52 -08:00
Nate McMaster
ccd098ecad
Update DataProtection to use custom reference resolution
...
This changes DataProtection to build as projects instead of a pseudo-submodule. It replaces Package and ProjectReference with <Reference> items which custom targets then resolve.
2018-11-13 10:28:42 -08:00
Pavel Krymets
160d822f52
Do not fallback to creating console logger ( #1789 )
2018-11-13 09:48:28 -08:00
Nate McMaster
bb6901141c
Remove the HtmlAbstractions git submodule and merge Html.Abstractions into this repo
2018-11-13 09:29:27 -08:00
Steve Sanderson
dd72c7c38a
Marshal oninput events as UIChangeEventArgs ( #1673 )
...
* Marshal oninput events as UIChangeEventArgs
- Blazor does handle the oninput event, but it is marshalled as a regular UIEventArgs
- This means that we cannot access the new value of the input element from inside our oninput handler
Addresses #821
2018-11-13 13:40:13 +00:00
Steve Sanderson
a48260a5c9
Serialize server-side renders. Fixes #1573 ( #1672 )
...
* Add failing test to show the issue
* Make RemoteRenderer serialize render calls on sync context
2018-11-13 13:04:55 +00:00
Steve Sanderson
e71db85149
Handle overlapping events ( #1655 )
...
* Add failing unit test to demonstrate overlapping events bug
* Handle overlapping events
* Make RemoteRenderer.UpdateDisplay's return task not complete until client sends explict ACK
* CR: Rename UpdateDisplay to UpdateDisplayAsync
* CR: Fix namespace
* CR: Catch synchronous SendAsync exceptions (if they can happen)
2018-11-13 12:08:08 +00:00
Steve Sanderson
dc1ad1943d
Capture RenderBatch bytes synchronously. Fixes #1223
2018-11-13 11:34:02 +00:00
Doug Bunting
8308d94e39
Quick fixes: Make `dotnet-getdocument` more reliable ( #8716 )
...
- use `WaitAny(...)` in inside man
- call `Process.WaitForExit()` twice
- `Flush()` all output `FileStream`s before disposal
- catch `UnauthorizedAccessException` when calling `File.Delete(...)` in case file's in use
- add `/nr:false` to `dotnet msbuild` command line
2018-11-12 11:26:02 -08:00
Pranav K
195a22d92c
Move pubinternal to internal in CORS, DataAnnotations, Formatters, TagHelpers
2018-11-12 10:27:26 -08:00
Justin Kotalik
de9609b343
Remove implicit reference to InteralAspNetCoreSdk ( #3998 )
2018-11-12 09:05:17 -08:00
Gert Driesen
bd481034fe
Improve performance and reduce allocations in RouteParameterParser. ( #901 )
2018-11-11 17:08:29 +13:00
James Newton-King
f6b1138ce3
Fix RouteValueAddressScheme to require metadata to match ( #910 )
2018-11-10 13:41:44 +13:00
Nate McMaster
1ab08d70ef
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 252ae0c434
2018-11-09 16:17:15 -08:00
Pranav K
fcf5593813
Remove additional exe produced as part of updating to 3.0 SDK
...
Fixes https://github.com/aspnet/Mvc/issues/8681
2018-11-09 15:52:58 -08:00
Pranav K
f734efe2e7
Move pubinternal types in Mvc.Razor and Mvc.RazorPages to internal
2018-11-09 15:00:38 -08:00
Henk Mollema
e790a9bb10
Inject ICorsPolicyProvider instance through Invoke
...
This allows for scoped instances of `ICorsPolicyProvider` to be injected in the CORS middleware and prevents turning them into singletons.
Resolves #105
2018-11-09 14:40:51 -08:00
Pranav K
ecb7edadc8
Remove WebApiCompatShim
2018-11-09 14:32:28 -08:00
Nate McMaster
0a44f1c068
Merge branch 'release/2.1' into namc/mondo
2018-11-09 13:11:09 -08:00
Nate McMaster
fd6b46bc7f
Merge the source code of aspnet/JsonPatch into this repo
2018-11-09 13:07:24 -08:00
Nate McMaster
27a47d07c5
Reorganize the src/WebSockets/ folder to follow new source code organization conventions
2018-11-09 13:06:13 -08:00
Nate McMaster
59ed8df382
Add targets and tools for ensuring consistent package versions between servicing builds
2018-11-09 13:05:31 -08:00
Nate McMaster
74d9728e95
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 218064c300
2018-11-09 12:49:58 -08:00
Stephen Halter
119a7695aa
Merge branch 'release/2.2'
2018-11-09 12:46:07 -08:00
Stephen Halter
5db6394769
Always decrement count on HTTP/2 stream completion ( #3087 )
...
#3079
2018-11-09 12:40:51 -08:00
Pranav K
9d2c394b99
SDK does not correctly resolve RazorExtension when multiple instances of RazorConfiguration are present
...
Fixes https://github.com/aspnet/Razor/issues/2721
2018-11-09 11:51:38 -08:00
Justin Kotalik
4b4bd68fc7
Downgrade stable package versions and remove duplicate test project ( #3991 )
2018-11-09 11:27:08 -08:00
Pranav K
b18526cdc8
Make types in Microsoft.AspNetCore.Mvc.ViewFeatures internal
2018-11-09 11:14:19 -08:00
Justin Kotalik
8356baf7a6
Port ANCM installer changes to 2.1 ( #3874 )
2018-11-09 11:10:33 -08:00
Adrian Wright
5e0aa0c0fa
Fix typos
2018-11-09 10:17:10 -08:00
Jeremy Hutchinson
1661d38971
Return completed task rather than null for empty virtual async methods.
2018-11-09 10:06:20 -08:00
Suchiman
5c13452d96
Add repository in nuspec files
2018-11-09 10:03:51 -08:00
Nate McMaster
bd5bf34351
Merge branch 'release/2.2'
2018-11-09 07:29:37 -08:00
Nate McMaster
db0d3c333d
Fix NU1605 build error by ensuring package versions are set correctly in subfolder projects ( #3987 )
2018-11-08 23:40:14 -08:00
Nate McMaster
bc44d9d4e0
Remove artifact info for StressTestWebSite.zip
2018-11-08 17:50:34 -08:00
Nate McMaster
0c6e4bebab
Prepare to build the 2.1.7 patch ( #3970 )
...
* Prepare 2.1.7 patch
* Add documentation for how we prepare servicing updates
2018-11-08 17:07:18 -08:00
Nate McMaster
ba70991d7c
Stop publishing runtime-extension-internal.zip and don't produce StressTestWebsite.zip by default in CI builds ( #3984 )
2018-11-08 17:01:31 -08:00
Nate McMaster
7f4d10775c
Add signcheck exclusions ( #3985 )
2018-11-08 16:57:07 -08:00
N. Taylor Mullen
85ebb3585f
Turn old completion on when async completion is active.
2018-11-08 15:38:45 -08:00
N. Taylor Mullen
d5a6f99c8f
Update to use latest completion APIs
2018-11-08 15:38:27 -08:00
Stephen Halter
9053772cd0
Merge branch 'release/2.2'
2018-11-08 15:17:48 -08:00
Stephen Halter
2b87e7be85
Remove invalid Debug.Assert in Http2Connection ( #3080 )
...
The _streams dictionary may not contain the completing stream in
OnStreamCompleted since the IsDraining flag is applied beforehand
which allows it to be removed by the request processing thread.
2018-11-08 15:16:27 -08:00
Stephen Halter
50bb0b3bc9
Implement no-op HTTP/2 IHttpUpgradeFeature ( #3082 )
2018-11-08 15:10:07 -08:00
Alexander Shabunevich
bf9fd0d106
Prevent null refs when copying a property with a null value
...
* Fix aspnet/AspNetCore#3559 Json Patch: System.NullReferenceException while trying to use copy operation from property with null value.
* Fix aspnet/AspNetCore#3559 : Missing tests added.
2018-11-08 14:29:34 -08:00
Pavel Krymets
89a3526769
Move runtime site extension to installers ( #3954 )
2018-11-08 14:13:07 -08:00
Pranav K
8d66f104f7
Make types in Microsoft.AspNetCore.Mvc.Internal namespace internal
2018-11-08 14:00:16 -08:00
Pranav K
f6265a8549
Update rzc to target netcoreapp3.0
...
* Allow rzc to work with 3.0 SDK that does not carry 2.x runtime
* Update repo to netcoreapp3.0
Fixes https://github.com/aspnet/Razor/issues/2696
2018-11-08 09:18:58 -08:00
Nate McMaster
416d8cd1ea
Merge branch 'release/2.2'
2018-11-08 08:48:35 -08:00
Nate McMaster
3918724616
Merge branch 'release/2.1' into release/2.2
2018-11-08 08:31:22 -08:00
James Newton-King
1d3521113a
Change namespace to Microsoft.AspNetCore.Http.Endpoints ( #1061 )
2018-11-08 15:52:01 +13:00
James Newton-King
cb83e4f485
Authorization middleware ( #1894 )
2018-11-08 15:42:35 +13:00
Nate McMaster
e0bdbb59f7
Reorganize source code in src/DataProtection
...
* Pair implementations and unit tests side by side in src/ and test/ folders
* Update .sln and project paths
* Rename unit test projects from Test.csproj => Tests.csproj
* Update KoreBuild properties to allow building projects, not solutions
2018-11-07 17:33:30 -08:00
Stephen Halter
b3d72773b1
Fix race conditions in HTTP/2 tests ( #3024 )
2018-11-07 17:09:21 -08:00
Stephen Halter
f6d589a6c4
Remove invalid Debug.Assert in Http2Connection ( #3080 )
...
The _streams dictionary may not contain the completing stream in
OnStreamCompleted since the IsDraining flag is applied beforehand
which allows it to be removed by the request processing thread.
2018-11-07 17:08:44 -08:00
Justin Kotalik
263fb650be
Detect shared configuration in ANCM installers and fail if enabled ( #3962 )
2018-11-07 13:19:27 -08:00
Pranav K
d632469909
React to Razor.Design package removal
2018-11-07 13:16:16 -08:00
Steve Sanderson
5a836ef0a6
Update to ws-proxy code matching Mono repo 5e318afd
2018-11-07 12:01:50 +00:00
Steve Sanderson
080399da3d
Update MonoPlatform startup code to match newer Mono
2018-11-07 12:01:50 +00:00
Steve Sanderson
0857483a42
Use prebuilt Mono binaries. Remove asm.js fallback (Mono doesn't distribute asm.js builds).
2018-11-07 12:01:50 +00:00
Nate McMaster
011cf21a5c
Merge branch 'release/2.2'
2018-11-06 17:42:44 -08:00
James Newton-King
066c5ce337
Implicitly execute matched endpoint at the end of middleware pipeline ( #1059 )
2018-11-07 12:57:31 +13:00
James Newton-King
d77b370fb1
Add Endpoint extension methods to HttpContext ( #1060 )
2018-11-07 12:24:15 +13:00
Pavel Krymets
f024e779a6
Merge branch 'merge/release/2.2-to-master' of https://github.com/dotnet-maestro-bot/JavaScriptServices into merge/release/2.2-to-master
2018-11-06 15:11:14 -08:00
Pavel Krymets
9d570d791f
Remove obsolete logging API usage ( #3953 )
2018-11-06 14:50:35 -08:00
Pavel Krymets
7819c2f950
Remove obsolete API usage ( #1784 )
2018-11-06 14:10:24 -08:00
John Luo
5488932e31
Merge branch 'release/2.2'
2018-11-06 14:04:45 -08:00
John Luo
7ef549416f
Add prerelease label to deb installer package version
2018-11-06 14:02:48 -08:00
Justin Kotalik
a00118ada1
Disable IIS tests due to web.config generation issue ( #3951 )
2018-11-06 13:25:50 -08:00
Nate McMaster
df46dfee73
Merge branch 'release/2.2'
2018-11-06 12:13:05 -08:00
Nate McMaster
7f95d6af34
Remove everything from the package archive except Microsoft.AspNetCore.App
2018-11-06 09:43:51 -08:00
BrennanConroy
71e2f45450
Wrap log in enabled check
2018-11-06 09:24:34 -08:00
Nate McMaster
4f887e5cd4
Merge branch 'release/2.1' into release/2.2
2018-11-06 09:23:17 -08:00
Nate McMaster
17cccade43
Add IsFinalBuild switch to Windows installer script ( #3892 )
2018-11-06 09:06:10 -08:00
Liam Dawson
9de04520e0
Add `user-secret init` command for adding a UserSecretsId to a project file ( #500 )
2018-11-05 10:44:50 -08:00
Justin Kotalik
c5e7bd244d
Merge branch 'release/2.2'
2018-11-05 09:10:29 -08:00
Justin Kotalik
90b11de8f1
Get IISIntegration CI working ( #3875 )
2018-11-05 08:45:11 -08:00
John Luo
e8fec8eb52
Enable symbols generation for crossgen'ed assemblies on linux-arm ( #3877 )
2018-11-02 18:06:04 -07:00
John Luo
faba76cfa1
Merge branch 'release/2.2'
2018-11-02 15:57:49 -07:00
John Luo
d36a480253
Build and crossgen linux-arm shared framework in Docker container
2018-11-02 15:14:19 -07:00
Javier Calvarro Nelson
7421ba8087
Merge release/2.2 -> master
...
Fixes integrity validation in Identity UI V3
2018-11-02 14:57:25 -07:00
Javier Calvarro Nelson
99f352a92f
javiercn/check-integrity-validation ( #2052 )
2018-11-02 14:48:06 -07:00
Justin Kotalik
dcece2090c
Remove IISIntegration submodule, add CI ( #3867 )
2018-11-02 14:34:31 -07:00
Nate McMaster
0e24161d42
Ensure Microsoft.AspNetCore.Server.IntegrationTesting.IIS doesn't produce a finalized version
2018-11-02 11:07:45 -07:00
John Luo
3327267396
Merge branch 'release/2.2'
2018-11-02 11:03:05 -07:00
Stephen Halter
f2a383dc76
Don't count long tick intervals against rate measurements ( #3070 )
...
This might help address #3015
This only affects rate timeouts. Normal fixed timeouts might deserve the same treatment, but that would require some additional locking to ensure we don't modify the sentinel value.
2018-11-02 10:58:30 -07:00
Nate McMaster
50e1e60247
Merge branch 'release/2.2'
2018-11-02 10:49:11 -07:00
Justin Kotalik
afab1a5be6
Remove IISIntegration submodule, add CI [2.2] ( #3865 )
2018-11-02 10:22:04 -07:00
Nate McMaster
b7850f9865
Remove Microsoft.AspNetCore.Razor.Design from Microsoft.AspNetCore.App
2018-11-02 10:14:05 -07:00
Nate McMaster
cb85ffa8f6
Merge branch 'release/2.2'
2018-11-02 10:10:49 -07:00
Mike Lorbetske
2af66e4eba
Merge pull request #510 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-11-02 09:42:33 -07:00
Nate McMaster
303ee1ff56
Fix the filename for the debian installer
2018-11-01 22:50:58 -07:00
Nate McMaster
27deb6f6f8
Remove dependency on Docker from MSBuild targets ( #3866 )
...
Changes:
* This removes MSBuild targets which invoke `docker` commands to build
deb and rpm installers
* Remove installer targets from the KoreBuild context. Put them into
separate project files
* Simplify the targets used to build installers by reducing duplicate
variable names and deeply nested MSBuild contexts
* Remove unused dependencies from the Docker build context
2018-11-01 15:02:29 -07:00
Nate McMaster
b56dc070fb
Ensure ApiAuthorization.IdentityServer doesn't build a 2.2.0 package with the rest of RTM ( #2049 )
2018-11-01 13:32:23 -07:00
Mike Lorbetske
d745b8c161
Fix #485
2018-11-01 13:00:20 -07:00
Mike Lorbetske
22a32500ac
Fix several issues
...
Fix #502
Fix #492
Fix #491
Fix #486
Improves #489
2018-11-01 13:00:20 -07:00
Javier Calvarro Nelson
405adf3ddd
Merge remote-tracking branch 'origin/release/2.2'
2018-11-01 11:50:52 -07:00
Justin Kotalik
83fe4c089b
Remove M.A.Server.IIS package from 2.1. Fix signing issues ( #3859 )
2018-11-01 11:30:31 -07:00
Javier Calvarro Nelson
5e10eb1d1a
Support for ApiAuth using Identity Server
2018-11-01 11:03:28 -07:00
Pranav K
1fde1cc061
React to Razor.Design package removal
2018-11-01 07:37:47 -07:00
Justin Kotalik
868dc32c97
Merge branch 'release/2.2'
2018-10-31 21:04:25 -07:00
Justin Kotalik
d6a5ef57af
Merge remote-tracking branch 'i/jkotalik/30Merge' into jkotalik/new30Merge
2018-10-31 20:05:44 -07:00
Justin Kotalik
69b7b427fc
Merge pull request #3781 from aspnet/jkotalik/21Merge
2018-10-31 19:40:28 -07:00
Justin Kotalik
3f04c928f4
Merge branch 'jkotalik/21Merge' into jkotalik/22Merge
2018-10-31 18:38:00 -07:00
Justin Kotalik
fc17530148
Merge remote-tracking branch 'i/jkotalik/22Merge' into jkotalik/22Merge
2018-10-31 18:25:22 -07:00
Justin Kotalik
ce68c8e5be
remove submodule
2018-10-31 18:14:34 -07:00
Justin Kotalik
04d1f6813c
Merge remote-tracking branch 'i/jkotalik/21Merge' into jkotalik/21Merge
2018-10-31 17:18:48 -07:00
Justin Kotalik
ebb0bfefb7
Reorganize source code in preparation to move into aspnet/aspnetcore
2018-10-31 16:57:49 -07:00
Stephen Halter
153ff670a1
Merge branch 'release/2.2'
2018-10-31 16:51:55 -07:00
Justin Kotalik
7fbedc602c
Move 22 into subfolder
2018-10-31 16:40:21 -07:00
Justin Kotalik
55e809c5dc
Move more files
2018-10-31 16:38:30 -07:00
Justin Kotalik
040fb6f18a
Move IISIntegration into subfolder
2018-10-31 15:51:17 -07:00
Pranav K
17ed44c868
React to Razor.Design package removal ( #8680 )
...
* React to Razor.Design package removal
* Remove references to packages (Razor.Design, Razor.Extensions) solely used to bring in compiler \ targets
* Target netcoreapp3.0 in samples and tests to allow Sdk to infer values
2018-10-31 15:38:22 -07:00
Stephen Halter
d50c0c13b9
Measure the rate of all HTTP/2 output ( #3067 )
...
Prior to this, only the response body counted toward the HTTP/2 response data rate. This PR aligns the HTTP/2 logic closer to the HTTP/1.x logic and measures the rate for all HTTP/2 response data.
This PR also accounts for all response bytes written, not just those that immediately induced backpressure.
2018-10-31 15:34:17 -07:00
BrennanConroy
cd4a1c036a
Remove SignalR.Redis package ( #3241 )
2018-10-31 15:16:44 -07:00
Doug Bunting
e4292c236c
Merge pull request #8682 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-31 14:47:16 -07:00
Pranav K
e27088d9d9
React to Razor.Design package removal
2018-10-31 14:26:52 -07:00
Ryan Nowak
891ae28851
Merge branch 'release/2.2'
2018-10-31 14:24:26 -07:00
Doug Bunting
a6199bbfba
Add integration and functional tests of `[BindRequired]` on page properties ( #8677 )
...
- #7353
2018-10-31 14:15:14 -07:00
Ryan Nowak
3b485909eb
Fix aspnet/AspNetCore#3634
2018-10-31 14:12:55 -07:00
Ryan Nowak
c9a53b9067
Merge pull request #522 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-31 13:26:02 -07:00
Ryan Nowak
c802d5ef5f
Redesign HealthStatus (again) ( #520 )
...
* Redesign HealthStatus (again)
This change brings back the ability to return Healthy/Degraded/Unhealthy
in a HealthCheckResult. We tried making this pass/fail in 2.2.0-preview3
and folks writing health checks for their own use pointed out (rightly
so) that it was too limited.
It's still possible for the app developer to configure the failure
status of a health check, but it requires the health check author to
cooperate.
I also got rid of HealthStatus.Failed since it raises more questions
than it answers. It's really not clear that it's valuable for a health
check for behave different when throwing an unhandled exception.
We would still recommend that a health check library handle exceptions
that they know about and return `context.Registration.FailureStatus`.
2018-10-31 12:51:14 -07:00
Pranav K
f2af66bc31
Cleanup InferParameterBindingInfoConvention ( #8665 )
...
* Cleanup InferParameterBindingInfoConvention
* Infer BindingSource for collection parameters as Body. Fixes https://github.com/aspnet/Mvc/issues/8536
* Introduce a compat switch to keep 2.1.x LTS behavior for collection parameters
* Do not infer BinderModelName in InferParameterBindingInfoConvention
2018-10-31 12:24:37 -07:00
Ryan Nowak
707692cbe1
Update to Dev16 Roslyn
2018-10-31 12:17:22 -07:00
Nate McMaster
ba87c3fbd1
Remove Microsoft.AspNetCore.All ( #3761 )
...
This shared framework and metapackage are obsolete. The recommended replacement is Microsoft.AspNetCore.App.
2018-10-31 12:13:05 -07:00
Doug Bunting
579341c8d6
Merge branch 'master' into merge/release/2.2-to-master
2018-10-30 21:08:15 -07:00
Doug Bunting
c74a945dda
Convert `RouteValueDictionary` values to `string` using `CultureInfo.InvariantCulture` ( #8674 )
...
* Convert `RouteValueDictionary` values to `string` using `CultureInfo.InvariantCulture`
- #8578
- user may override this choice in one case:
- register a custom `IValueProviderFactory` to pass another `CultureInfo` into the `RouteValueProvider`
- values are used as programmatic tokens outside `RouteValueProvider`
nits:
- take VS suggestions in changed classes
- take VS suggestions in files I had open :)
2018-10-30 20:09:17 -07:00
Hao Kung
da9318f431
Block enabled 2fa in the UI without cookie consent ( #2035 )
...
* Block enabled 2fa in the UI without cookie consent
* Guard against feature not being there
* Set up tweak
* Fix
2018-10-30 16:23:55 -07:00
Nate McMaster
4c9c4a5cc8
Merge branch 'release/2.2'
2018-10-30 15:22:50 -07:00
Nate McMaster
9405d058fa
Merge branch 'release/2.1' into release/2.2
2018-10-30 14:54:51 -07:00
Pranav K
734b919b02
Respect SuppressInferBindingSourcesForParameters
...
Fixes https://github.com/aspnet/Mvc/issues/8657
2018-10-30 14:37:21 -07:00
Pranav K
0bd6d135c1
Move targets, rzc and extension assembly in to the Sdk
2018-10-30 14:30:20 -07:00
Pranav K
16b15fcb2a
Merge pull request #8672 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-30 13:33:07 -07:00
Piotr Wosiek
af6527dcef
Fix XML doc on HttpMethodAttribute and derived ones
2018-10-30 13:21:15 -07:00
Hao Kung
93799664bb
Merge pull request #2031 from dotnet-maestro-bot/merge/release/2.2-to-master
2018-10-30 12:57:29 -07:00
Filip W
187e89f6f0
Do not throw a null reference from request.GetDisplayUrl() ( #1057 )
2018-10-30 12:32:26 -07:00
Ajay Bhargav Baaskaran
0948660e8c
Merge branch 'release/2.2'
2018-10-30 12:07:04 -07:00
Nate McMaster
d7b9fd4807
Update TFM to include netcoreapp3.0
2018-10-30 11:26:46 -07:00
Nate McMaster
969fb9bf48
Update projects in src/Framework/ to netcoreapp3.0
2018-10-30 10:41:24 -07:00
Ryan Nowak
3e6b3a0067
Merge pull request #521 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-29 17:03:14 -07:00
Ryan Nowak
4c94bc272b
Rename anti-caching option
...
- Renamed the property for configuration response caching headers
- Renamed the options class to avoid conflicts with other type names
Fixes https://github.com/aspnet/Diagnostics/issues/509
2018-10-29 16:44:45 -07:00
Nate McMaster
5e4166f940
Merge branch 'release/2.2'
2018-10-29 16:05:19 -07:00
Ryan Nowak
6c1bee1940
Classify non-C# inside C#
...
Fixes a bug with preview formatting for FAR.
So when we ask the Roslyn API to classify C# for us, it will only
classify the actual C# tokens. We are responsible for filling in the
gaps and whitespace.
The bug is that the following text would have all of its whitespace
removed in the VS FAR preview window.
```
@{ var foo = "Hello, world!"; }
```
Would look like:
```
@{varfoo="Hello, world!";}
```
This fixes the issue and makes it look like what one would expect.
2018-10-29 14:35:13 -07:00
Ryan Nowak
a3d0c8f634
Fixes for excerpt service
...
We had a bug where were not returning the correct span for highlighting.
Fixed this.
Also we have a problem here, we're using types in our tests that are
coming from Roslyn - however we're not getting IVT for our test
assemblies. So some additional pain is required.
2018-10-29 14:35:13 -07:00
Ryan Nowak
5229e65962
Add GeneratedDocumentTextLoader
2018-10-29 14:35:13 -07:00
Ryan Nowak
e637e17d34
Add support for getting the output version
...
This was missed in an earlier PR.
2018-10-29 14:35:13 -07:00
Pranav K
4015c9863e
Merge pull request #8664 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-29 12:54:42 -07:00
Ajay Bhargav Baaskaran
8674dd9236
Removed duplocate Id for a RazorDiagnostic
2018-10-29 11:25:29 -07:00
Pranav K
13cf754425
Merge pull request #8663 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-29 09:59:34 -07:00
Pranav K
35d2ab37f7
Allow passing a dictionary to ValidationProblemDetails
...
Fixes https://github.com/aspnet/Mvc/issues/8645
2018-10-29 09:56:17 -07:00
Pranav K
ccde910b29
Specify TaskCreationOptions when using TCS
...
Fixes https://github.com/aspnet/Mvc/issues/8558
2018-10-29 09:33:05 -07:00
Ryan Nowak
4d44639a51
Incorporate breaking changes from CPS
2018-10-29 08:51:21 -07:00
Ryan Nowak
08699702ad
Merge pull request #518 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-27 21:57:41 -07:00
Ryan Nowak
1afd5b2594
Don't use Map
...
Fixes aspnet/Diagnostics#511 and aspnet/Diagnostics#514
It's really confusing to people that we use Map. Users expect that the
URL they provide for the health check middleware will only process
exact matches. The way it behaves when using map is not optimal for some
of the common patterns.
2018-10-27 21:01:55 -07:00
Doug Bunting
0cea1b2a5f
Merge pull request #8656 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-27 16:53:19 -07:00
Doug Bunting
37e562902f
Support single `IDocumentProvider` method signature
...
- #8593
- also find `IDocumentProvider` using a more-laborious process
- `Type.GetType(string)` requires an assembly-qualified name and we don't know the assembly
- default method name now `GenerateAsync`
- only supported signature is `public Task GenerateAsync(string, TextWriter)`
also:
- handle more error cases in the tool's inside man
- avoid an empty document file if `IDocumentProvider.GenerateAsync(...)` fails
- unwrap an `AggregateException`
nits:
- remove duplicate comments
- change `GetDocumentCommandWorker.TryProcess(...)` to return `false` on failure
- minor because return value is currently ignored
- rename `GetDocumentCommandContext.Output` -> `OutputPath`
- reflect recent change to `dotnet-getdocument`'s `Resources.resx` file in its designer file
2018-10-27 15:27:33 -07:00
Nate McMaster
eba014d534
Add additional signing configuration for external assemblies in the tools packages
2018-10-27 02:06:55 -07:00
Nate McMaster
3c0f4ef14f
Merge branch 'release/2.2'
2018-10-27 01:31:58 -07:00
Nate McMaster
c8b1d2cfe5
Merge branch 'release/2.1' into release/2.2
2018-10-27 01:31:12 -07:00
Nate McMaster
d957ac9da0
Remove Microsoft.DotNet.GlobalTools.Sdk, upgrade BuildTools, and change VSIX signing cert name
2018-10-27 01:28:14 -07:00
Nate McMaster
e7edf237b5
Merge pull request #2679 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-26 23:53:59 -07:00
Nate McMaster
6ecf5374c6
Use 3PartySHA2 instead of 3PartyDual for code-signing Newtonsoft.Json.dll ( #2678 )
2018-10-26 23:40:22 -07:00
James Newton-King
1c61f3538e
Merge release/2.2
2018-10-27 11:56:04 +13:00
Hao Kung
6c45bfc0dc
Merge 2.1 -> 2.2 ( #2030 )
2018-10-26 14:52:03 -07:00
Nate McMaster
fa3cfd08eb
Remove IdentityService ( #2028 )
...
As a part of preparing this repo for merging into aspnet/AspNetCore, this code is being removed as it is currently not in a "shipping" state for 2.1.
2018-10-26 14:05:44 -07:00
Nate McMaster
d2af13517b
Merge branch 'release/2.2'
2018-10-26 13:39:01 -07:00
Nate McMaster
ba67b04d9d
Ensure IsTestProject=false in Microsoft.AspNetCore.Identity.Specification.Tests.csproj
...
This isn't really a test project. It's a class library which contains testing compontents. Because 'xunit' is referenced, IsTestProject=true, which
messes up some of the build logic we have for handling code signing and test runners
2018-10-26 12:26:16 -07:00
James Newton-King
6bb292cfcc
Add test for metadata precedence ( #8642 )
2018-10-27 07:59:15 +13:00
Nate McMaster
6bafc157e7
Update code signing config to exclude .js and .ttf files in template packages
2018-10-26 11:51:23 -07:00
Ryan Brandenburg
2adf798ba0
Fix peer dependencies in React templates
2018-10-26 11:46:48 -07:00
Pranav K
a74235c7ec
Reflect Access-Control-Request-Headers and Access-Control-Request-Method when policy is configured to support wildcard
...
Fixes https://github.com/aspnet/AspNetCore/issues/3684
2018-10-26 11:11:33 -07:00
Stephen Halter
b2c65bd346
Merge branch 'release/2.2'
2018-10-26 11:01:02 -07:00
Javier Calvarro Nelson
2ab58c47f7
Merge branch 'release/2.2'
2018-10-26 10:55:39 -07:00
Stephen Halter
395b681348
Add HTTP/2 request body data rate limit ( #3051 )
2018-10-26 10:46:46 -07:00
Nate McMaster
ee11d10f04
Remove BrowserLink and Scaffolding gitsubmodules ( #3730 )
...
As a part of simplifying the way we build ASP.NET Core, the BrowserLink and Scaffolding repos and the packages they produce will be independent from aspnet/AspNetCore.
2018-10-26 10:17:57 -07:00
Pavel Krymets
99f2ecd02f
Move transformation tests from AzureIntegration ( #3726 )
2018-10-26 09:49:19 -07:00
Hao Kung
ec176b2e40
Merge release/2.2 ( #1055 )
...
* Add safe copy for enumeration (#1052 )
2018-10-25 18:43:21 -07:00
Ryan Brandenburg
89d493bac8
Merge pull request #805 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-25 16:23:28 -07:00
Javier Calvarro Nelson
08074b6714
Merge pull request #2025 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-25 15:47:18 -07:00
Wouter Huysentruit
168be7b561
Use the correct logging category inside RegisterModel
2018-10-25 15:44:59 -07:00
Javier Calvarro Nelson
51de582c83
[ Fixes #2002 ] UI package has path error ( #2024 )
2018-10-25 15:33:49 -07:00
Ryan Brandenburg
958e0b1d9f
Get rid of Page1 Page2
2018-10-25 15:12:31 -07:00
Nate McMaster
ae122d9bc0
Include rid-specific runtime packages in the list of artifacts
2018-10-25 14:42:00 -07:00
Nate McMaster
77a3089c8d
Workaround quirks in NuGet
...
* Disable package analysis because it incorrectly issues NU5109 on macOS, but not windows
* Normalize file paths because if you mix slashes, NuGet will just skip the entire folder
* Normalize the project path given to restore. If it not normalized, restore skips the project and issues a warning
2018-10-25 14:27:46 -07:00
Ryan Brandenburg
b05185f1f1
ESLint ( #796 )
...
Include ESLint in react templates
2018-10-25 12:27:39 -07:00
Ryan Brandenburg
9b3d1f56fd
Handle peer dependency warnings ( #794 )
...
Handle peer dependency warnings
2018-10-25 12:00:49 -07:00
Nate McMaster
9d878dddf1
Merge branch 'release/2.2'
2018-10-25 11:12:59 -07:00
Nate McMaster
8c20892290
2.2: Remove BrowserLink from templates ( #801 )
...
This removes support for the `--use-browserlink` flag from the templates. The Microsoft.VisualStudio.Web.BrowserLink package will still ship in 2.2, but users who want this should use `dotnet add package Microsoft.VisualStudio.Web.BrowserLink` instead.
2018-10-25 10:49:44 -07:00
Pranav K
70aad7cb70
Merge branch 'master' into merge/release/2.2-to-master
2018-10-25 09:35:47 -07:00
Pranav K
2d6643bc85
Cleanup Microsoft.NET.Sdk.Razor package output
...
* Remove unnecessary \ incorrect package references
* Remove extraneous build outputs in the tasks project that weren't present when the tasks were in Razor.Design
2018-10-25 09:26:04 -07:00
Pavel Krymets
044f613804
Include failed HRESULTs and exceptions in FREB log ( #1548 )
2018-10-25 08:48:21 -07:00
Justin Kotalik
de185b6a06
Duplicate debug log handle for console logging ( #1558 )
2018-10-25 08:47:31 -07:00
Nate McMaster
11d0b328ba
Remove VS.Web.CodeGeneration packages from the fallback folder cache ( #3717 )
2018-10-24 21:05:44 -07:00
Nate McMaster
654debe8fb
Merge branch 'master' into merge/release/2.2-to-master
2018-10-24 17:51:56 -07:00
Nate McMaster
7bde7399e9
2.2: remove Microsoft.VisualStudio.Web.CodeGeneration.Design from templates ( #802 )
...
This package does not need to be in the project until someone uses Visual Studio code generation. Visual Studio will automatically add this package when scaffolding is used for the first time, so it's unnecessary to put this in our templates.
2018-10-24 17:42:02 -07:00
Nate McMaster
968df9578b
Refactor shared framework projects targets and project layout ( #3703 )
...
This refactors the targets used to build the shared framework and its .zip files. There are lots of reasons motivating this: Arcade convergence, migration to VSTS, making it easier to build this locally, etc.
Changes:
* Moves move content of build/Sharedfx.{props/targets} into eng/targets/SharedFx.Common.{props/targets}
* Update the build to produce a `runtime.$rid.Microsoft.AspNetCore.App` package (not just the one with symbols in it)
* Refactor the targets which produce .tar.gz/.zip files into separate projects in `src/Installers/`
* Refactor installers, unit tests, and the framework projects to use ProjectReference to flow dependencies between different parts of the build.
* Makes it easier to build the shared framework locally (for the inner dev loop, you can run `dotnet build -p src/Framework/Microsoft.AspNetCore.App/src/ -r win-x64`)
2018-10-24 15:42:06 -07:00
Hao Kung
91db78cf92
Add safe copy for enumeration ( #1052 )
2018-10-24 15:10:19 -07:00
Nate McMaster
e3dc0edecb
Merge branch 'release/2.2'
2018-10-24 13:07:05 -07:00
Nate McMaster
01f9af21c5
Temporarily stop producing a package for dotnet-httprepl ( #505 )
...
This package isn't quite ship-shape yet, so we're delaying this from shipping with 2.2 RTM.
Setting IsPackable=false so we avoid accidentally building a 2.2.0 RTM version of this package along with the rest of the 2.2.0 RTM tools in this repo, like dotnet-watch.
2018-10-24 13:02:25 -07:00
Javier Calvarro Nelson
aa88f16b08
Fix cors with creds ( #193 )
2018-10-24 12:56:07 -07:00
Justin Kotalik
4437c72e30
Merge branch 'merge/release/2.2-to-master' of https://github.com/dotnet-maestro-bot/Templating into merge/release/2.2-to-master
2018-10-24 12:05:12 -07:00
Justin Kotalik
70a786adcd
Make AspNetCoreHostingModel element not be insert when targeting net461 and inprocess => InProcess ( #797 )
2018-10-24 11:36:07 -07:00
Pranav K
ce11eb9b71
Merge pull request #8641 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-24 11:19:50 -07:00
Pranav K
2544926b2f
Provide a convenience API to configure ApiBehaviorOptions
2018-10-24 10:10:33 -07:00
Ryan Nowak
357657fc45
Implements versions for generated code
...
This change implements version tracking the inputs and outputs of
generated code.
Version tracking is still best-effort - meaning that in some cases a
perfect system could avoid doing more work. However, since we base the
versions off of all of the inputs, we now that the guarantee that code
generation operations that happen 'out of order' will always result in
the newer inputs generating the newer outputs.
Fixes: https://github.com/aspnet/Razor/issues/2650
2018-10-23 18:19:18 -07:00
Chris Ross
253f81c2f2
Merge pull request #3049 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-23 16:13:35 -07:00
Chris Ross (ASP.NET)
a8073167e7
Revert "Flush response headers #3031 "
...
This reverts commit 277a5502fd .
2018-10-23 15:49:11 -07:00
Chris Ross
9c40a7237c
Merge pull request #260 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-23 15:47:22 -07:00
Chris Ross
268290a8b5
Merge pull request #378 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-23 14:54:53 -07:00
Chris Ross
a5fcd9dd87
Add application/wasm #3681 ( #259 )
2018-10-23 14:43:47 -07:00
Chris Ross
2d3ad1cb0f
Add application/wasm to the default compression list ( #377 )
2018-10-23 14:39:47 -07:00
Stephen Halter
d0fc981c7e
Merge branch 'release/2.2'
2018-10-23 10:47:14 -07:00
James Newton-King
79117fa08a
Merge 2.2 to master
2018-10-23 22:04:56 +13:00
Ryan Nowak
81904f579a
Add definitions for Document Services
...
This change adds mock ups of the interfaces that we've been designing as
part of Razor FAR as well as the implementations. This isn't wired up to
anything yet in this PR, but the basic functionality here is stable
enough for us to stabilize and review.
For now we have the interface definitions in the Razor codebase until a
build of Roslyn is available with these definitions + IVT for us to use
them.
2018-10-22 20:47:31 -07:00
James Newton-King
40959a97e7
Fix link generation of routes with default values ( #8616 )
2018-10-23 16:10:43 +13:00
James Newton-King
e9737a90e5
Endpoing routing 3.0 registration ( #8470 )
2018-10-23 14:04:12 +13:00
James Newton-King
0ef4b4173c
Endpoint routing startup experience ( #889 )
2018-10-23 13:54:36 +13:00
James Newton-King
be0e602d2f
Merge pull request #888 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-23 13:40:24 +13:00
Gert Driesen
25b5ab2c39
Improve performance and reduce allocations in RouteValuesAddressScheme. ( #879 )
2018-10-23 13:25:43 +13:00
Gert Driesen
bc482cd2b0
Minor performance improvement for DfaMatcherBuilder ( #854 )
2018-10-23 13:25:08 +13:00
James Newton-King
74336f10c7
Merge pull request #887 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-23 11:33:13 +13:00
Chris Ross (ASP.NET)
32532078d6
Log binary data as a parameter #2860
2018-10-22 14:51:29 -07:00
Gert Driesen
bcbf2a1a68
Minor performance improvement for UriBuildingContext.ToPathString() with zero-length path. ( #880 )
2018-10-23 10:20:52 +13:00
Gert Driesen
c93e3a76ff
Eliminate redundant isValid check from DefaultEndpointSelector.ProcessFinalCandidates(...). ( #881 )
2018-10-23 10:20:30 +13:00
Gert Driesen
26e5ea3274
Improves performance and reduce allocations in DefaultEndpointDataSource ( #882 )
2018-10-23 10:20:15 +13:00
Ryan Nowak
4943bc4896
Remove LinkGenerationTemplate
...
This doesn't really accomplish our goals for 2.2 - I don't have a clear
scenario where I would tell a developer to use this VS something else.
Will reevaluate in 3.0
2018-10-22 14:18:22 -07:00
James Newton-King
bc140fc491
Merge pull request #885 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-23 09:18:17 +13:00
Ryan Brandenburg
707b1bbf3b
Fix link
2018-10-22 12:48:30 -07:00
Justin Kotalik
ffa72f5a0c
Fix two string allocation issues ( #1539 )
2018-10-22 11:23:14 -07:00
Ryan Nowak
a3e999762f
Merge pull request #8630 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-22 07:58:36 -07:00
Ryan Nowak
76a30b0911
Remove LinkGenerationTemplate
...
This doesn't really accomplish our goals for 2.2 - I don't have a clear
scenario where I would tell a developer to use this VS something else.
Will reevaluate in 3.0
2018-10-21 15:39:59 -07:00
James Newton-King
1d05592cd7
Allow parameter names to match required keys in templates ( #872 )
2018-10-22 11:29:41 +13:00
James Newton-King
fbfbc35b11
Merge pull request #884 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-22 09:09:21 +13:00
Gert Driesen
2081160678
Improve performance and reduce allocations of TemplateSegment ( #856 )
2018-10-22 08:35:35 +13:00
Gert Driesen
0f90a15cf1
Use Array.Clone() to copy arrays, and avoid copy where applicable ( #855 )
2018-10-22 08:34:11 +13:00
James Newton-King
96953546e3
Merge pull request #878 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-22 08:29:41 +13:00
Gert Driesen
42914d93ca
Declare out variables inline, and use discards ( #873 )
2018-10-21 14:05:05 +13:00
Ryan Nowak
baa71375d0
Add and process notifications for Imports ( #2656 )
...
This builds support for tracking the effect of changes to imports on
other documents, and completes our model for being able to keep
generated code up to date.
2018-10-19 21:39:43 -07:00
Chris Ross (ASP.NET)
277a5502fd
Flush response headers #3031
2018-10-19 18:00:24 -07:00
Ryan Nowak
61ca323a4a
Merge branch 'release/2.2'
2018-10-19 17:25:09 -07:00
N. Taylor Mullen
333989af7a
Update to use latest completion APIs
2018-10-19 15:10:19 -07:00
N. Taylor Mullen
c371fa29fe
Make it so the RazorDirectiveCompletionProvider doesn't load extra assemblies in C#.
...
- Added a layer of indirection to allow for proper Lazy loading of Razor and future async completion specific assemblies.
2018-10-19 15:10:19 -07:00
Nate McMaster
dc37a2c23d
Merge branch 'release/2.2'
2018-10-19 14:11:58 -07:00
Pranav K
79458c16fd
Merge pull request #8626 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-19 13:57:59 -07:00
Patrick Westerhoff
ddbe0fef26
Allow custom handling of antiforgery failures
...
To enable custom handling of antiforgery validation failures, use an
`AntiforgeryValidationFailedResult` which is just a `BadRequestResult`
but allows to be identified explicitly inside always-running result
filters using the `IAntiforgeryValidationFailedResult` marker interface.
2018-10-19 13:47:08 -07:00
Pranav K
8a183bb4f4
Allow serving Razor files with leading underscore
...
Fixes https://github.com/aspnet/Mvc/issues/8617
2018-10-19 13:43:35 -07:00
Pavel Krymets
f1ce94a2cf
Add support for building 2.1 based Server.IIS package ( #1534 )
2018-10-19 12:42:16 -07:00
Pavel Krymets
d3216a66c1
Create a build configuraition to build OOB logging site extension package ( #3643 )
2018-10-19 12:19:33 -07:00
Chris Ross (ASP.NET)
23a4e11261
Send RST for canceled HTTP/2 writes #3007
2018-10-19 11:03:44 -07:00
Nate McMaster
84ca21ed06
Merge branch 'release/2.2'
2018-10-19 10:26:30 -07:00
Nate McMaster
36add43f11
Merge branch release/2.1 into release/2.2
2018-10-18 16:53:03 -07:00
Justin Kotalik
b92c82e97f
Add static shim test ( #1505 )
2018-10-18 13:58:56 -07:00
dotnet-maestro-bot
31849575f1
Upgrade to .NET Core 2.1.6-servicing-27017-02
2018-10-18 13:48:06 -07:00
Ryan Nowak
4927525519
Fix a bug in the span mapping code
...
This wasn't quite doing the right thing, and it's simpler than we make
it to be.
2018-10-18 13:46:24 -07:00
Ryan Nowak
bafe1b27ff
Add line numbers for design time directives
...
Addresses a blocking issue for FAR of types when used in user-code in a
directive. The FAR infrastructure is skipping over the directive code
because it's mapped to `#hidden`. As you can see in the code, the token
provided by the user is already included in the projection mappings.
I think we didn't do this before because we didn't expect this code to
need line numbers - it's not really debuggable, and design-time codegen
doesn't happen when you build the project.
I think it's OK for now that we don't line-map (or include) directives
based on view imports. If you trigger FAR on an `@inject ...` in an
import for instance, you'll find the reference for the view import file.
That seems pretty good, and the only cases I can really imagine it being
broken would be for go-to-definition (within a Razor view). Lets revisit
in the future based on feedback.
2018-10-18 13:46:24 -07:00
Pavel Krymets
293d165a80
Fix flaky disconnect test ( #1533 )
2018-10-18 12:37:13 -07:00
Chris Ross (ASP.NET)
d3f2ca9c9a
Do not inherit socket handles #2789
2018-10-18 12:19:58 -07:00
Chris Ross
8f8a09fdf2
Merge pull request #3029 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-18 11:22:00 -07:00
Steve Sanderson
f0638877fa
Rename "Fixed" to "IsFixed"
2018-10-18 09:57:41 +01:00
Steve Sanderson
18df30568c
Support "Fixed" mode for <CascadingValue>
2018-10-18 09:57:41 +01:00
Steve Sanderson
4a6f471d12
Add Cascading flag to Parameter ( #1564 )
...
... so that components that pass through an arbitrary set of parameters can choose to filter out cascading ones if they want.
2018-10-18 09:37:46 +01:00
Justin Kotalik
22c737c3ee
Merge pull request #3663 from aspnet/release/2.2
...
Revert restarting was when installing ANCM (#3662 )
2018-10-17 22:45:39 -07:00
Justin Kotalik
6dc4673881
Revert restarting was when installing ANCM ( #3662 )
2018-10-17 22:44:41 -07:00
Meir Blachman
dd807a6d70
using Microsoft.Extensions.CommandLineUtils for blazor-cli
2018-10-17 22:33:03 -07:00
Nate McMaster
674401235b
Fix local builds of src/DataProtection/build.cmd
2018-10-17 17:35:01 -07:00
Chris Ross (ASP.NET)
1d3090f056
Only reset the request body pipe for HTTP/1 #3006
2018-10-17 16:28:33 -07:00
Pranav K
1c1aabc605
Merge branch 'master' into merge/release/2.2-to-master
2018-10-17 16:22:55 -07:00
Nate McMaster
6994c4fc48
Merge release/2.2 and aspnet/WebSockets master branch
2018-10-17 16:06:14 -07:00
Nate McMaster
9ce78f36d5
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in afeb7fe49b
2018-10-17 15:57:02 -07:00
James Newton-King
e51da32e9d
Prefer StringComparison over StringComparer when not using comparers ( #870 )
2018-10-18 11:55:33 +13:00
Nate McMaster
d991c50c82
Merge release/2.1 and aspnet/WebSockets release/2.2
2018-10-17 15:47:04 -07:00
Pranav K
27e75e7a51
Add a switch to allow turning on ValidationVisitor shortcircuiting ( #8599 )
2018-10-17 15:47:01 -07:00
Nate McMaster
24f85a200c
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in a036f920b8
2018-10-17 15:34:25 -07:00
Nate McMaster
b1427c759b
Remove the WebSockets submodule
2018-10-17 14:53:22 -07:00
Nate McMaster
9e952a22ed
Merge source code from aspnet/WebSockets
2018-10-17 14:30:38 -07:00
Nate McMaster
5d84c92b74
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganiziation, this source code was found in 67f2c3149e
2018-10-17 14:27:00 -07:00
Ryan Nowak
d17d9155c7
Port aspnet/Routing/pull/858
2018-10-17 14:26:30 -07:00
Lukas Bickel
fb6427a46a
escape quotes in event handler attribute content
2018-10-17 14:18:22 -07:00
Gert Driesen
5c31f1f455
Add Remove(string key, out object value) overload to RouteValueDictionary ( #858 )
...
* Add Remove(string key, out object value) overload to RouteValueDictionary.
* Consistently use _count field instead of Count property in Remove overloads.
Added comment on EnsureCapacity call.
Added test for removing first/middle/last entry.
2018-10-17 13:24:07 -07:00
John Luo
5d337fbd9d
Revert "Set default protocol to HTTP/1.x"
...
This reverts commit 97acb95715 .
2018-10-17 12:46:35 -07:00
Nate McMaster
1dfe06323f
Merge branch release/2.2
2018-10-17 11:52:06 -07:00
Nate McMaster
80d3bbfcc9
Update code signing config to exclude .js files in template packages
2018-10-17 11:13:02 -07:00
John Luo
97acb95715
Set default protocol to HTTP/1.x
2018-10-17 11:11:02 -07:00
Chris Ross (ASP.NET)
1e84159abb
Merge branch 'release/2.2'
2018-10-17 10:18:47 -07:00
MK
39c25357c6
Skip extensions in SetCookie parser #1049 ( #1050 )
2018-10-17 09:48:23 -07:00
Chris Ross (ASP.NET)
4678476063
Merge remote-tracking branch 'origin/release/2.2'
2018-10-17 09:35:20 -07:00
Chris Ross (ASP.NET)
c21cee940a
Specify culture to int.TryParse #356
2018-10-17 09:24:49 -07:00
itminus
a43587290f
fix : DefaultFilesMiddleware serve with unicode path ( #257 )
2018-10-17 08:07:37 -07:00
Ryan Nowak
edd1ba4698
Update VS dependencies
2018-10-16 17:58:03 -07:00
N. Taylor Mullen
f835291cb6
Allow identical DocumentSnapshot sources to trigger output changes.
...
- Prior to this project changes would trigger re-parses which would then be thrown away because source versions were identical.
- Added test to verify new SetOutput behavior.
aspnet/Razor.VSCode#184
2018-10-16 16:09:17 -07:00
Justin Kotalik
3c44d27974
Merge pull request #1514 from aspnet/release/2.2
...
Merge release/2.2 into master: Fix path to aspnetcoreca.dll for signed output (#1513 )
2018-10-16 15:59:08 -07:00
Steve Sanderson
efbf2c5678
When tracing dependencies *without* linking, don't fail the build if there are unresolved dependencies
...
There are legitimate use cases for referencing BCL assemblies that *aren't* in the Mono WebAssembly BCL, particularly for Blazor-on-the-server which runs on CoreCLR (and hence supports a broader BCL) anyway.
2018-10-16 23:57:40 +01:00
Justin Kotalik
b951ac9b64
Fix path to aspnetcoreca.dll for signed output ( #1513 )
2018-10-16 15:55:15 -07:00
Pavel Krymets
8f99140f30
Add client disconnect logs ( #1521 )
2018-10-16 15:30:19 -07:00
MikaelMengistu
83b5abbfcd
Merge branch 'release/2.2'
2018-10-16 14:39:02 -07:00
Nate McMaster
2a37b67d1a
Merge branch 'release/2.2'
2018-10-16 14:30:11 -07:00
Nate McMaster
e75dc56327
Sign Newtonsoft.Json with AssemblySigning3rdPartyCertName
2018-10-16 14:29:10 -07:00
Ryan Brandenburg
a4a9dbca1c
Merge pull request #778 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-16 13:56:04 -07:00
Javier Calvarro Nelson
a6aa152b0c
Merge branch 'master' into merge/release/2.2-to-master
2018-10-16 13:43:46 -07:00
Ryan Nowak
5502c43159
Merge pull request #8610 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-16 13:35:46 -07:00
Nate McMaster
4d631ffed3
Merge branch 'release/2.2'
2018-10-16 12:06:16 -07:00
Nate McMaster
a35226131a
Merge branch release/2.2
2018-10-16 12:02:18 -07:00
Nate McMaster
6366deb193
Update dataprotection to 2.2.0-rtm
2018-10-16 11:33:17 -07:00
Nate McMaster
b64e64d9e5
Merge branch 'namc/merge-dp-22' into release/2.2
2018-10-16 11:32:28 -07:00
Justin Kotalik
92baa4a75b
Cleanup ANCM installers/ Sign AspNetCore custom action ( #1499 ) ( #1502 )
2018-10-15 17:46:36 -07:00
Justin Kotalik
eced46c579
Cleanup ANCM installers/ Sign AspNetCore custom action ( #1499 )
2018-10-15 17:10:08 -07:00
Ryan Nowak
a2a8a5ce36
Merge pull request #8598 from aspnet/rynowak/compat-version-docs
...
Update docs for compat switch value
2018-10-15 17:04:17 -07:00
Ryan Brandenburg
73f161cc60
Set crossorigin anonymous for integrity
2018-10-15 15:51:46 -07:00
Pavel Krymets
24e2e5ad52
Port startup tests to IIS ( #1513 )
2018-10-15 11:44:51 -07:00
Nate McMaster
6a14b47ccd
Add infrastructure changes to src/DataProtection can build on its own
2018-10-15 11:17:06 -07:00
Nate McMaster
89e2508acf
Merge branch 'release/2.2'
2018-10-15 11:03:28 -07:00
Ryan Brandenburg
bd375fc9ee
Fix audit failure
2018-10-15 10:49:40 -07:00
Nate McMaster
3eb0764fae
Reorganize source code from aspnet/DataProtection into a subfolder
...
Prior to reorg, this source existed at 9c7731f1fa
2018-10-15 10:47:38 -07:00
Pavel Krymets
b0deed05be
Add server abort tests ( #1510 )
2018-10-15 10:33:14 -07:00
Nate McMaster
489a88d21e
Merge aspnet/DataProtection release/2.2 into this repo
2018-10-15 10:21:02 -07:00
Nate McMaster
a673bfd741
Add build script and CI config for the DataProtection folder
2018-10-15 10:13:04 -07:00
Nate McMaster
4dfd351c84
Remove DataProtection submodule and update path to DP source code to local folder
2018-10-15 09:46:20 -07:00
Nate McMaster
c355f10074
Merge source code from aspnet/DataProtection
2018-10-15 09:40:44 -07:00
Ryan Nowak
c421178a22
Update docs for compat switch value
2018-10-15 07:43:18 -07:00
Steve Sanderson
211ad636fd
Cascading parameters ( #1545 )
...
* Add Provider component
* Implement discovery and matching rules for tree parameters
* Remove artificial component hierarchy unit tests now they are redundant
* Refactor: Have RenderTreeFrame point to the ComponentState instead of IComponent
... so we can more quickly find associated tree param state without having to do lookups based on the componentId.
Also rename AssignComponentId to AttachAndInitComponent to be more descriptive.
* Refactor: Add shared code path for updating parameters so there's only one place to attach tree parameters
Now framework code should no longer call IComponent.SetParameters directly, except if it knows it's definitely dealing with a root component.
* Refactor: Simplify Parameter by making it hold the name/value directly
This will be necessary for tree parameters, which don't correspond to any RenderTreeFrame
* Refactor: Wrap ParameterEnumerator logic in extra level of iterator so we can also add one for iterating tree params
* Extend ParameterEnumerator to list tree parameters too
* Include tree parameters in SetParameters calls
* Refactor: Move parameter change detection logic into separate utility class
... so we include https://github.com/dotnet/jsinterop/pull/3
* Refactor: Move tree parameter tests from RendererTest.cs their own file
* Have Provider re-render consumers when value changes. Unit tests in next
commit.
* Components that accept tree parameters need to snapshot their direct params for later replay
* Empty commit to reawaken CI
* CR: Make name matching case-insensitive
* Refactor: Rename Provider/TreeParameter to
CascadingValue/CascadingParameter
* Add dedicated [CascadingParameter] attribute. Remove FromTree flag.
* CR: CascadingParameterState cleanups
* CR: Extra unit test
* CR: arguments/parameters
* CR: Enumerator improvements
* Fix test
2018-10-15 11:11:46 +01:00
David Fowler
defbadb26b
Various timer cleanup ( #3129 )
...
This change does 2 things:
- It disables the websocket keep alive since SignalR has its own bidirectional pings. This should remove a significant timer overhead per WebSocket connection that we end up with today. We have a single timer that sends to all connection on an interval.
- Don't pass the CancellationToken to ReadAsync in the handshake since the Pipe implementation holds onto the token for longer than it
needs to which keeps Timer objects alive (see dotnet/corefx#32806 )
I found this when reading the source code and looking at dumps of a couple of SignalR applications.
2018-10-13 11:43:20 -07:00
Pavel Krymets
0b5973e501
Enable auth tests on IIS ( #1511 )
...
* Enable auth tests on IIS
* FB
2018-10-13 10:54:20 -07:00
David
0b76599c31
Improve conformance of replace operations to spec
...
This ensures that JSON patch "replace" operations are functionally
equivalent to "remove" operations followed by "add" operations at the
same path, as RFC 6902 specifies.
Addresses #110
2018-10-12 19:27:38 -07:00
Nate McMaster
24d13700d7
Merge branch 'release/2.2'
2018-10-12 17:56:10 -07:00
Nate McMaster
c37a332a6a
Merge branch 'release/2.1' into release/2.2
2018-10-12 16:56:47 -07:00
Pranav K
5f42d5063e
Merge remote-tracking branch 'origin/release/2.2'
2018-10-12 15:58:08 -07:00
Pranav K
fb57810f29
Shortcircuit validation when using default validator providers and no validation metadata is discovered
...
Fixes https://github.com/aspnet/Mvc/issues/5887
2018-10-12 14:47:06 -07:00
Justin Kotalik
dbc1d38a58
Move ANCM installers to Universe ( #1456 )
2018-10-12 14:32:12 -07:00
Pranav K
a40c1f2d02
Use compat flag to drive XML ProblemDetails formatting
2018-10-12 14:15:28 -07:00
Pranav K
164d14064c
Use casing for ProblemDetails that specified by RFC
...
* Use JsonProperty.MemberName to specify lowercase casing for ProblemDetails properties -
https://tools.ietf.org/html/rfc7807#section-3
* Use XML NS and lowercase for Xml elements specified by RFC -
https://tools.ietf.org/html/rfc7807#appendix-A
Fixes https://github.com/aspnet/Mvc/issues/8501
2018-10-12 14:15:28 -07:00
Nate McMaster
fb3f5d95c2
Backport infrastructure changes and source reorganization
...
* Add build definition for Azure DevOps
* Put code for metapackages in a subfolder
* Update targets to prepare for submodules merging into this repo
* Add source code for windows installer
* Add source code for Debian installers
2018-10-12 13:59:43 -07:00
Stephen Halter
1f2e704dd3
Implement MinResponseDataRate for HTTP/2 ( #3003 )
...
#2807
2018-10-12 13:15:46 -07:00
Nate McMaster
f4026cc100
Reorganize source code from aspnet/DataProtection into a subfolder
...
Prior to reorg, this source existed at 3f5f419df8
2018-10-12 13:14:22 -07:00
Peter Blazejewicz
98162cb7df
Remove `launchsettings.json` entry from `.gitignore`. Closes #760 ( #761 )
...
Do not ignore launchsettings.json. Closes #760
As discussed in:
https://github.com/github/gitignore/pull/2705
https://github.com/github/VisualStudio/issues/1405
2018-10-12 12:58:50 -07:00
Pavel Krymets
642e8e9d7c
Add Basic auth tests and fix Windows auth tests ( #1502 )
2018-10-12 12:03:11 -07:00
Hao Kung
44f00013cd
Merge 2.1 -> 2.2 ( #2009 )
...
* Fix login.cshtml
2018-10-12 11:34:54 -07:00
Nate McMaster
4f14cda425
Reorganize source code from aspnet/DataProtection into a subfolder
...
Prior to reorg, this source existed at b62bb5778b
2018-10-12 10:07:51 -07:00
Steve Sanderson
fa2b61773a
In ComponentState, track parent ComponentState. Be explicit that Renderer only lets you attach root components.
2018-10-12 09:49:28 +01:00
Doug Bunting
d3c8d171bd
Fix builds that do real signing e.g. UniverseCoherence
2018-10-11 21:13:23 -07:00
James Newton-King
14b8c85728
Merge pull request #851 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-12 16:29:21 +13:00
James Newton-King
fbf0708f19
Fix DfaGraphWriter ISuppressMatchingMetadata check ( #850 )
2018-10-12 16:08:50 +13:00
Pranav K
e6bdf128f2
Log when a request is an OPTIONS request but not a preflight request
...
Fixes https://github.com/aspnet/AspNetCore/issues/2375
2018-10-11 16:30:22 -07:00
Doug Bunting
8c58fdb755
Add Newtonsoft.Json.dll to Microsoft.Extensions.ApiDescription.Design package
...
- also remove dotnet-getdocument.runtimeconfig.dev.json file
2018-10-11 15:51:20 -07:00
Turner Bass
05d729b409
UrlHelperBase L166-167 declared type of url in TryFastGenerateUrl
2018-10-11 15:41:14 -07:00
Ryan Brandenburg
c71818eae2
Merge branch 'master' into merge/release/2.2-to-master
2018-10-11 14:54:19 -07:00
Javier Calvarro Nelson
f5b5018d66
[ Fixes #1958 ] Add and generate docs for the default UI
2018-10-11 14:46:57 -07:00
Chris Ross (ASP.NET)
081cef0934
Track aborted streams for a given grace period #2832
2018-10-11 12:55:26 -07:00
Ryan Brandenburg
04552f4005
Update Jquery.validation.Unobtrusive ( #1999 )
...
Update Jquery.validation.Unobtrusive
2018-10-11 12:29:52 -07:00
Ryan Brandenburg
df394051d0
JQuery Unobtrusive to 3.2.11
2018-10-11 12:29:32 -07:00
Pranav K
2690a3f621
Remove filtering from CorsService
...
* Add browser based integration tests
2018-10-11 12:23:40 -07:00
Pavel Krymets
1132cad70b
public const string AuthenticationScheme ( #1496 )
2018-10-11 10:54:00 -07:00
BrennanConroy
af62105cc6
Merge branch 'release/2.2'
2018-10-11 10:25:47 -07:00
BrennanConroy
9c7731f1fa
Merge branch 'release/2.2'
2018-10-11 10:23:24 -07:00
Justin Kotalik
0e04527fb4
General cleanup for client disconnect handling. ( #1446 )
2018-10-11 08:44:03 -07:00
John Luo
3fe17b9faf
Merge branch 'release/2.2'
2018-10-10 18:14:38 -07:00
Ben Adams
800c79c0e4
Fast-path async in HttpResponseStreamWriter
2018-10-10 18:13:58 -07:00
Günther Foidl
773aa6e6ff
Http{Request|Response}Stream.ValidateState made inlineable
2018-10-10 17:45:05 -07:00
BrennanConroy
3f5f419df8
Add Redis 2.0 package ( #325 )
2018-10-10 16:40:52 -07:00
BrennanConroy
286e4bebf7
Add StackExchange.Redis 2.X.X package ( #3089 )
2018-10-10 16:40:27 -07:00
Ryan Brandenburg
7c817289ff
Merge branch 'master' into merge/release/2.2-to-master
2018-10-10 16:29:10 -07:00
Doug Bunting
5cd86977ed
Rename client code generation components
...
- #8523
- main project / package --> `Microsoft.Extensions.ApiDescription.Design`
- tasks assembly and namespace --> `Microsoft.Extensions.ApiDescription.Tasks`
- tool namespace --> `Microsoft.Extensions.ApiDescription.Tool`
- targets --> verbs e.g. `GenerateTypeScriptNSwag` and `GenerateDocumentDefault`
- `@(ServiceProjectReference)` metadata -> align with common MSBuild project properties
- exception: `$(MSBuildProjectExtensionsPath)`; it's readonly and `%(ProjectExtensionsPath)` is unambiguous
- use `%(ProjectExtensionsPath)`
- also add `%(Targets)` metadata and remove unused `%(ProjectRuntimeIdentifier)`
- `@(<ServiceProjectReferenceMetadata)` metadata -> align with MSBuild project properties
- exceptions: `$(MSBuildProjectDirectory)`, `$(MSBuildProjectExtensionsPath)` and `$(MSBuildProjectName)`
- readonly properties and names already unambiguous
2018-10-10 14:52:57 -07:00
Doug Bunting
d3442f3590
Create a single Microsoft.Extensions.ApiDescription.Client package
...
- #8428
- add signing-related and PackageVerifier configuration for new package
- remove packaging configuration from dotnet-getdocument project
- adjust `dotnet-getdocument` invocation to its new location
- remove use of nonexistent (ignored) `dotnet-getdocument --no-build` option
Remove `--uri` feature from `dotnet-getdocument`
- reduce dependencies from Microsoft.AspNetCore.TestHost to Microsoft.AspNetCore.Hosting.Abstractions
- assume web site depends on that
- merge `DownloadFileCore` into `DownloadFile`
- remove other unecessary code e.g. `WrappedException` was never `throw`n
Correct issues in `DownloadFile`
- e.g. dispose of `responseStream`, use `await` more, support FIPS-compliant machines
nits:
- clean up `Project` and the metadata it fetches
- remove unnecessary `.props` and `.targets` files
2018-10-10 14:52:56 -07:00
Doug Bunting
5a58f81d8d
Use Internal.AspNetCore.Sdk as an MSBuild SDK in new projects
...
- follow-up to 5bddd226a3
2018-10-10 14:52:56 -07:00
Doug Bunting
ea80199e53
Fix a few issues with Microsoft.Extensions.ApiDescription.Client targets
...
- follow-ups to 1646345955 and 9d109f5956
- fix `%(Command)` updates in `DefaultDocumentGenerator` target
- later references to metadata values set within an item are not up-to-date
- qualify values for `%(SourceProject)`, `%(SourceUri)` and `%(SourceDocument)` when setting that metadata
- MSBuild can't distinguish unqualified metadata references unless using `<X Update="@(X)">`
- fix `@(CurrentServiceFileReference)` items
- was a copy 'n paste error in `_ServiceFileReferenceGenerator_Core` target
- remove per-language default namespace values
- do not add TypeScript files to `@(Compile)`; generally enhance final item additions
- use `$(DefaultLanguageSourceExtension)` to help here
- exclude generated source files with `%(OutputPath)` that does not match `$(DefaultLanguageSourceExtension)`
- really support `%(OutputPath)` directories
- stick with current `$(TargetFramework)` when building `...ReferenceGenerator_Inner` targets
- `%(ProjectTargetFramework)` will not exist for all `@(ServiceFileReference)` items
- building the current project, not a service project; `%(ProjectTargetFramework)` may not be supported
nits:
- shorten a few more long lines in Microsoft.Extensions.ApiDescription.Client.targets
- reduce logging from that file
- do not include `%(SerializedMetadata)` in `%(SerializedMetadata)`
- caused extra-long serialization of items that were originally `@(ServiceProjectReference)`s
- add more info to various comments
- always use element syntax for metadata additions
2018-10-10 14:52:55 -07:00
Doug Bunting
fb9393febf
Correct metadata additions and add errors about metadata
...
- related to #8419 and (more generally) #7947
- add errors for missing required metadata
- add errors for duplicate `%(DocumentPath)` and `%(OutputPath)` metadata
- remove `[Required]` for task inputs that may be `null` or empty
- correct `%(DocumentPath)`s generated in `GetProjectReferenceMetadata` task
- use this task
2018-10-10 14:52:55 -07:00
Doug Bunting
87e304334d
Remove batching requirements placed on code and document generator providers
...
- #8419
- perform batching and `@(ServiceFileReference)` and `@(Compile)` additions in common code
- take advantage of new simplicity in `DefaultDocumentGenerator` target
- add metadata serialization / deserialization in support of passing items into `<MSBuild />`
- also ensure metadata values are escaped before calling `ITaskItem.SetMetadata(...)`
- correct typos in Microsoft.Extensions.ApiDescription.Client.* e.g. in comments and metadata names
- move last remaining `GenerationTasks` file
nits:
- combine `_ServiceProjectReferenceGenerator_Restore` and `_ServiceProjectReferenceGenerator_Build` targets
- only build web sites projects once
- remove unused `buildMultiTargeting` targets
- remove qualification of metadata listed in an `<ItemDefinitionGroup />`; will always exist
- add / remove a few `Condition`s that were missing / redundant
- move properties users won't normally set to Microsoft.Extensions.ApiDescription.Client.targets
- shorten lines in MSBuild files
2018-10-10 14:52:55 -07:00
Doug Bunting
3f001750ad
Rationalize code sharing between the three code generation projects
...
- #8417
- just two files needed to be moved…
2018-10-10 14:52:54 -07:00
Doug Bunting
a76ca293ef
Add missing license headers to src files
...
- #8415
- also correct a typo in Microsoft.AspNetCore.Mvc.Testing files' headers
2018-10-10 14:52:54 -07:00
Doug Bunting
d0325ef264
Remove `CodeAnnotations`
...
- #8416
- turns out this required little on top of dougbu/remove.custom.tool
2018-10-10 14:52:54 -07:00
Doug Bunting
6ffcf3571e
Remove T4 custom tool
...
- use same generator as most other projects in aspnet repos
- were not using named arguments to resource methods anyhow
- update resources to use regular (numbered) format parameters
- adjust to new `Resources` namespace; no need for separate `using`
- use `Format...(...)` methods as necessary
2018-10-10 14:52:54 -07:00
Doug Bunting
e19c036f11
Fix up MSBuild files
...
- correct filenames
- remove NSwag-specific files
2018-10-10 14:52:53 -07:00
Doug Bunting
25d0916b49
Use one namespace for the three client code generation projects
...
- also cleared out most uses of `GetDocument` and `GenerationTasks` in MSBuild and strings
- temporarily fixed up T4 templates, adding Resources.tt (will remove custom generation soon)
2018-10-10 14:52:53 -07:00
Doug Bunting
95b4dc8ca0
Add first cut of Microsoft.Extensions.ApiDescription.Client package / project
...
- WIP in a number of ways
2018-10-10 14:52:36 -07:00
Hao Kung
5c174a3d7d
Fix login.cshtml
2018-10-10 14:49:57 -07:00
Chris Ross (ASP.NET)
b2d53bd328
Merge branch 'release/2.2'
2018-10-10 14:35:57 -07:00
Pavel Krymets
bfa583a9aa
Guard OnAsyncCompletion from completing request before OnExecuteRequestHandler exits ( #1489 )
2018-10-10 14:34:55 -07:00
Chris Ross (ASP.NET)
5a3c664566
Merge branch 'release/2.2'
2018-10-10 14:33:17 -07:00
Pavel Krymets
ab124fc344
Fix applicationInitialization tests and disconnect handler ( #1484 )
2018-10-10 12:41:11 -07:00
Ryan Brandenburg
7d09ec6ccc
Low hanging fruit ( #763 )
...
Clean up low hanging fruit
2018-10-10 12:12:11 -07:00
James Newton-King
f6e20a38e2
HostString throws ArgumentNullException for null host ( #1045 )
2018-10-10 08:27:33 -07:00
James Newton-King
9daf5ff7a4
Fix PageRouteTransformerConvention with custom page routes ( #8576 )
2018-10-10 18:33:30 +13:00
Pavel Krymets
7a09638afe
Modernize startup error pages ( #1476 )
2018-10-09 16:12:01 -07:00
Pavel Krymets
f2fbd803b9
Flow request trace context to CreateApplication ( #1480 )
2018-10-09 16:11:52 -07:00
Ryan Nowak
bb3a30a2fc
Merge branch 'master' into merge/release/2.2-to-master
2018-10-09 13:31:31 -07:00
Pavel Krymets
27e4e1aca3
Remove RestoreOnPublish parameter ( #1533 )
2018-10-09 10:41:52 -07:00
Justin Kotalik
23db53eae6
Add more FREB events/ tests for FREB events ( #1461 )
2018-10-09 10:25:12 -07:00
Ryan Nowak
93dc6dd5f5
Merge pull request #846 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-08 18:05:41 -07:00
Ryan Nowak
1f31e0556d
Add IHealthCheckPublisher for push-based checks ( #498 )
...
IHealthCheckPublisher allows you to configure and run health checks
regularly inside an application, and push the notifications elsewhere.
All publishers are part of a single queue with a configurable period and
timeout.
2018-10-08 17:58:45 -07:00
Stephen Halter
8bca6b3877
Add HTTP/2 keep-alive and request header timeouts ( #2992 )
2018-10-08 17:06:15 -07:00
Pavel Krymets
1be7cd1f74
Disconnect the disconnect handler when request processing ends ( #1471 )
2018-10-08 16:05:28 -07:00
Ryan Nowak
7b16053f27
Misc polishing
...
Rename `IEndpointFinder<>` -> `IAddressScheme<>`
Address the two 'marker' metadata types that I'm aware of.
2018-10-08 15:45:44 -07:00
David J. Quiroga
956441aa68
Ignore created URI if Assembly.CodeBase contains a fragment ( #8556 )
...
* Fixes #8367
2018-10-08 10:41:04 -07:00
Pavel Krymets
4347a45f29
Always add event source logger ( #287 )
2018-10-08 09:31:44 -07:00
Steve Sanderson
7012ea9d03
Avoid OnAfterRender allocating to capture 'this'
2018-10-08 09:39:18 +01:00
Ryan Nowak
3eb50aebff
Merge pull request #497 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-06 16:57:30 -07:00
Ryan Nowak
9722d89572
Adjust log levels
2018-10-06 16:18:55 -07:00
Ryan Nowak
abc169f6ea
Merge pull request #841 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-06 16:13:56 -07:00
Ryan Nowak
67a1f2dda9
Add security text about Host header
2018-10-05 22:26:37 -07:00
Ryan Nowak
ce9ace84fd
Merge pull request #839 from aspnet/rynowak/fix-837
...
Fix Routing#837
2018-10-05 22:26:27 -07:00
Ryan Nowak
13d293ff86
Merge branch 'release/2.2'
2018-10-05 21:30:56 -07:00
Ryan Nowak
81fb93a896
Fix Routing#837
...
Fixes a few issues with how we initialize the middleare.
- Always completes the intitialization task
- Avoids capturing the ExecutionContext
- Allows initialization to occur repeatedly when it fails
2018-10-05 21:24:57 -07:00
Ryan Nowak
9db2833fc2
Make endpoint selector policies per-candidate-set
...
This allows us to filter `IEndpointSelectorPolicy` instance based on
whether the apply to a given candidate set. This should allow us to
remove some HAXXX from MVC.
The idea here is the ESP becomes much more pay-for-play if you can
statically eliminate many of the cases where it would usually no op.
2018-10-05 21:03:59 -07:00
Ryan Nowak
384b814349
React to IEndpointSelectorPolicy changes
2018-10-05 21:03:53 -07:00
Ryan Nowak
d4ef24ab2c
Merge pull request #836 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-10-05 20:14:12 -07:00
Ryan Nowak
af47b27f0d
Add blurb about Host header
2018-10-05 19:03:21 -07:00
John Luo
5b90028fe3
Expose status code of BadHttpRequestException
2018-10-05 16:08:33 -07:00
Chris Ross (ASP.NET)
daf6e1ecd7
Http/2 response trailers #622
2018-10-05 12:50:46 -07:00
Chris Ross (ASP.NET)
7fd01fb90d
Merge branch 'release/2.2'
2018-10-05 11:49:02 -07:00
Chris Ross (ASP.NET)
89b0430bda
Add IHttpResponseTrailersFeature and extensions
2018-10-05 11:46:52 -07:00
Pranav K
6f76189846
Normalize internationalized domain names when adding to CORS
...
Fixes https://github.com/aspnet/Home/issues/3353
2018-10-05 11:08:02 -07:00
George Drak
e9eea50966
Implement #2230 - Consume BindingAddress instead of ServerAddress ( #2975 )
...
* #2230 Mark ServerAddress as obsolete
* #2230 suppress CS0618 errors for obsoleted ServerAddress class
* #2230 Use BindingAddress instead of ServerAddress
2018-10-05 10:34:00 -07:00
Luke Latham
e30ae8cc3d
Fix typo ( #1559 )
2018-10-05 08:11:04 -07:00
Jo Ham
fc6ac2361e
Fix Typo ( #1044 )
2018-10-05 07:52:15 -07:00
Stephen Halter
f91ae20a3c
Improve RequestAborted token handling ( #2977 )
...
- Improve test reliability of tests verifying the RequestAborted token gets tripped
- Once the response body is completed, don't fire the token for that request even if it is accessed later on.
2018-10-04 16:48:50 -07:00
Andrei Amialchenia
df2ad98743
Use logical 'or' instead of bitwise in IsConnectionReset method. ( #2983 )
2018-10-04 15:37:24 -07:00
Doug Bunting
5bddd226a3
Use Internal.AspNetCore.Sdk as an MSBuild SDK
...
- should resolve issues with occasional strange MSBuild caching issues in this repo
- modeled after aspnet/Scaffolding#905
- follows aspnet/BuildTools#729 recommendation to check in global.config file
- see also Microsoft/msbuild#2914
- use newer KoreBuild
- `.\build.cmd -update /t:noop`
2018-10-04 15:12:38 -07:00
Pranav K
153165f9ad
Handle OPTIONS requests without a handler in Razor Pages ( #8528 )
...
* Handle OPTIONS requests without a handler in Razor Pages
Fixes #7438
2018-10-04 12:25:36 -07:00
Chris Ross (ASP.NET)
35d35f22a3
Disallow any frames after a reset is received #2154
2018-10-04 09:40:21 -07:00
James Newton-King
94101a9cde
Add PageRouteTransformerConvention ( #8541 )
2018-10-04 17:34:26 +13:00
James Newton-King
7854d65c11
Support page parameter in attribute route ( #8530 )
2018-10-04 14:39:40 +13:00
Stephen Halter
5bd2a41517
Make transport logs for connection close more detailed and consistent ( #2978 )
2018-10-03 12:41:00 -07:00
Nate McMaster
ef18c467aa
Merge branch 'release/2.2'
2018-10-02 14:45:17 -07:00
Nate McMaster
f2691ee4b6
Add a copy of scripts from dotnet-deb-tool 2.0.0 to this repo ( #1442 )
...
We currently build .deb files using dotnet-deb-tool, which comes from a package feed. We're not completely sure where the source code is for this tool, so this moves the scripts from the dotnet-deb-tool 2.0.0 package into this repo for safe keeping.
2018-10-02 14:32:12 -07:00
Alexej Timonin
70ddf15cbc
MethodMatches 🚿
2018-10-02 12:57:18 -07:00
Pranav K
a48e75dfb4
Implicitly set content type for ObjectResults containing ProblemDetails ( #8512 )
...
* Implicitly set content type for ObjectResults containing ProblemDetails
Fixes #8467
2018-10-02 10:24:38 -07:00
Nate McMaster
1e41958884
Merge branch 'release/2.2'
2018-10-02 09:23:42 -07:00
Nate McMaster
4c49d5ce80
Resolve flaky tests ( #497 )
...
1. Prevent an ObjectDisposedException in dotnet-watch on slower machines
2. Fix flakiness caused by PID reuse
3. Fix flakiness in tests that await the restart of dotnet-watch. The `.TimeoutAfter` method doesn't cancel the long-running task. This left 2 readers running on dotnet-watch output which caused indeterminate test outcome.
2018-10-02 09:17:04 -07:00
Daniel Roth
04b87ef066
Update Microsoft.AspNetCore.Blazor.Templates.nuspec
2018-10-02 16:59:47 +01:00
Ryan Nowak
737a6003f5
Add required fields to build nuspec
2018-10-02 10:39:21 +01:00
James Newton-King
5f75c07bbf
Add RoutesValues to HttpRequest ( #1042 )
2018-10-02 16:03:58 +13:00
MikaelMengistu
c6a1c7463a
Merge branch 'release/2.2'
2018-10-01 16:19:06 -07:00
Nate McMaster
18e245ecf0
Merge branch 'release/2.2'
2018-10-01 16:00:30 -07:00
Nate McMaster
7d3628b8ac
Merge branch 'release/2.1' into release/2.2
2018-10-01 15:58:37 -07:00
Brian Chavez
78a0a68cd1
Typos/spelling errors in XML doc comments and source. #Hacktoberfest ( #3039 )
2018-10-01 14:41:05 -07:00
Ryan Nowak
f0623fff60
Merge branch 'release/2.2'
2018-10-01 13:38:48 -07:00
Ryan Nowak
014e7eb963
Add EFCore DbContext check
2018-10-01 13:33:00 -07:00
Nate McMaster
f6b64e5d26
Upgrade KoreBuild ( #1498 )
...
* remove sources.props and use NuGet.config. Source.props is only necessary for products that bulid in ProdCon, which Blazor does not
* Remove code signing glue code. This is part of KoreBuild now
* Update SDK to 2.1.400
* Update certificate names used for code-signing to use SHA2
2018-10-01 11:13:09 -07:00
Justin Kotalik
3ddc86a428
Fix mof file ( #1457 )
2018-10-01 08:00:44 -07:00
Steve Sanderson
234f089a0a
Always use forward-slashes in template primaryOutputs. Fixes #1497 .
2018-10-01 13:17:11 +01:00
Ryan Nowak
3863601f1d
Merge pull request #832 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-09-30 16:50:15 -07:00
Ryan Nowak
3227de8c0b
Fix #629 - Add logging to DfaMatcther
...
Adds logging for the most common things that can prevent an endpoint
from matching.
Note that we already have good logging in other parts of the system, the
stuff here completes the story by providing details at the debug level.
2018-09-30 15:59:25 -07:00
Ryan Nowak
3667b0481a
React to routing API changes
...
Reaction for: https://github.com/aspnet/Routing/pull/822
2018-09-30 14:26:06 -07:00
Ryan Nowak
632d980cd1
Merge branch 'release/2.2'
2018-09-30 14:14:48 -07:00
Ryan Nowak
b7939328b8
feedback
2018-09-30 14:09:59 -07:00
Ryan Nowak
a2f404f4d5
Perf improvements for EndpointSelector
2018-09-30 14:09:59 -07:00
Ryan Nowak
ed15bad5fb
Make CandidateState (publicly) immutable
2018-09-30 14:09:59 -07:00
Ryan Nowak
1f5eec1d55
Rename EndpointFeature -> EndpointSelectorContext
2018-09-30 14:09:59 -07:00
Ryan Nowak
cb1393cbb1
Adding functional tests for LinkGenerator
2018-09-29 20:34:48 -07:00
James Newton-King
87084945a6
Merge release/2.2
2018-09-30 09:51:30 +13:00
Ryan Nowak
8b99832eaf
Add ASCII optimized jump tables
2018-09-29 12:55:10 -07:00
James Newton-King
d1f3b90a0e
RouteValuesAddressMetadata ctors and XML docs ( #818 )
2018-09-30 08:54:59 +13:00
Nate McMaster
72cd5eedcf
Prepare the 2.1.6 patch ( #1434 )
2018-09-28 17:57:33 -07:00
Nate McMaster
00e2b6201e
automated: merge branch release/2.2
2018-09-28 17:28:07 -07:00
Nate McMaster
ada2b17160
automated: merge branch release/2.2
2018-09-28 17:27:35 -07:00
Nate McMaster
3483a32505
automated: merge branch release/2.2
2018-09-28 17:27:30 -07:00
Nate McMaster
f1bb7acd5a
automated: merge branch release/2.2
2018-09-28 17:27:28 -07:00
Nate McMaster
0eb57b2a29
automated: bulk infrastructure updates. Update bootstrapper scripts and remove unnecessary signing properties
2018-09-28 17:19:45 -07:00
Nate McMaster
2a1cf12ae9
Merge branch 'release/2.2'
2018-09-28 11:54:18 -07:00
Nate McMaster
3825c24959
Merge branch 'release/2.2'
2018-09-28 11:50:15 -07:00
Simon Cropp
d4ab8b27a9
typos, inline outs, redundant usings ( #2965 )
2018-09-28 11:14:59 -07:00
Chris Ross (ASP.NET)
0143da672c
Merge branch 'release/2.2'
2018-09-28 11:06:41 -07:00
Chris Ross (ASP.NET)
09a7b3bef5
Add logging to the response compression middleware #222
2018-09-28 11:05:20 -07:00
Chris Ross (ASP.NET)
dd29e9de9d
Merge branch 'release/2.2'
2018-09-28 10:53:03 -07:00
Nate McMaster
89fccf3ac5
Enable MicroBuild code signing ( #1456 )
...
Fixup the paths to files to be signed.
2018-09-28 10:37:18 -07:00
Nate McMaster
ef21286792
Fix microbuild code signing configuration ( #8511 )
...
Fixup the paths to files to be signed.
2018-09-28 10:36:56 -07:00
Nate McMaster
47ae0c15cc
Fix microbuild signing configuration
2018-09-28 10:36:24 -07:00
Pranav K
ccb6579cd7
Do not return ProblemDetails for < 4xx status codes
...
Fixes #8504
2018-09-28 10:33:45 -07:00
John Luo
7cf1cf2a54
Update API check baselines to 2.1.0
2018-09-28 10:30:50 -07:00
Unai Zorrilla
fa961b003f
Added execution time duration (HealthReportEntry TotalDuration) ( #493 )
...
* Added execution time duration into HealthReportEntry and TotalDuration on HealthReport
* review PR feedback from @rynowak.
* added the same duration into HealthReportEntry and log when the health check throw
2018-09-28 09:14:58 -07:00
Justin Kotalik
45a52ebff5
Move Log call before starting application ( #1453 )
2018-09-28 08:53:32 -07:00
BrennanConroy
370702f1a2
Merge pull request #3023 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-09-27 21:41:42 -07:00
Simon Cropp
df1f72d3d2
make StaticFileResponseContext constructable ( #250 )
...
* make StaticFileResponseContext constructible so people can instantiate it for testing purposes
2018-09-27 20:32:58 -07:00
BrennanConroy
1f91b523f7
Add error to negotiate ( #2998 )
2018-09-27 20:27:06 -07:00
Simon Cropp
8dcc011324
spelling, inline outs, redundant braces ( #252 )
2018-09-27 20:24:42 -07:00
Stephen Halter
e9c2acf4dc
Add HTTP/2 response draining timeout ( #2956 )
...
* Move drain timeout to Http1Connection
* Add TimeoutControl class
2018-09-27 17:59:12 -07:00
Roma Marusyk
c7eaf77953
Fix XML documentation for IFormFileCollection ( #1041 )
2018-09-27 17:13:28 -07:00
Justin Kotalik
33b5575017
Merge branch 'release/2.2'
2018-09-27 16:54:43 -07:00
Justin Kotalik
fc39ea3bec
Make hosting bundle get prodcon runtime versions ( #1435 )
2018-09-27 16:44:40 -07:00
Nate McMaster
73062c89f6
Change spec test packages to depend on xunit.execution.core, not the xunit metapackage ( #1979 )
2018-09-27 16:40:38 -07:00
Nate McMaster
594b5fafe4
Enable MicroBuild code signing
2018-09-27 16:11:54 -07:00
Chris Ross
601bf83bda
Merge pull request #370 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-09-27 15:54:53 -07:00
Nate McMaster
4baa07ccae
Update code signing properties and configuration
2018-09-27 12:55:40 -07:00
andrewslavin
cc610955db
Support mime-type wildcards #121 @andrewslavin
2018-09-27 12:52:24 -07:00
James Newton-King
6c1c594b83
Merge remote-tracking branch 'origin/release/2.2'
2018-09-27 10:53:30 -07:00
Roma Marusyk
cbed7393a2
Add XML documentation for IFormFileCollection. #3528 ( #1040 )
2018-09-27 09:53:39 -07:00
James Newton-King
95753825ef
Comment registered key ( #816 )
2018-09-27 07:06:30 -07:00
John Luo
f56b682b36
Impose integer decode limit in HPACK
2018-09-26 17:18:24 -07:00
Nate McMaster
6637e8f128
Merge branch 'release/2.2'
2018-09-26 17:05:30 -07:00
Pranav K
8311fd870b
Include the response type in ProducesResponseType for client errors ( #8490 )
...
* Include the response type in ProducesResponseType for client errors
* Refactor ActualApiResponseMetadata discovery in to a separate more manageable type
* Annotate action result ctors and helper methods that specify the "object" value with attribute
* Modify the discovery of parameters to match ActionResultObjectValueAttribute and ActionResultStatusCodeAttribute by name
to allow users to write and annotate custom helper methods and action results, a la NotNullAttribute.
Fixes #8345
2018-09-26 15:51:49 -07:00
Nate McMaster
e4ebae107c
Fix the path to SignedPackageFile items and include the VSIX .dll in code signing
2018-09-26 15:19:28 -07:00
Nate McMaster
0157e38a23
Fix the path for SignedPackageFile and include the VSIX .dll in signing
2018-09-26 15:06:06 -07:00
Nate McMaster
59dd2a05ca
Merge branch 'release/2.2'
2018-09-26 14:25:35 -07:00
Pavel Krymets
bac0f44fa7
Revert "Disconnect the disconnect handler when request processing ends ( #1413 )"
...
This reverts commit f808bdc331 .
2018-09-26 14:17:40 -07:00
Ryan Brandenburg
b07338b618
Don't use depricated methods ( #751 )
...
Don't use depricated methods
2018-09-26 12:50:24 -07:00
MikaelMengistu
a260d44fe2
Merge branch 'release/2.2'
2018-09-26 12:37:17 -07:00
Ryan Nowak
831937c86c
Add LinkGenerator extensions for MVC
2018-09-26 09:37:46 -07:00
Steve Sanderson
e9621c8add
Update aspnet-webpack-react type declarations
2018-09-26 17:24:02 +01:00
Tomasz Jaskula
59ca023f46
Deleting references to 'react-hot-loader/webpack' and 'react-hot-loader/patch' as it was removed in v4 of react-hot-loader. Bumping peer dependency of webpack to 3 and 4
2018-09-26 16:50:43 +01:00
Ryan Brandenburg
c6347f035f
Conditionally include RootNamespace
2018-09-25 15:48:08 -07:00
Ryan Brandenburg
0745266c17
Razor->WebApp
2018-09-25 15:47:23 -07:00
Justin Kotalik
1eb5da31e5
Improve error messages and add static html pages for failure to start site. ( #1421 )
2018-09-25 15:40:15 -07:00
Chris Ross (ASP.NET)
3832019027
Update Facebook to v3.1 endpoints #92
2018-09-25 13:56:58 -07:00
Ryan Nowak
959b45f4e6
Fix #1478 - Razor.Design not getting replaced in templates ( #1479 )
...
* Fix #1478 - Razor.Design not getting replaced in templates
2018-09-25 09:27:28 +01:00
Ryan Nowak
cfcedff233
Merge branch 'release/2.2'
2018-09-24 22:30:41 -07:00
Ryan Nowak
49c2317c14
Fix #810
2018-09-24 21:55:56 -07:00
Ryan Nowak
7c16c92317
Fix a bug in GetUriByRouteValues
...
Pride cometh before the fall...
2018-09-24 20:46:20 -07:00
Chris Ross (ASP.NET)
01b35bc391
Make HTTP/2 connection and stream windows configurable #2814
2018-09-24 15:31:50 -07:00
Ryan Brandenburg
afbf3f1e04
Merge branch 'merge/release/2.2-to-master'
2018-09-24 15:05:43 -07:00
Pranav K
50cef4822a
Invoke FlushAsync before disposing the HttpResponseWriter in JsonResultExecutor
...
Fixes #8486
2018-09-24 13:00:56 -07:00
Ryan Nowak
6f383a0f0f
Adds support for 'Context' parameters on components ( #1470 )
...
Adds support for 'Context' parameters on components
This change allows you to set the parameter name of a parameterized child content by using the `Context` attribute on the component. The `Context` attribute will be defined (and shown by completion) when the component has one or more declared parameterized (`RenderFragment<>`) child content parameters.
This is nice for cases where you are using implicit child content:
```
<ol>
<Repeater Items="People" Context="person">
<li>@person.FirstName</li>
</Repeater>
</ol>
```
or, when you have multiple child content elements and want them all to have the same parameter name:
```
<MyComponent Items="People" Context="person">
<ChildContent1><div>@person.FirstName</div></ChildContent1>
<ChildContent2><div>@person.LastName</div></ChildContent2>
</Repeater>
```
The parameter name can be overridden by using the `Context` parameter on the child content element:
```
<MyComponent Items="People" Context="person">
<ChildContent1 Context="item"><div>@item.FirstName</div></ChildContent1>
<ChildContent2><div>@person.LastName</div></ChildContent2>
</Repeater>
```
If the component defines a `Context` parameter already then we won't synthesize one - your component's parameter will work exactly as it did before this feature.
2018-09-24 12:22:16 -07:00
Ryan Nowak
071a49e4da
Merge branch 'master' into merge/release/2.2-to-master
2018-09-24 11:12:00 -07:00
John Luo
ceaa3c86fc
Add configurability for max header field size in HPACK
2018-09-24 10:53:15 -07:00
Ryan Nowak
204ff0a785
Set cache headers in health check middleware
2018-09-24 10:43:57 -07:00
Ryan Nowak
984fabb89f
Correct template package reference
2018-09-24 10:42:59 -07:00
David Fowler
f17142b2ec
Delay resolution until after application services are built ( #1553 )
...
- Resolve the logger from the right service provider to log duplicate hosting startup assemblies.
- Don't create a 3rd IServiceProvider if we resolved the default implementation.
2018-09-24 10:41:30 -07:00
Ryan Nowak
7a52baf18f
Fix #2054 - make TagHelperResolutionResult internal
...
This type isn't used by WTE anymore.
2018-09-24 10:35:17 -07:00
Ryan Nowak
18145880fa
Improved logging for health checks
...
- Add logging of description/data
- Add logging for aggregate begin/end
2018-09-24 10:29:23 -07:00
Pranav K
9b385180a9
Merge remote-tracking branch 'origin/release/2.2' into prkrishn/update-master
2018-09-24 10:04:06 -07:00
KristianJakubik
067d245f94
Fix negative route params. Fixes #1437
2018-09-24 17:55:21 +01:00
Steve Sanderson
0942b5aa0d
Switch Hosted template to UseBlazor<Startup> for consistency with server-side template. Fixes #1473
2018-09-24 17:54:46 +01:00
Ryan Nowak
86b532cd47
Undo hardcoded Razor.Design in templates
2018-09-22 16:39:27 -07:00
Ryan Nowak
362157cf24
Merge pull request #809 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-09-22 16:37:23 -07:00
Ryan Nowak
b642db5a47
Revised LinkGenerator
2018-09-22 15:47:50 -07:00
Ryan Nowak
89a962716f
React to Routing LinkGenerator changes
2018-09-22 15:47:38 -07:00
Daniel Roth
986d9d48c9
Fix typo
2018-09-21 16:05:03 -07:00
Ryan Nowak
5459107832
Fix #1298 ( #1309 )
...
* Fix #1298
This change lifts our Razor dependencies to 2.1.1. This is needed
because by default ASP.NET Core projects will depend on 2.1.1 - which
results in a conflict trying to use the Blazor compiler. The Blazor
compiler will load the 2.1.0 msbuild tasks, which then break loading the
2.1.1 tasks.
Since this is happening in the MSBuild process, we can't really write
any code to sort this out. We have to make sure the versions match.
In general the guidance for ASP.NET Core is that projects will **compile
against** 2.1.1 so this won't be a problem in the future unless a user
project specifically lifts ASP.NET Core to a higher version. If that's
the case they will also have to live `Microsoft.AspNetCore.Razor.Design`
to match.
2018-09-21 13:29:40 -07:00
Ryan Nowak
4f51d90157
Fix #1399 - crash on start-end syntax for void element
...
We weren't correctly recovering when a void element is written as a
start-end pair. This change cleans up some of the plumbing around
end-tag handling and adds recognition for this case.
Added a new bespoke diagnostic for the void element case.
2018-09-21 12:54:44 -07:00
N. Taylor Mullen
d54ffabd26
Update LanguageServer IVT.
2018-09-21 12:51:36 -07:00
Doug Bunting
5c8dfef15e
Change `CollectionModelBinder` and `ComplexTypeModelBinder` to enforce `[BindRequired]`
...
- #8180
- add an error when binding fails for top-level model
- same case as when MVC creates "default" / empty model i.e. `ParameterBinder` can't detect this
- update `CollectionModelBinder` subclasses and the various providers as well
- controlled by existing `MvcOptions.AllowValidatingTopLevelNodes` option
smaller issue:
- change `ModelBinding_MissingBindRequiredMember` resource to mention parameters too
2018-09-21 11:08:16 -07:00
Pavel Krymets
f808bdc331
Disconnect the disconnect handler when request processing ends ( #1413 )
2018-09-21 09:13:39 -07:00
Ryan Brandenburg
a140f38810
Enhancments
2018-09-20 14:52:16 -07:00
Ryan Brandenburg
44c3e5d4ac
Titles in h1 ( #1966 )
...
Titles in h1
2018-09-20 14:51:41 -07:00
Ryan Nowak
f601b6d3d2
Fix #1450 Skip compilation on non-C# projects
...
This change skips our 'temp' compilation that we do to implement 2-phase
build for defining components in .cshtml when the project is not C# OR
when the project has no .cshtml files.
This should make the rest of the build-time Blazor functionality work
for non-C# projects.
This should also make the build faster when you have the Blazor targets
imported in a C# project with no .cshtml files.
2018-09-20 14:27:08 -07:00
BrennanConroy
4dfd93c1d7
[TS] Wait for handshake response ( #2983 )
2018-09-20 14:23:43 -07:00
MikaelMengistu
a2e5e8755f
Merge branch 'release/2.2'
2018-09-20 13:48:33 -07:00
BrennanConroy
f0a34a4ca4
Clone Windows Identity in LongPolling connections ( #2985 )
2018-09-20 13:39:25 -07:00
Pranav K
a898f98a7f
Print an error when using Razor build with an older version of the Sdk
2018-09-20 13:14:06 -07:00
Chris Ross
db7c2bf70c
Merge pull request #366 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-09-20 13:13:22 -07:00
BrennanConroy
e683b81dfe
Merge branch 'release/2.2'
2018-09-20 12:29:13 -07:00
Ryan Nowak
100382bf71
Add Type Inference for Generic-Typed Components
...
This change allows you to use generic-typed components without
explicitly specify type arguments.
**Before:**
```
<Grid Items="@MyItems" TItem="Person">
...
</Grid>
```
**After:**
```
<Grid Items="@MyItems">
...
</Grid>
```
Where possible, the type of the component will be inferred based on the
values passed to component parameters. This won't work like magic, you
have to specify parameters that provide type arguments for all of the
component's type parameters.
This is a best effort system, and it's largely based on the limitations
and behaviours of generic type inference in C#. We think it will work
well with most Blazor features and for most reasonable components. You
should not forget it's easy to specify type arguments, because you may
still have to in some cases.
In particular you may notice issues if you are trying to use a generic
typed component where all of the parameters are delegates or templates.
Type inference for delegates/lambdas in C# is based on the context. Any
time you combine generics and delegates it's easy to get into a scenario
where the compiler won't infer the correct type, or will give up.
----
The type inference feature works by generating a 'thunk' method in
*caller* that can act as a site for type inference (C# does not support
inference on constructors).
For our grid example above, the non-inferenced code will look something
like:
```
builder.OpenComponent<Grid<Person>>(0);
builder.AddAttribute(1, "Items", MyItems);
builder.CloseComponent();
```
Note that we can only write the type `Grid<Person>` because you wrote
`Person` in your code. What you type in the `TItem` attribute value gets
inserted into the generated code such that it fills in the generic type
parameter.
On the other hand, if you want is to infer the type, we have to do some
compiler magic. That looks like:
```
__Blazor.(long generated name).TypeInference.CreateGrid_0();
...
// elsewhere in the file
internal static class TypeInference
{
public static void CreateGrid_0<TItem>(RenderTreeBuilder builder,
int seq, int __seq0, global::System.Collections.Generic.List<TItem>
__arg0)
{
builder.OpenComponent<Grid<TItem>>(seq);
builder.AddAttribute(__seq0, "Items", __arg0);
builder.CloseComponent();
}
}
```
This allows us to rely on the C#
compiler for itype inference.
2018-09-20 12:19:26 -07:00
Ryan Nowak
db826f13ed
Merge pull request #484 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-09-20 12:18:26 -07:00
melnikov77
6699804fe9
Do not compress response if it is already compressed ( #305 ) ( #365 )
2018-09-20 12:01:06 -07:00
Ryan Nowak
54ef2ef2a8
Merge branch 'master' into merge/release/2.2-to-master
2018-09-20 11:15:51 -07:00
Ryan Nowak
8fb6c2a50a
Allow cancellation to propagate
2018-09-20 11:04:35 -07:00
Ryan Nowak
5c4c746797
Reaction PR from routing rename
2018-09-20 10:15:50 -07:00
Ryan Nowak
a657c3bdf2
Updates to Parameter Transformer
...
- Rename -> IOutboundParameterTransformer
- Make it operate on object
- Implementing caching for constraints/tranformers for link generation
(cached as part of TemplateBinder)
2018-09-20 10:15:42 -07:00
Pavel Krymets
d28468ca8f
Override IIS headers in inproc ( #1409 )
2018-09-20 09:21:34 -07:00
Steve Sanderson
b2f73492f5
Fix method wiping ( #1448 )
...
* Fix wiping assemblies that contain references to others in same directory
* Fix generated IL for reporting calls to wiped methods
* Add E2E test for method wiping
2018-09-20 10:20:37 +01:00
Ryan Nowak
787283ec2f
Merge branch 'master' into merge/release/2.2-to-master
2018-09-19 18:23:12 -07:00
Pavel Krymets
375d037946
Add applicationInitialization tests ( #1402 )
2018-09-19 16:32:24 -07:00
BrennanConroy
6ba5e87b45
Allow CancellationToken in streaming hub methods ( #2818 )
2018-09-19 15:21:07 -07:00
Ryan Nowak
4259b65c16
Use options for registering health checks ( #479 )
...
* Use options for registering health checks
This change pivots to use options for registering health checks. We get
a few pretty nice things out of this, and it unblocks some of our
requirements.
Now all registration methods support the application developer
configuring the name, failure-status, and tags for each health check.
This is a requirment, that we weren't really satisfying - which is what
led to this redesign. In support of this health checks now return pass/fail,
and the service is responsible for assigning the status.
----
Health check authors that need configuration data (connection string as
an example) now have three ways to do this depending on their
requirements.
1. Create an instance and register that (easiest)
2. Use Type Activation and pass parameters (middle)
3. Use named options (richest)
We expect most health checks to need/want some kind of configuration -
which 1) works pretty well to solve. However many other health checks
will need DI + configuration. It was also a gap that we didn't have a
good way to use named options, when it's such a good fit for our
scenarios.
Added new registration methods for type activation that allow you to
pass parameters for 2).
Added a context type that allows the running health check access to its
registration for 3).
----
Redesigned and renamed how status gets reported. Health checks return
pass/fail result, but the overall HealthReport includes entries of a
different type. This seems fine because there isn't really a way to
consume a HealthCheckResult directly - the service is the only consumer.
----
Added support for tags. This was easy to add now that we have a separate
registration type, and it's quite handy for building filters (see
sample).
* HARDER BETTER STRONGER FASTER
2018-09-19 14:48:34 -07:00
Pranav K
9c424b7b02
Use content-type specified by ProducesAttribute if no formatter supports it
...
This allows users to use `ProducesAttribute` to specify the content-type
for action results such as FileStreamResult where the result determines the content type
and the specified value is informational.
Fixes https://github.com/aspnet/Mvc/issues/5701
2018-09-19 13:51:31 -07:00
BrennanConroy
8be051ce34
Idempotentize AddSignalR ( #2972 )
2018-09-19 13:39:34 -07:00
Pranav K
f7da3503d6
Allow Implicit 200 status codes to match Ok result
2018-09-19 12:51:13 -07:00
Mike Harder
3f7ee338d4
Change SelfHostDeployer to use dynamic ports by default ( #1383 )
...
* Should significantly reduce flaky test failures due to AddressInUse exceptions
* Addresses https://github.com/aspnet/Hosting/issues/1296
2018-09-19 12:35:51 -07:00
Pranav K
f70df60435
Move RazorGenerate and RazorTagHelper tasks in to the Sdk
...
Loading multiple versions of a task assembly result results in MSBuild on .NET Core to fail.
Addressing this by moving the tasks in to the Sdk and renaming it. This should avoid
immediate issues for a 2.1 and 2.2 project co-existing and future proofs 2.2 and later.
Fixes https://github.com/aspnet/Razor/issues/2553
2018-09-19 10:09:56 -07:00
Steve Sanderson
0fd0fa3b79
Include TPN file in VSIX and all nupkg files built from "src" directory
2018-09-19 13:35:01 +01:00
N. Taylor Mullen
2b1bdb7342
Move RazorCompletionFactsService to CodeAnalysis.Workspaces.Razor.
...
- Also updated workspaces test project to also compile for netcoreapp2.2.
2018-09-18 17:34:45 -07:00
Pranav K
7144add4ad
Check for ITagHelper in tag helper feature provider ( #2602 )
...
Fixes #2482
2018-09-18 16:52:34 -07:00
Pavel Krymets
b6c311c14d
Add client disconnect and connection abort support ( #1388 )
2018-09-18 16:36:52 -07:00
Ryan Brandenburg
f63412f1bb
Update package verions
2018-09-18 14:34:39 -07:00
Justin Kotalik
ece5ad36e2
Implement ITlsConnectionFeature ( #1390 )
2018-09-18 14:22:56 -07:00
Pranav K
fc86cc3ca1
Allow Invoke \ InvokeAsync methods for a ViewComponent to be defined in base types
...
Fixes https://github.com/aspnet/Mvc/issues/8397
2018-09-18 13:38:48 -07:00
Doug Bunting
47d6d4e82c
Update `FormFileModelBinder` to re-add prefix `ParameterBinder` removed incorrectly
...
- #7562 part 2
- add `OriginalModelName` to `ModelBindingContext`
nit: take VS suggestions, mostly to inline collection initialization in `FormFileModelBinderTest`
2018-09-18 11:44:48 -07:00
Doug Bunting
c13e2498a8
Create model in `ComplexTypeModelBinder` if ANY property has a greedy binding source
...
- #7562 part 1
2018-09-18 11:44:37 -07:00
Steve Sanderson
27189875fb
Fix build targets bug (incremental build input was based on wrong property name)
2018-09-18 12:57:50 +01:00
Stephen Halter
f3b6430aab
Initialize Heartbeat in KestrelServer.StartAsync ( #2939 )
...
Fixes #2850 again
2018-09-17 16:43:30 -07:00
tiago-soczek
a7e412ec80
Fix category logger for HttpsConnectionAdapter and LoggingConnectionAdapter. #2929 ( #2935 )
2018-09-17 16:01:14 -07:00
Chris Ross (ASP.NET)
2a731baaa3
Merge branch 'release/2.2'
2018-09-17 15:34:32 -07:00
Daniel A. White
4a4dde182f
replacing string interpolation with proper logging syntax ( #363 )
2018-09-17 15:33:17 -07:00
Chris Ross (ASP.NET)
7f348c4e0f
Merge branch 'release/2.2'
2018-09-17 15:12:12 -07:00
Chris Ross (ASP.NET)
8e4f7365ad
Merge branch 'release/2.2'
2018-09-17 15:06:31 -07:00
Chris Ross (ASP.NET)
b8423b8530
Change how HTTP/2 frames are parsed and generated #2858
2018-09-17 14:48:43 -07:00
David Fowler
2999aa54cd
Remove calls to MemoryMarshal.GetReference ( #2931 )
...
- Spans can be pinned natively in C# 7.3
2018-09-17 14:47:04 -07:00
John Luo
69ff195f66
Enable hpack/4.2 - Maximum Table Size test
...
- Ensure dynamic tables size updates occur at the beginning of the header block
2018-09-17 12:46:51 -07:00
John Luo
025aca52df
Port long Huffman encoding bug fix
...
https://github.com/dotnet/corefx/pull/32043
2018-09-17 12:41:36 -07:00
Pavel Krymets
5e896ca506
Implement IHttpBufferingFeature ( #1391 )
2018-09-17 12:04:12 -07:00
Ryan Brandenburg
7356b9634b
Merge branch 'merge/release/2.2-to-master'
2018-09-17 11:58:51 -07:00
Justin Kotalik
2cd6ad6d50
Add windows auth tests for inproc ( #1385 )
2018-09-17 11:57:46 -07:00
Ryan Nowak
060698a52f
Update to use non-capturing timer
2018-09-17 11:08:06 -07:00
Ryan Nowak
354752cf16
Add support for generic-typed components ( #1417 )
...
* Add the ability to discover generic types/properties
* Add @typeparam directive
Adds the ability to declare a generic-typed component using Razor.
* Add a 'type parameter' property to generic components
* Adds the ability to consume generic-typed components
2018-09-16 14:01:15 -07:00
James Newton-King
5a65e7b7ce
Merge remote-tracking branch 'origin/release/2.2'
2018-09-15 08:21:44 +12:00
BrennanConroy
7af3472ef4
Merge pull request #2950 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-09-14 11:37:05 -07:00
Pranav K
4b83f7b510
Make FileVersionProvider repleacable
...
Fixes #6371
2018-09-14 09:14:02 -07:00
Pranav K
233140c33a
Allow IFormFile parameters annotated with [FromForm] to be correctly … ( #8452 )
...
* Allow IFormFile parameters annotated with [FromForm] to be correctly bound in ApiControllers
Fixes #8311
2018-09-14 09:06:32 -07:00
Suchiman
b99d805bc0
ILWipe: Remove AsyncStateMachineAttribute
2018-09-14 10:33:32 +01:00
James Newton-King
412944e1f5
Transform parameters before lower casing in link generation ( #793 )
2018-09-14 17:19:43 +12:00
David Fowler
48b3f18642
Improve the handshake request parsing errors ( #2953 )
...
- Print out the raw handshake payload as utf8 text if it fails to parse as JSON or if we're missing properties. This should help flesh out potentially buggy clients.
2018-09-13 22:11:17 -07:00
Ryan Nowak
426a48a65a
Performance improvments to LinkGenerator and TemplateBinder
2018-09-13 19:11:28 -07:00
Ben Adams
5e083c371b
Don't capture asynclocals onto Timer
2018-09-13 17:28:30 -07:00
Ryan Nowak
35597db277
Fix #8451
...
Change tokens can call into your code IMMEDIATELY when you subscribe. I
reviewed our other usage of ChangeToken.OnChange in MVC and everything
looks good.
2018-09-13 15:38:42 -07:00
Ryan Nowak
9a68f48a5c
Minor improvments to RVD perf
2018-09-13 14:55:00 -07:00
Ryan Brandenburg
b8f7f967ce
Normalize FSharp templates and don't check in site.min.js
2018-09-13 14:41:32 -07:00
Ryan Nowak
41c4a47680
Minor perf updates for RVD
...
Porting changes from perf work in
https://github.com/aspnet/Routing/pull/788
Includes porting/adding the RVD benchmarks, as well as a new TryAdd
method.
2018-09-13 13:45:08 -07:00
Pranav K
d0ddb068be
Return FormCollection.Empty when Content-Length is 0 ( #1038 )
...
* Return FormCollection.Empty when Content-Length is 0
Fixes https://github.com/aspnet/Mvc/issues/5631
2018-09-13 13:35:31 -07:00
Chris Ross (ASP.NET)
55e5e56422
Dispatch Http/2 write callbacks #2878
2018-09-13 11:53:30 -07:00
Steve Sanderson
fa19f1c4ac
Update linker config following upgrade to linker 07c0d489b2c335d0ecddc5a427ef29d39afc8d84
2018-09-13 12:44:08 +01:00
Justin Kotalik
3649f5bb81
Add OutOfProc logging tests/ merge all inproc test sites into a single site ( #1384 )
2018-09-12 23:20:52 -07:00
James Newton-King
9df5918239
Clean up endpoint builder ( #791 )
2018-09-13 10:27:01 +12:00
James Newton-King
cf484a49d0
Merge branch 'merge/release/2.2-to-master'
2018-09-13 09:22:33 +12:00
Pranav K
cb88e906b2
Allow ProducesAttribute to apply along with conventions
...
Fixes #8389
2018-09-12 13:58:02 -07:00
Pranav K
a73d073eea
Allow ApiControlelrAttribute to be applied to assemblies
...
Fixes #7343
2018-09-12 13:42:22 -07:00
Pranav K
13281613a5
Refactor DefaultPageApplicationModel to use conventions
2018-09-12 12:28:16 -07:00
Rick Anderson
b9452868db
Update IdentityServiceCollectionExtensions.cs docs ( #1962 )
2018-09-12 12:04:28 -07:00
BrennanConroy
b423313e5c
Merge branch 'release/2.2'
2018-09-12 09:48:39 -07:00
Simon Cropp
43d4416a1d
Fix typos ( #8413 )
2018-09-12 09:34:45 -07:00
James Newton-King
dfae9c208a
Add IParameterTransformer support ( #8329 )
2018-09-12 21:46:41 +12:00
James Newton-King
cee960f3c5
Add IParameterTransformer ( #750 )
2018-09-12 21:45:25 +12:00
James Newton-King
105f8b47a1
Fix endpoint support for area/controller/action in attribute route ( #8447 )
2018-09-12 21:16:50 +12:00
BrennanConroy
8dffc68cea
Cancel previous request on close ( #2923 ) ( #2942 )
2018-09-11 15:50:00 -07:00
Steve Sanderson
6ff3674b16
Refactor server-side blazor startup to allow Azure SignalR. Fixes #1227 ( #1396 )
...
* Move startup action config into AddServerSideBlazor, so that UseServerSideBlazor is reduced to trivial shorthand that can become optional
* Make BlazorHub public so developers can use it with UseAzureSignalR
* Move BlazorHub to Microsoft.AspNetCore.Blazor.Server namespace for easier consumption
* Add notes
* Have E2E tests validate that devs don't have to call UseServerSideBlazor
* Add forgotten tweak
* CR: Document that BlazorHub methods are not intended for application use.
* CR: Rename extension method to UseSignalRWithBlazorHub
* CR: TryAdd
2018-09-11 09:55:27 +01:00
Ryan Nowak
d4cbb86f46
Add Support for Templated Components ( #1404 )
...
* Test namespace cleanup
* Add recognication for RenderFragment in tag helpers
* Remove dead code from node writers
* refactor type check
* Continue to treat child content as a delegate in codegen
* Add extension to enumerate child content
* Reorganize code generation tests
These were growing a bit disorganized, and weren't really result in good
code reuse.
* fix test base class
* Add some child-content tests
* Add an explicit node for ChildContent
Adds a strongly typed node to represent a 'ChildContent' and what it
contains. This allows us to simplify the code generation path,
detect/processes more issues in IR passes, and will be essential for
supporting multiple child content.
* Ignore ChildContent in components when it's just whitespace
* Add diagnostic for duplicate child content
* Add support for explicit child content elements
Precursor to support for multiple child content items
* Add support for multiple child-content elements
* Change delegate signature for RenderFragment<T>
* Clean up Tag Helper constants
* Allow RenderFragment<T> as a child content
* Allow renaming the template parameter
* Improve error message for invalid child content
* Add diagnostic for repeated child content parameter names
2018-09-10 18:59:51 -07:00
Ryan Nowak
087e6d05ee
Merge pull request #790 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-09-10 18:54:06 -07:00
Ryan Nowak
e5cc4564cb
add docs for constructor
2018-09-10 16:55:39 -07:00
Ryan Nowak
5f172efa9d
Add support Endpoint Name endpoint finding
2018-09-10 16:50:46 -07:00
Ryan Nowak
57cc8aea96
Various improvments to route values link APIs
...
- Add docs
- Add support for templates
- Remove undesirable constructor parameter
- misc cleanup
2018-09-10 16:50:46 -07:00
Chris Ross (ASP.NET)
f38f60f8ce
Map ListenOptions.Protocols from IConfiguration #2903
2018-09-10 16:27:51 -07:00
N. Taylor Mullen
d2d84d00f5
Allow GeneratedCodeContainer to accept initial output.
2018-09-10 16:14:25 -07:00
Ryan Nowak
c683844817
Fix #553 - Add logging for new LinkGenerator
...
Adds logging for all of the failure cases of link generation.
2018-09-10 16:11:43 -07:00
N. Taylor Mullen
da935bfa95
Generated document output persists result to generated code container.
...
- Prior to this we had a `BackgroundDocumentGenerator` that would constantly be updating generated code containers. With this changes we've changed the details in how a `GeneratedCodeContainer` can be mutated. It can now be touched from any thread and is updated when an underlying `DocumentSnapshot` has available content. However, if a generated output comes through that's older then the last seen output we no-op.
- Removed `BackgroundDocumentGenerator` SetOutput logic.
- Updated tests to react to new behavior of `GetGeneratedOutputAsync`.
- Added new test to verify getting generated output results in the setting of the host documents output.
2018-09-10 15:24:35 -07:00
Ryan Brandenburg
c5f1d5a3eb
Merge branch 'merge/release/2.2-to-master'
2018-09-10 15:14:41 -07:00
James Newton-King
6e27a04bf3
No HttpContext to route constraints in MvcEndpointDataSource ( #8436 )
2018-09-11 10:12:09 +12:00
BrennanConroy
399ac267ca
Cancel previous request on close ( #2923 )
2018-09-10 15:09:05 -07:00
John Luo
de5ccb5c78
PR feedback for https://github.com/aspnet/KestrelHttpServer/pull/2838
2018-09-10 13:58:46 -07:00
Ryan Brandenburg
14b1432481
Fix min.css files
2018-09-10 12:25:27 -07:00
BrennanConroy
adc5706bcb
Add more redis logs ( #2936 )
2018-09-10 11:51:27 -07:00
Ryan Nowak
f573b8840a
Fix aspnet/Routing#782
...
Currently MVC is still running the IActionConstraint implementations for
features that we've already moved into the routing layer. This has a
significant perf cost associated with, and so we want to skip it because
it's redundant. However if anyone has implemented their own
`IActionConstraint`-based features, they still need to just work.
This change takes the approach of skipping the action constraint phase
at runtime unless we see something 'unknown'. This is an all or nothing
choice, and will run action constraints if **any** action constraint we
don't special case exists. This is the most compatible behavior (running
redundant constraints) when the application is using constraints that
the developer implemented.
Another approach I considered was to eliminate these constraints as part
of the process of building ADs. I don't think that's ideal because
people have written code that introspects action constraints. We should
consider something like this in 3.0.
2018-09-09 15:17:05 -07:00
Andrew Stanton-Nurse
5092cc3115
Merge pull request #2929 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-09-07 19:19:27 -07:00
Pranav K
013697ad89
Remove experimental analyzers
2018-09-07 16:03:06 -07:00
Glenn Condron
4bcfbe4d40
[REPL] Help improvements for repl ( #478 )
...
* Beginning of help additions. Fixed a nullref.
* Standardized help with options displayed as appropriate.
2018-09-07 15:21:42 -07:00
Joni
72f7e52e1e
Remove blank line
2018-09-07 14:48:17 -07:00
Ben Adams
db99baac35
Don't capture AsyncLocals onto Timers ( #2904 )
2018-09-07 14:08:08 -07:00
Sebastian
d36dcca713
Handle IPv4ToIPv6 Mapped Addresses when checking known proxies/networks ( #359 )
...
* Un-Map IPv4-to-IPv6-Mapped ips before comparing to known proxies/networks. Addresses #358
* Checking both mapped and unmapped versions of IPv4toIPv6 ips. Addresses #358
* Confirm IPv4toIPv6 mapping/unmapping. Addresses #358
2018-09-07 14:02:31 -07:00
Nate McMaster
76eaf9c3b6
Merge branch 'release/2.2'
2018-09-07 10:21:16 -07:00
Nate McMaster
aa93edcee2
Remove Microsoft.DotNet.GlobalTools.Sdk
...
These targets are now part of Microsoft.NET.Sdk
2018-09-07 10:01:52 -07:00
gqqnbig
fd80509fef
LocalizedHtmlString.Value doesn't include arguments ( #8376 )
...
* Clarify that Value is prior to formatting with any constructor arguments
2018-09-07 08:58:52 -07:00
Andrii Kurdiumov
6546c55f4c
Removal of global.json from the template
...
I remove only global.json from the template, and leave global.json in the repository root, since it is required for the build.
See #1324
2018-09-07 12:44:52 +01:00
David Fowler
5543d29af1
Merge branch 'release/2.2' => 'master'
2018-09-07 01:29:38 -07:00
Nate McMaster
6fb4de5962
Merge branch 'release/2.2'
2018-09-06 23:05:08 -07:00
Nate McMaster
e3ba165baa
Update build.ps1
2018-09-06 23:04:43 -07:00
James Newton-King
27a0951a88
Update dependencies and re-mark obsolete constructor ( #783 )
2018-09-07 13:34:10 +12:00
Casey O'Brien
74ba9898f4
[ Fixes #8250 ] Improve the error message when TEntryPoint is not in an entry point assembly
...
Validates that the type used as a generic argument in WebApplicaitonFactory is contained within the entry point to assembly and throws InvalidOperationException otherwise
2018-09-06 18:02:21 -07:00
Pavel Krymets
2597a2e009
Merge QueryStatus and CreateHandler calls to make them atomic ( #1359 )
2018-09-06 15:42:18 -07:00
Ryan Brandenburg
f0e66325c3
Merge branch 'merge/release/2.2-to-master'
2018-09-06 15:21:29 -07:00
James Newton-King
863b1c2c97
Action endpoint metadata contains attributes from action and controller ( #8395 )
2018-09-07 10:01:40 +12:00
Ryan Nowak
d364a9e5af
Merge branch 'release/2.2'
2018-09-06 14:47:29 -07:00
Justin Kotalik
2cc108b2e1
Write wide strings to stdout; cleanup logging providers; test utf8 ( #1332 )
2018-09-06 11:57:00 -07:00
Simon Cropp
d3d7c55198
fix some spelling ( #2888 )
2018-09-06 11:48:25 -07:00
Ryan Brandenburg
c2f15f4199
Don't use depricated constructor
2018-09-06 11:39:34 -07:00
Justin Kotalik
1fca011674
Fix output location for lib files ( #1373 )
2018-09-06 10:32:49 -07:00
Pranav K
07cc9e66c6
Add a feature to disable file watching in Razor pages ( #8369 )
...
* Add a feature to disable file watching in Razor pages
Fixes https://github.com/aspnet/Mvc/issues/8362
2018-09-06 10:16:31 -07:00
Pavel Krymets
b1f0f173aa
Use ConnectionResetException with 'The client disconnected' message ( #1364 )
2018-09-06 10:10:07 -07:00
Chris Ross (ASP.NET)
b8e56691cb
Implement MaxRequestLineSize for HTTP/2 #2813
2018-09-06 10:01:28 -07:00
BrennanConroy
23154629a9
Merge branch 'release/2.2'
2018-09-06 09:41:00 -07:00
Chris Ross (ASP.NET)
384a518bda
Implement MaxRequestHeadersTotalSize for HTTP/2 #2812
2018-09-06 09:07:16 -07:00
David Fowler
edc1935475
Flow the cancellation tokens to ReadAsync and WriteAsync ( #2865 )
2018-09-06 09:04:39 -07:00
Daniel Roth
d81f04a5b0
Update doc comment for HttpRequest.Protocol ( #1013 )
2018-09-06 08:48:00 -07:00
Simon Cropp
cfb0d732b0
fix some spelling ( #1035 )
2018-09-06 08:46:34 -07:00
Nate McMaster
9941fb825f
Update TFM to .NET Core 3.0 ( #324 )
2018-09-06 08:23:55 -07:00
Simon Cropp
b156dee4f1
Fix some spelling ( #8378 )
2018-09-06 07:39:01 -07:00
Takaaki Suzuki
c0f3a46ffe
Don't call GetValidity method twice.
2018-09-06 07:33:48 -07:00
Ben Adams
e174d277bd
Inline
2018-09-05 20:53:06 -07:00
Ben Adams
337bc462de
Fast-path async in PagedBufferedTextWriter
2018-09-05 20:53:06 -07:00
Ryan Nowak
fabe189470
React to LinkGenerator changes
2018-09-05 20:52:37 -07:00
Ryan Nowak
e3b704095b
Revisions to LinkGenerator ( #770 )
...
* Revisions to LinkGenerator
* PR feedback
2018-09-05 20:52:09 -07:00
James Newton-King
aadc31d9a5
Merge release/2.2
2018-09-06 14:07:11 +12:00
James Newton-King
dcfb63a768
Avoid RoutePattern allocating empty dictionaries ( #772 )
2018-09-06 14:00:52 +12:00
James Newton-King
1c74973c6a
Minor matcher builder allocation optimization ( #771 )
2018-09-06 13:47:34 +12:00
James Newton-King
dbebdbecd6
Add flag for including label with DfaNodes ( #769 )
2018-09-06 13:38:17 +12:00
James Newton-King
fe8c633224
Optimize builder and HTTP policy allocations ( #768 )
2018-09-06 13:25:35 +12:00
James Newton-King
abc378d3dc
Avoid resizing large struct arrays ( #767 )
2018-09-06 13:10:17 +12:00
James Newton-King
0f5d471dfd
Create collections on DfaNode as needed ( #779 )
2018-09-06 12:58:57 +12:00
James Newton-King
a777a4cdd5
Reuse collections in DfaMatcherBuilder ( #778 )
2018-09-06 12:25:45 +12:00
Nate McMaster
63b7efc380
Merge branch 'release/2.2'
2018-09-05 17:25:17 -07:00
N. Taylor Mullen
e8f8727193
Merge branch 'release/2.2'
...
# Conflicts:
# build/dependencies.props
# korebuild-lock.txt
# version.props
2018-09-05 17:24:25 -07:00
N. Taylor Mullen
3a281b8f58
Allow TagHelpers to occur after unclosed C# blocks without assert failures.
...
- This scenario wasn't considered previously.
#2566
2018-09-05 17:22:17 -07:00
Mike Harder
71b7bb50b2
Ensure external processes are killed when test process exits ( #1371 )
...
- Prevents locked files when stop debugging unit test
- Addresses #1279
2018-09-05 17:21:59 -07:00
Pavel Krymets
88d8571474
Add Trace level for request events, allow logging to eventlog ( #1337 )
2018-09-05 17:15:04 -07:00
Hassan Hashemi
bca3160190
Remove redundant check
...
fixed https://github.com/aspnet/Mvc/issues/8374
2018-09-05 17:04:20 -07:00
Pavel Krymets
18a718d1f0
Catch all exception in native callbacks ( #1369 )
2018-09-05 16:48:10 -07:00
Pavel Krymets
613fbcc349
Enable code analysis on shim project ( #1361 )
2018-09-05 16:47:51 -07:00
Nate McMaster
e23e8fff95
Install MicroBuild code signing plugin and set SignType = real ( #1376 )
2018-09-05 12:50:34 -07:00
Steve Sanderson
facc1e466e
Pre-trim Mono BCL ( #1382 )
...
* Add "ilwipe" build command
* Perform BCL wipe as part of build
* Simplify by converting ilwipe command to process entire directories
* Clean up the build
2018-09-05 10:03:54 +01:00
James Newton-King
4ab067fb37
Temporarily remove obsolete attribute to unblock build ( #775 )
2018-09-05 09:27:46 +12:00
Justin Kotalik
1b87f1e913
Merge branch 'merge/release/2.1-to-release/2.2' into release/2.2
2018-09-04 14:10:35 -07:00
Chris Ross (ASP.NET)
991cfa8bd8
Remove limits on SETTINGS_HEADER_TABLE_SIZE #2874
2018-09-04 12:01:13 -07:00
Ryan Nowak
ca681138e3
Merge branch 'dotnet-maestro-bot-merge/release/2.2-to-master'
2018-09-03 11:43:23 -07:00
Steve Sanderson
b004ffdc24
Set BrowserHttpMessageHandler as the default handler when running on Mono WebAssembly
2018-09-03 17:47:05 +01:00
Steve Sanderson
38b45d82c7
Update linker config following update to Mono bfc35fc6e65
2018-09-03 17:47:05 +01:00
cores-system
223a2fed97
Don't intercept clicks for links that open in external frames #1352 ( #1354 )
2018-09-03 10:31:37 +01:00
Ryan Nowak
c97cb8c18b
Add support for Razor templates
...
Adds support for Razor templates and RenderFragment<T>.
Razor templates are a little-known Razor feature that looks like:
```
@<tag>....<tag>
```
It's so little known that it's not even covered in our docs, but it's
been around for many many years. This features hasn't been implemented
until now for Blazor, and this feature brings it back as a build
building block for templated components (more to come).
In Blazor land a template like:
```
@{ RenderFragment<Person> template = @<div>@item.Name</div>; }
```
complies to code like:
```
RenderFragment<Person> template = (__builder, item) =>
{
__builder.OpenElement(...);
...
__builder.CloseElement(...);
}
```
Since the declaration always has a generic type parameter inside, it
needs to be in a context where the type is known.. ie: not with `var`.
See tests for ways to consume templates.
NOTE: There are the following caveats for templates
- Templates require a single root element.
- Templates don't work in the `@functions { }` block
These limitations are baked into the core of Razor and will take a while
for us to address (v3.0).
2018-08-31 19:10:42 -07:00
Pavel Krymets
0459b6d0d4
Fix dotnet.exe abort exception and startup/shutdown timeouts ( #1352 )
2018-08-31 09:05:46 -07:00
Justin Kotalik
db01ae3717
Remove FreeConsole calls. ( #1358 )
2018-08-31 08:16:07 -07:00
Ryan Nowak
bf31749e9f
Merge pull request #475 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-08-30 17:06:50 -07:00
Nate McMaster
7520ffa0ef
Fix up service scoping in the EF Core xml repository and update package version to 2.2
2018-08-30 16:22:43 -07:00
John Luo
153020ef8a
Allow UTF8 encoded header values
2018-08-30 16:21:34 -07:00
Ryan Nowak
525fbf495b
Fix #468 - all UseHealthChecks without a path
2018-08-30 15:33:49 -07:00
Nate McMaster
2d4dd7251b
Merge branch 'release/2.2'
2018-08-30 15:29:49 -07:00
Nate McMaster
a6a21351b6
Merge branch 'release/2.1' into release/2.2
2018-08-30 15:28:26 -07:00
Javier Calvarro Nelson
f8181ef522
Merge branch 'release/2.2'
2018-08-30 15:24:32 -07:00
Javier Calvarro Nelson
bb1cd5ec09
Stop building dependent projects
2018-08-30 15:23:55 -07:00
Ryan Brandenburg
5f5524a477
Merge branch 'merge/release/2.2-to-master'
2018-08-30 15:23:14 -07:00
Pranav K
d8b7dbd1f3
Avoid null refs when IStatusCodeActionResult cannot be discovered
2018-08-30 15:17:09 -07:00
Ryan Nowak
945e798ca7
[Design] Set the endpoint feature only on success
2018-08-30 14:52:35 -07:00
Ryan Nowak
71d4a2e1f0
Merge pull request #760 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-08-30 14:46:40 -07:00
BrennanConroy
f42f4c56e6
Initialize HttpConnectionManager before registering callbacks ( #2878 )
2018-08-30 14:42:16 -07:00
Ben Adams
3dfa26f7e3
Resolve virtual ViewContext max once per method
2018-08-30 14:04:08 -07:00
Ryan Nowak
8395ad8340
remove references to ref emit packages
2018-08-30 13:26:22 -07:00
Justin Kotalik
729a98adfc
Call AllocConsole ( #1351 )
2018-08-30 12:20:53 -07:00
Justin Kotalik
e7f3c7c62e
Remove bad rc files ( #1355 )
2018-08-30 12:18:30 -07:00
Justin Kotalik
922298bc90
Add rc file as an include for ANCMV1 ( #1284 ) ( #1344 )
2018-08-30 12:00:13 -07:00
N. Taylor Mullen
4619d59828
Add IVT to Razor LanguageServer.
...
- `LanguageServer.StrongNamed` isn't a thing anymore.
2018-08-30 11:26:02 -07:00
Ryan Nowak
0001581ffc
Merge branch 'master' into merge/release/2.2-to-master
2018-08-30 11:25:57 -07:00
Pranav K
f90a47c5af
Introduce ProducesErrorResponseTypeAttribute
...
Fixes https://github.com/aspnet/Mvc/issues/8288
2018-08-30 11:24:03 -07:00
Pranav K
47d61ff5b3
Remove references to MvcPrecompilation package
2018-08-30 10:53:25 -07:00
Ryan Nowak
3e4a3d0b90
Allow health checks to use any DI lifetime ( #466 )
...
* Allow health checks to use any DI lifetime
This change allows registered IHealthCheck implementations to use any DI
lifetime. This is necessary for scenarios like using EF which requires a
scope.
The works by having the health check service create a scope for each
time it queries health checks. This scope does not overlap or share
state with other scopes (the request scope) so there is no crosstalk
between processing going on per-request in ASP.NET Core and the health
check operation.
* PR feedback and some logging cleanup
2018-08-30 10:51:48 -07:00
Steve Sanderson
ae7b7c2663
Update NodeServices/SpaServices/NodeServices.Sockets to build using latest TypeScript and Webpack ( #1748 )
2018-08-30 07:51:56 +01:00
Ryan Nowak
9bc84cec8c
Merge pull request #757 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-08-29 21:32:44 -07:00
James Newton-King
927e7c8bfc
Support route data tokens with Endpoint Routing ( #8360 )
2018-08-30 15:14:34 +12:00
Ryan Nowak
8d053853bb
Address PR feedback, I hit merge too soon.
2018-08-29 19:46:25 -07:00
Ryan Nowak
3511c8cef0
Add vectorized il-emit trie jump table
...
Add new futuristic jump table. Remove old experimental jump tables since
this is much much better.
2018-08-29 19:30:02 -07:00
Kristian Hellang
ffdbea9dc1
Add analyzer support for status code methods and constructors
2018-08-29 18:23:52 -07:00
Ben Adams
2a426dfea5
Make ViewBuffer methods more inlinable ( #8339 )
...
* Make ViewBuffer methods more inlinable
2018-08-29 17:07:45 -07:00
Ryan Brandenburg
afccb085a2
Fix links and formating
2018-08-29 16:22:42 -07:00
Ben Adams
22a40b6f2b
Use Pages as List
2018-08-29 16:18:25 -07:00
Ben Adams
7bd9f9cc3e
Reduce IList interface calls
2018-08-29 16:18:25 -07:00
Pavel Krymets
26710080fe
Set AspNetCoreHostingModel in templates ( #716 )
2018-08-29 16:08:58 -07:00
Pranav K
82a01a414d
Set trace id in ProblemDetalsClientErrorFactory
2018-08-29 16:03:08 -07:00
N. Taylor Mullen
b8ff40fbbd
Merge remote-tracking branch 'origin/release/2.2'
2018-08-29 16:00:27 -07:00
N. Taylor Mullen
852ad8df87
Allow content to be written after caught exception from child TagHelper.
...
- The issue was that the `executeChildContentAsync` call was stopping the invocation of the `_endTagHelperWritingScope`. Therefore, we'd never finish the TagHelper content scope and all following content would be ignored.
- Added two tests to validate the new functionality.
#2561
2018-08-29 16:00:15 -07:00
Hao Kung
fcc02103aa
Merge pull request #1947 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-08-29 15:39:43 -07:00
Ryan Brandenburg
75fa0cd6e8
Remove SpaServices where they're un-needed
2018-08-29 15:24:12 -07:00
Ryan Brandenburg
ccb2c006aa
Merge branch 'merge/release/2.1-to-release/2.2' into release/2.2
2018-08-29 15:21:15 -07:00
Hao Kung
e38a307307
Allow cookie validation when stores don't support security stamp ( #1941 )
2018-08-29 14:41:51 -07:00
dan.s.ward
8f7d995508
Added Entity Framework Core backed IXmlRepository with tests and sample ( #303 )
2018-08-29 14:04:37 -07:00
James Newton-King
b649133eec
Refactor KnownRouteValueConstraint to not require HttpContext ( #8352 )
2018-08-30 08:57:53 +12:00
Nate McMaster
cf3d2f1299
Minor tweaks to meta-package descriptions ( #1343 )
...
Per feedback on #1320 which came in post-merge.
2018-08-29 12:03:24 -07:00
Patrick Westerhoff
208f6ff568
Fix #574 : Set NoDefaultLaunchSettingsFile
...
When a project is created with ExcludeLaunchSettings enabled, set the
NoDefaultLaunchSettingsFile property to prevent Visual Studio from
creating a launchSettings.json.
2018-08-29 11:35:16 -07:00
Chris Ray
2eaa17f561
include credentials when fetching blazor.boot.json to enable windows auth ( #1200 )
2018-08-29 11:11:27 +01:00
Steve Sanderson
cf59ed94ad
Consume jsinterop from submodule ( #1351 )
...
* Remove JSInterop files from this repo
* Add jsinterop submodule
* In Blazor.sln, reference jsinterop projects from submodule
* Update other references to jsinterop
* Fix TypeScript warning
* Include submodules in test/pack
* Update to newer jsinterop to fix JS pack issue
* Update to newer jsinterop to obtain strong naming
* Allow jsinterop submodule to inherit Directory.Build.props/targets
* Get latest jsinterop
* For AppVeyor builds, restore git submodules (happens automatically elsewhere)
* Update README.md with instructions to restore submodules
2018-08-29 11:10:35 +01:00
James Newton-King
e73601dda9
Move core endpoint types to HttpAbstractions ( #703 )
2018-08-29 17:07:35 +12:00
James Newton-King
05a581a132
Copy core endpoint routing types to HttpAbstractions ( #1030 )
2018-08-29 17:07:16 +12:00
James Newton-King
2d8b187ca0
Merge branch 'merge/release/2.2-to-master'
2018-08-29 15:55:56 +12:00
James Newton-King
99c4f2f36a
Support policy arguments and resolving services by constructors ( #753 )
2018-08-29 14:51:34 +12:00
Alfred Myers
2246c6b55b
Fixed comment and log message for ForwardedHeadersMiddleware ( #357 )
...
- Updated comment to reflect the addition of RequireHeaderSymmetry
- Fixed header name on log message
2018-08-28 19:01:51 -07:00
Pranav K
d09c3c9e28
Polish ProblemDetails
...
* Add ability to set extended members on ProblemDetails
* Skip empty valued properties when serializing ProblemDetails
Fixes #8296
Fixes #8317
2018-08-28 16:21:39 -07:00
Gert Driesen
1a43e67542
Remove workaround for dotnet/corefx#24562 ( #2863 )
...
This issue caused a bind to a recently used endpoint to fail on macOS and Linux.
Addresses #2820
2018-08-28 15:59:17 -07:00
Mike Lorbetske
c3c634aa1e
Update Repl project to target 3.0
2018-08-28 15:12:16 -07:00
Mike Lorbetske
9a0ab9df63
Update HttpRepl project to target 3.0
2018-08-28 15:11:46 -07:00
Mike Lorbetske
85b22edb6a
Merge branch 'master' into merge/release/2.2-to-master
2018-08-28 14:08:12 -07:00
Ajay Bhargav Baaskaran
9e4c4079f2
Renamed HtmlTextSyntax to HtmlTextLiteralSyntax for consistency ( #2560 )
...
* Renamed HtmlTextSyntax to HtmlTextLiteralSyntax for consistency
* Generated baselines
2018-08-28 14:00:32 -07:00
Pranav K
667ad4daff
Use ClientErrorData to configure ClientErrorResultFilter
...
Fixes #8289
2018-08-28 13:35:32 -07:00
Massimiliano Donini
17d72c2b94
Fix msbuild targets to correctly copy deps.json
2018-08-28 13:32:48 -07:00
Ryan Nowak
96b77c8663
Fix aspnet/Routing#721
2018-08-28 12:26:13 -07:00
Stephen Halter
5ea537fbc4
Don't advance examined in Http1MessageBody.PumpAsync for canceled reads ( #2847 )
2018-08-28 11:28:17 -07:00
Nate McMaster
f8f2ee8202
Merge branch 'release/2.2'
2018-08-28 10:59:06 -07:00
Stephen Halter
89f4850883
Avoid throwing the same exception instances in parallel ( #2859 )
2018-08-28 10:56:46 -07:00
Nate McMaster
5f89835420
Merge branch 'release/2.1' into release/2.2
2018-08-28 10:33:12 -07:00
Nate McMaster
afa93f1852
Merge branch 'release/2.1' into release/2.2
2018-08-28 10:14:24 -07:00
BrennanConroy
04c606d55f
LongPolling: Setting connection to inactive while there is still an active poll ( #2769 )
2018-08-28 09:44:50 -07:00
Ryan Brandenburg
9c28f95b12
Add Microsoft.AspNetCore.Razor.Design to templates ( #674 )
2018-08-28 09:41:15 -07:00
Justin Kotalik
037482829d
Add commit hash to V1 description ( #1281 )
2018-08-28 09:36:21 -07:00
Justin Kotalik
5f20f2a2dd
Update schema for ANCMv1 ( #1276 )
2018-08-28 09:35:49 -07:00
Justin Kotalik
cc26d973ba
Remove early dereference of ASPNETCORE_PORT env var ( #1274 )
2018-08-28 09:34:54 -07:00
Justin Kotalik
338af6f07d
Reduce probability of startup port collisions ( #1273 )
2018-08-28 09:34:10 -07:00
David Fowler
6dc55a0462
Don't preserve the ExecutionContext when dispatching callbacks ( #2861 )
...
* Don't preserve the ExecutionContext when dispatching callbacks
- The layers up stack already preserve and restore the ExecutionContext, there's no need to capture and run for the scheduler callback and cancellation token callback
2018-08-28 09:32:33 -07:00
Nate McMaster
42fa04aa87
Add the latest version of Microsoft.AspNetCore.Razor.Design to the offline package cache ( #1316 )
2018-08-28 09:19:56 -07:00
Nate McMaster
6b1d22c581
Add package descriptions for Microsoft.AspNetCore.{App, All} ( #1320 )
2018-08-28 09:19:37 -07:00
Nate McMaster
b206d59612
Prepare 2.1.5 patch
2018-08-28 09:14:43 -07:00
Ryan Nowak
0fcf2448c3
Fix aspnet/Routing#722
...
Exposes a separate change token that will be triggered after action
descriptors have been updated.
2018-08-27 17:24:21 -07:00
Justin Kotalik
2605b943f3
Use only one log file for stdout ( #1334 )
2018-08-27 16:50:16 -07:00
James Newton-King
8ed9d0aac2
Use Endpoint instead of RouteEndpoint where possible ( #8331 )
2018-08-28 11:00:11 +12:00
Ryan Nowak
cb0627b28a
Addressing a skipped test
...
I think something that was meant to be revisited in a PR got left
behing. I found this while fixing aspnet/Routing#772 and it seems worth
addressing.
This change removes the hardcoding of action/controller/area in the
data source, and corrects the behavior of required route values when
they aren't in that set.
2018-08-27 15:34:37 -07:00
David Fowler
04b365a22f
Don't hold onto the HttpContext in the HostingLogScope ( #1531 )
...
- Multiple things capture the ExecutionContext, reduce the changes of improperly rooting the HttpContext when we only need a few properties from the request.
2018-08-27 11:59:56 -07:00
Stephen Halter
f70ba53253
Fix race when SystemClock is accessed before first heartbeat ( #2851 )
2018-08-27 10:59:29 -07:00
Alfred Myers
c9a4ee8b71
Change List<Action> to Action ( #1480 )
2018-08-27 10:33:05 -07:00
Matt Ward
9652fbd2b4
Fix default None items not being removed from ClientApp directory
...
Content MSBuild items from the ClientApp directory are removed from
the project using an MSBuild and then all files are added as None
items. None items that were added by the .NET Core SDK default MSBuild
items were not being removed from the ClientApp directory. This
resulted in duplicate files shown in Visual Studio for Mac. This
affected all the SPA project templates.
Fixes #559
2018-08-27 09:59:00 -07:00
Ryan Brandenburg
a3b20c57ea
Add appsettings.json to EmptyWeb
2018-08-27 09:52:47 -07:00
Pavel Krymets
9b68c5ce89
Add tests for processpath and arguments ( #1331 )
2018-08-24 22:20:28 -07:00
Pavel Krymets
6ddbfb64b9
Improve configuration file handling logic ( #1317 )
2018-08-24 20:20:26 -07:00
Javier Calvarro Nelson
e03129e3ba
Merge branch 'release/2.2'
2018-08-24 17:20:58 -07:00
Justin Kotalik
2cbf5bd84e
Query event logs when verifying event log messages. ( #1323 )
2018-08-24 16:02:04 -07:00
Ajay Bhargav Baaskaran
f4808b50b5
Renamed WhiteSpace to Whitespace
2018-08-24 15:45:55 -07:00
Pranav K
a7301120b1
Unwrap filter factories in TypeFilterAttribute & ServiceFilterAttribute
...
Fixes #7855
2018-08-24 14:15:40 -07:00
John Luo
64127e6c76
Implement MaxFrameSize and HeaderTableSize for HTTP/2
2018-08-24 11:07:41 -07:00
David Fowler
d318d7b94d
Make tests less flaky ( #2848 )
...
- Re-order logs with completing the task
2018-08-23 22:29:56 -07:00
Stephen Halter
fc3c2eef5e
Handle SocketError.ProtocolType as a connection reset on macOS ( #2845 )
...
* Handle SocketError.ProtocolType as a connection reset on macOS
* Make IsConnectionResetError and IsConnectionAbortError stricter
2018-08-23 19:16:44 -07:00
Stephen Halter
e5a1101239
Improve exception handling in SocketConnection ( #2844 )
...
- Avoid race where a connection reset observed by both DoSend() and DoReceive()
resulted in a ConnectionAbortedException being thrown from the input Pipe
instead of a ConnectionResetException.
2018-08-23 16:59:02 -07:00
Javier Calvarro Nelson
dfb579d45c
[ Fixes #8021 ] Copy the request headers before sending the request on the RedirectHandler
...
If another handler modifies the request headers the modified headers get
applied on subsequent requests, which is not correct. This change copies
the headers before sending the request and uses the original headers for
the redirect request instead of the potentially modified ones.
2018-08-23 16:09:05 -07:00
Javier Calvarro Nelson
b3a6bda45a
Sync Identity UI default layout with the templates layout
2018-08-23 15:15:54 -07:00
James Newton-King
dd1dcaebee
Merge branch 'merge/release/2.2-to-master'
2018-08-24 09:52:47 +12:00
James Newton-King
40fb13a021
Fix DfaMatcher to work with non-RouteEndpoint ( #739 )
2018-08-24 09:11:13 +12:00
Justin Kotalik
1d4d882c0d
Spelling mistake in debug log
2018-08-23 13:45:10 -07:00
Ryan Brandenburg
3570f1a2b1
Merge branch 'merge/release/2.2-to-master'
2018-08-23 10:32:20 -07:00
Pranav K
8eea0ad44c
Update tests to latest compat switch
2018-08-23 08:09:02 -07:00
dotnet-maestro-bot
90d8f96b3f
Change RoutePattern to not throw when inline and arg default value are the same ( #747 ) ( #748 )
2018-08-23 23:17:14 +12:00
James Newton-King
e2de54a92d
Update MvcEndpointDataSource to use RoutePattern ( #8249 )
2018-08-23 21:42:42 +12:00
James Newton-King
15e46ad323
Change RoutePattern to not throw when inline and arg default value are the same ( #747 )
2018-08-23 21:39:23 +12:00
Ryan Nowak
61c5f2bad4
Merge pull request #746 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-08-22 20:38:02 -07:00
David Fowler
68a0863524
General connection management ( #2834 )
...
This change makes the handling of graceful shutdown work for more than just http scenarios. This should allow us to move TLS further out and should also allow us to start moving things to connection middleware instead of connection adapters.
Summary of the things changed/added:
- Added IConnectionLifetimeNotificationFeature that represents an attempt to gracefully close the connection that isn't being aborted. This feels pretty awful but we may have to do it.
- Moved connection management to the ConnectionDispatcher and out of the HttpConnectionMiddleware
- Removed Http from the names of the ConnectionManager and Heartbeat
2018-08-22 20:35:28 -07:00
Ryan Nowak
a0aa61fd10
Improvements for IEndpointSelectorPolicy
...
These changes are based on our discussion earlier this week. Adding
async, and making it possible to short circuit, which should be better
aligned with the requirments of versioning.
2018-08-22 19:26:13 -07:00
Ryan Nowak
3370113a05
Move ITagHelper to another assembly
2018-08-22 17:46:48 -07:00
Justin Kotalik
3b3f128306
Enable app verifier on VSTS; Fix debug log handle use ( #1291 )
2018-08-22 15:39:59 -07:00
James Newton-King
03da30f3bf
Replace remaining references to global routing ( #8312 )
2018-08-23 10:23:29 +12:00
BrennanConroy
9d4c76c173
Merge pull request #2850 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-08-22 13:49:05 -07:00
Javier Calvarro Nelson
de0932961b
Default Identity UI to Bootstrap4
2018-08-22 13:40:38 -07:00
Javier Calvarro Nelson
110d835434
Fix layout and login partial issues
2018-08-22 13:33:01 -07:00
Javier Calvarro Nelson
3ed89516ba
Update precedence for 2.2 templates
2018-08-22 13:31:59 -07:00
Pavel Krymets
eebbb6a602
Support portable.exe apps and better error reporting ( #1287 )
2018-08-22 12:04:04 -07:00
Ryan Brandenburg
11c6ebea2e
Add comments regarding HSTS max age
2018-08-22 11:45:56 -07:00
Ryan Brandenburg
d9e71527e8
Fix copyright year
2018-08-22 11:44:46 -07:00
BrennanConroy
f8a46faf9d
Detect ASP.NET SignalR server connection attempt ( #2820 )
2018-08-22 11:17:04 -07:00
BrennanConroy
db3f3f2a53
Tweak some Redis log levels ( #2838 )
2018-08-22 10:35:43 -07:00
Pavel Krymets
36e5aceb3c
Serve 503 if server process is shutting down ( #1293 )
2018-08-22 09:53:25 -07:00
Pavel Krymets
e26231b613
Cleanup application manager ( #1250 )
2018-08-22 08:23:40 -07:00
Ryan Nowak
692bb0e261
Add privateassets=all to Blazor.Build usages
...
We recommend using this package with PrivateAssets=all everywhere to
make sure that the MSBuild files brought in by this package aren't
applied to transitively.
When that happens, the Blazor.Build MSBuild files will take over the
Razor functionality for other projects, which breaks MVC's view
compilation functionality.
This is part of a fix for #1216 .
2018-08-22 08:21:46 -07:00
Steve Sanderson
13cf5bd583
Add Blazor.onServerConnectionClose to fix #1339
...
This API will be removed once we implement proper connection management (reconnects, etc.)
2018-08-22 15:18:23 +01:00
Steve Sanderson
1089eecbfc
In RenderBatchWriter, deduplicate strings only when safe to do so ( #1340 )
...
We allow deduplication of HTML element and attribute names, plus whitespace text nodes / attribute values.
2018-08-22 14:52:35 +01:00
James Newton-King
5e8e490867
Merge fixes
2018-08-22 20:42:53 +12:00
James Newton-King
aff4a38865
Merge release/2.2
2018-08-22 20:37:21 +12:00
James Newton-King
1680b9f4fc
Change endpoint invoker to RequestDelegate, Endpoint/EndpointMetadataCollection namespaces, split out IRouteValuesFeature ( #712 )
2018-08-22 17:15:57 +12:00
James Newton-King
cbe1526763
React to routing changes ( #8303 )
2018-08-22 17:15:09 +12:00
James Newton-King
a15f213e43
Merge branch 'merge/release/2.2-to-master'
2018-08-22 15:58:38 +12:00
James Newton-King
08a0a7fadb
Remove MatchProcessor, add IParameterPolicy ( #734 )
2018-08-22 15:24:34 +12:00
David Fowler
0b471f2b2f
Sockets: do 0 byte reads to avoid allocating memory for idle connections
...
- Do not do 0 byte reads on OSX due to potential sockets bug
2018-08-21 18:07:15 -07:00
Javier Calvarro Nelson
ac744d8adb
Support Bootstrap 3 and Bootstrap 4 on idenity UI
2018-08-21 17:46:13 -07:00
Pranav K
5bd818bd64
Introduce ProblemDetailsFilter
...
Fixes https://github.com/aspnet/Mvc/issues/6786
2018-08-21 17:29:12 -07:00
James Newton-King
8b0a598a64
Merge branch 'merge/release/2.2-to-master'
2018-08-22 10:48:44 +12:00
Justin Kotalik
e23d9cb4ac
Fix a few leaked handles ( #1260 )
2018-08-21 15:45:42 -07:00
Nate McMaster
3a2606a636
Strong name Blazor assemblies ( #1344 )
2018-08-21 15:37:05 -07:00
James Newton-King
4f33362ab5
Minor RVD and EndpointMetadataCollection refactors ( #708 )
2018-08-22 10:30:25 +12:00
James Newton-King
967afc3b0f
Optimize RoutePattern allocations ( #706 )
2018-08-22 10:01:52 +12:00
James Newton-King
b658d90785
Merge release/2.2
2018-08-22 09:57:19 +12:00
Ajay Bhargav Baaskaran
27a9991f21
Auto generate CSharp syntax tree nodes ( #2550 )
...
* Auto generate CSharp syntax tree nodes
- Auto generated syntax nodes, visitors and factories
- Renamed RazorComment to RazorCommentLiteral to avoid a conflict
- Modified the Visit() contract
- Added new SyntaxKinds
- Regenerated baselines
2018-08-21 14:20:33 -07:00
Justin Kotalik
9ccd3addc3
Synchronizes copyrights between V1 and V2. ( #1283 )
2018-08-21 14:13:33 -07:00
Justin Kotalik
135da118d1
Add rc file as an include for ANCMV1 ( #1284 )
2018-08-21 14:12:15 -07:00
Pavel Krymets
26964b2687
Macrosify out-of-proc ( #1268 )
2018-08-21 14:11:34 -07:00
Justin Kotalik
2778570f0b
Redirect native logs into stdout and pipe ( #1154 )
2018-08-21 14:03:26 -07:00
Mike Harder
2d61889e5e
Support empty value for ASPNETCORE_PORT ( #1280 )
...
- Addresses #1264
2018-08-21 13:44:34 -07:00
Steve Sanderson
52813ddf63
Eliminate temporary MemoryStream buffers used during RenderBatch serialization ( #1329 )
...
* Eliminate temporary MemoryStream buffers used during RenderBatch serialization. Fixes #1132
* CR: Fix namespace
2018-08-21 14:08:39 +01:00
Nate McMaster
eaf0d25731
Update ANCM to build installers from the master branch
2018-08-20 20:12:36 -07:00
Nate McMaster
da48de7d75
Merge branch 'release/2.2'
2018-08-20 19:13:05 -07:00
Nate McMaster
28d4064cba
Add a build definition for compiling Universe in VSTS
2018-08-20 16:02:43 -07:00
Nate McMaster
b67a141263
Add code for building the Windows Hosting Bundle and ASP.NET Core runtime installers into this repo
...
This code previously was in private repos because it had references to internal locations and drop shares. This code has been modified to remove these internal-only pieces.
2018-08-20 15:56:22 -07:00
Mike Harder
6da64c6d55
Fix process start error message ( #1267 )
...
- Addresses #1261
2018-08-20 14:13:55 -07:00
Mike Harder
de32a08ae7
Fix typo in process start error message ( #1266 )
2018-08-20 14:11:51 -07:00
Mike Harder
cc4bbd1cef
Fix typos in portsetup error message ( #1265 )
2018-08-20 14:11:18 -07:00
Nate McMaster
0cb8c76c66
Merge branch 'release/2.2'
2018-08-20 08:29:15 -07:00
Nate McMaster
86b7d5162a
Merge branch 'release/2.1' into release/2.2
2018-08-20 08:28:58 -07:00
Nate McMaster
80aa7fe937
Merge branch 'release/2.2'
2018-08-20 08:27:50 -07:00
Christer van der Meeren
e85c36fa8c
Clarify CORS policy result log messages ( #177 )
...
Fixes https://github.com/aspnet/Home/issues/3419
2018-08-20 08:25:45 -07:00
John Luo
6f7a841374
Fire OnStreamCompleted after all pipes are closed
2018-08-17 17:45:47 -07:00
Justin Kotalik
a1e8b3a9af
Free environment variable table in inprocess application ( #1254 )
2018-08-17 16:29:30 -07:00
Chris Ross (ASP.NET)
aa9dde2457
Extract bitshift helper code, Frame cleanup #2773
2018-08-17 15:48:16 -07:00
Hao Kung
0682c1309f
Merge pull request #1927 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-08-17 15:41:59 -07:00
Nate McMaster
84d4627b8b
Upgrade build tools to use the 2.1.400 SDK ( #1249 )
2018-08-17 15:23:18 -07:00
Justin Kotalik
5fc59b2331
Free ALLOC_CACHE_HANDLER on dll unload ( #1253 )
2018-08-17 14:26:53 -07:00
Hao Kung
d040dabc03
Allow QR AuthenticatorIssuer to be configurable
2018-08-17 12:56:49 -07:00
Hao Kung
1d7a410832
Merge pull request #1869 from tincann/patch-1
...
Fix misleading exception message when adding a TokenProvider
2018-08-17 12:35:45 -07:00
Nate McMaster
b4538831b7
Add package descriptions for Microsoft.AspNetCore.{App, All}
2018-08-17 12:06:25 -07:00
Nate McMaster
16164689dc
Update documentation on the various package archive formats ( #1324 )
2018-08-17 10:42:26 -07:00
Daniel Roth
7a763fc4f6
Scan only declared methods for JS interop ( #1320 )
...
* Scan only declared methods for JS interop
* Add DotNetDispatcher test for JS invokable method on base class
2018-08-17 12:35:24 +01:00
Ajay Bhargav Baaskaran
db2a142132
Updated the tokenizer and parser to operate on SyntaxTokens directly ( #2540 )
...
* Updated the tokenizer and parser to operate on SyntaxTokens directly
- The tokenizer and parser now operates directly on SyntaxTokens (Green)
- The SyntaxToken(Red) is now created when the Span is built with the correct parent and position
- All other passes that run after the parsing is complete(TagHelperRewriter etc) will operate on the Red tokens.
- There is now only one type for all SyntaxTokens. They are differentiated by their SyntaxKind.
- Added equivalence checking for tokens
- Updated test code to react
- Regenerated baselines
2018-08-16 16:11:01 -07:00
Kiran Challa
731767837a
Introducing new **catchAll parameter to allow generating links with unencoded values
2018-08-16 15:52:09 -07:00
Pranav K
522006d2c8
[Design] Add a MaxValidationDepth option to ValidationVisitor
...
Fixes #7357
2018-08-16 15:01:18 -07:00
Hao Kung
39298e8aeb
Merge branch 'release/2.2' into master
2018-08-16 13:59:50 -07:00
Thomas Levesque
373a9c5eb2
Update default UI and samples to use provider display name
2018-08-16 13:40:10 -07:00
Thomas Levesque
fec946759c
Fix SignInManager to return correct external provider display name
2018-08-16 13:38:23 -07:00
Wilson
87cfd540ce
Fixed documentation typo ( #1862 )
...
Corrected a typo on the XML documentation of the UserId property that made it read "... sets the of the ..."
2018-08-16 13:38:09 -07:00
Ryan Nowak
2b4df294d6
Merge pull request #726 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-08-16 09:52:51 -07:00
David Fowler
83488886e0
Clean up some remants of the past ( #2827 )
...
- Remove Application from HttpConnectionContext and Http*ConnectionContext (it's no longer required)
2018-08-15 23:41:32 -07:00
Ryan Nowak
730646c301
Perf for EMC
2018-08-15 22:08:58 -07:00
Ryan Nowak
4fa0b068b8
Fix #710 - add support for data tokens
2018-08-15 21:43:50 -07:00
Ryan Nowak
97f54c532b
Support supression of matching for endpoints
2018-08-15 21:36:08 -07:00
Stephen Halter
5becb72107
Improve test logs ( #2826 )
...
- Include hosting logs in some tests that where previously missing them
- Prevent duplicate logs from Mock CallBase an CompositeKestrelTrace
- Log ports used by transport functional tests
- Add file logging to HTTP/2 "unit" tests
2018-08-15 18:31:56 -07:00
Pavel Krymets
6440545c4a
Add hosting model switch tests ( #1245 )
2018-08-15 16:47:47 -07:00
Chris Ross (ASP.NET)
0c2923135b
Limit concurrent HTTP/2 Streams per connection #2815
2018-08-15 15:58:57 -07:00
Ryan Nowak
ad44deedee
Merge pull request #718 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-08-15 15:23:49 -07:00
Pavel Krymets
60ca38ab56
Fix deployment parameters override ( #1241 )
2018-08-15 12:15:21 -07:00
Ryan Nowak
085a0b808e
Use RoutePattern in TemplateBinder
2018-08-15 12:12:52 -07:00
Pranav K
af770ede87
Ignore parameters that specify a model binder type
2018-08-15 12:12:04 -07:00
Ryan Brandenburg
200a70bb86
Update doc comments
2018-08-15 11:42:50 -07:00
Ryan Nowak
13e13d7632
Add generated documents to workspace
2018-08-15 10:54:32 -07:00
Steve Sanderson
04427d2e28
Fix publishing following recent build changes (now that $(OutDir) is relative)
2018-08-15 13:55:54 +01:00
Ryan Nowak
104f9c3517
Merge branch 'master' into merge/release/2.2-to-master
2018-08-14 17:03:36 -07:00
Mike Harder
1328162052
Remove early dereference of ASPNETCORE_PORT env var ( #1225 )
...
- Addresses #1119
- Includes workaround for #1237
2018-08-14 16:53:13 -07:00
Pranav K
7e25d7908a
Warn when the parameter name for a model bound complex parameter has the same name as a top level property
...
Fixes #7753
2018-08-14 15:44:48 -07:00