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