Nate McMaster
e7b00a5508
Deprecate the Microsoft.AspNetCore.App metapackage in favor of targeting and runtime packs ( #7832 )
...
* Deprecate the Microsoft.AspNetCore.App metapackage in favor of targeting and runtime packs
* Stop producing Microsoft.AspNetCore.App, and runtime.$(rid).Microsoft.AspNetCore.App
* Generate the shared framework without using 'NuGet' restore
* Stop producing intermediate packages for shared-framework only assemblies
* Put the platform manifest into the targeting pack (data/Microsoft.AspNetCore.App.PlatformManifest.txt)
* Create well-known, shared intermediate directories that installers can use to bundle content
2019-02-28 10:14:18 -08:00
Steve Sanderson
18c1b994df
Basic integration tests for NodeServices ( #8029 )
2019-02-28 17:58:57 +00:00
Pranav K
f79f2e3b12
Add some reference docs for MVC ( #7981 )
2019-02-28 09:56:55 -08:00
BrennanConroy
47220cf13e
Fix StreamInvocationsBlockOtherInvocationsUntilTheyStartStreaming ( #8015 )
2019-02-28 09:23:33 -08:00
Massimo Prota
0dd3375095
[Azure] Fixed two misspelling of 'tenant' in properties' inline XML documentation ( #7912 )
...
- Azure/AzureAD/Authentication.AzureAD.UI/src/AzureADOptions.cs
- AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2COptions.cs
2019-02-28 03:06:22 -08:00
Justin Kotalik
555e460c15
Fix flaky AbortedStream test in Kestrel ( #8010 )
2019-02-27 20:55:10 -08:00
Stephen Halter
896c027010
Increase shutdown timeout in Kestrel's other TestServer ( #8011 )
2019-02-27 18:15:25 -08:00
N. Taylor Mullen
f5b6039add
Add docs for Microsoft.AspNetCore.Mvc.TagHelpers.
...
- Also obsoleted two unused members on `ImageTagHelper`.
- Removed `NoWarn` for docs on `Microsoft.AspNetCore.Mvc.TagHelpers`.
Addresses aspnet/Docs/#10593
2019-02-27 15:42:38 -08:00
Hao Kung
07dad89721
Clarify ExternalLoginInfo displayName doc comment ( #7833 )
2019-02-27 15:02:20 -08:00
Chris R
58915cb8e4
Remove servergc
2019-02-27 14:53:38 -08:00
BrennanConroy
a936d77845
Automatically capture crashdumps for C++ client tests ( #7940 )
2019-02-27 14:20:14 -08:00
Nathan
4e4fdaaf68
Adding SameSite comments ( #7907 )
2019-02-27 12:00:16 -08:00
James Newton-King
a6b00f0d0d
Add xml docs to RazorPagesEndpointRouteBuilderExtensions ( #7992 )
2019-02-28 08:22:44 +13:00
Pavel Krymets
783131a750
Re-enable full IIS tests on Windows.10.Amd64.EnterpriseRS3.ASPNET.Open ( #7959 )
2019-02-27 11:03:41 -08:00
Sébastien Ros
fd83f4dbb9
Using <FrameworkReference> in benchmark apps ( #7957 )
2019-02-27 10:27:01 -08:00
Mikael Mengistu
0d570a2d42
Add small doc comment for TransportType Enum( #7994 )
2019-02-27 09:17:08 -08:00
Javier Calvarro Nelson
4fe4295720
[Components][ Fixes #7405 ] Increase CanTriggerEventHandlerDisposedInEarlierPendingBatchAsync timeout to reduce test flakyness
...
Increases the timeout from 500 to 1000
2019-02-27 04:28:07 -08:00
Zachary Becknell
0d48617ef9
Update Blazor NDC video link
2019-02-26 22:50:27 -05:00
Justin Kotalik
bbe4a9d071
Call Complete on Http2Stream when stream is done earlier ( #7933 )
2019-02-26 18:24:35 -08:00
Doug Bunting
f8c3f02345
[2.1. test only] Remove checks for Microsoft.VisualStudio.Web.CodeGeneration.Design in templates ( #7983 )
...
- see aspnet/AspNetCore-Internal#1759
2019-02-26 16:50:35 -08:00
Chris R
608505652a
Change template order
2019-02-26 14:32:22 -08:00
Chris R
0d304917dc
Update Worker template for Worker SDK
2019-02-26 12:07:14 -08:00
Hao Kung
a2c8a34556
Reenable some helix tests ( #7763 )
...
* Fix identity UI script tests on helix
* Add OnHelix static helper method
2019-02-25 23:39:46 -08:00
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