Pavel Krymets
19c8980deb
Move SiteExtension sdk into AspNetCore ( #6041 )
2018-12-20 10:25:35 -08:00
James Newton-King
705bf63f1c
React to routing and update MVC dependencies ( #6046 )
2018-12-21 07:20:15 +13:00
Pavel Krymets
72830ea943
Set current directory by default ( #4798 )
2018-12-20 10:19:55 -08:00
Nate McMaster
163350e968
Remove Microsoft.Extensions.DiagnosticAdapter from the shared framework ( #6042 )
2018-12-19 16:39:50 -08:00
Nate McMaster
c5a6284aa8
Remove JwtBearer and OIDC authentication from the shared framework
...
These are being pulled out of the shared framework and will ship as NuGet packages. These assemblies have a dependency on the IdentityModel APIs which do no yet fit the guidelines the shared framework.
cref aspnet/AspNetCore#3755
2018-12-19 14:53:12 -08:00
Chris Ross
03867f08ab
Use new generic host UseDefaultServiceProvider call ( #5703 )
2018-12-19 12:17:58 -08:00
Pavel Krymets
55b8818540
Move logging site extension ( #4005 )
2018-12-19 09:35:06 -08:00
Stephen Halter
af1a6eca81
Add more timeouts to Http2TestBase ( #5955 )
2018-12-19 08:52:39 -08:00
dotnet-maestro-bot
7b77332441
[automated] Merge branch 'release/2.2' => 'master' ( #5892 )
2018-12-18 22:43:32 -05:00
dotnet-bot
66d35bd153
Merge in 'release/2.2' changes
2018-12-18 23:48:35 +00:00
Justin Kotalik
de954ce702
Fixing IIS Tests ( #5682 )
2018-12-18 18:46:56 -05:00
Ajay Bhargav Baaskaran
ffec555118
Added missed files
2018-12-18 15:35:38 -08:00
Ajay Bhargav Baaskaran
b0b8986a19
Use shared source
2018-12-18 15:03:27 -08:00
Ajay Bhargav Baaskaran
eeabafa68f
Merge branch 'temp' into ajbaaska/merge-master
2018-12-18 14:44:25 -08:00
dotnet-bot
d481817289
Merge in 'release/2.2' changes
2018-12-18 22:33:43 +00:00
James Newton-King
03cb4a6e14
Add missing dependencies to the MVC dependencies.props ( #5714 )
2018-12-19 11:32:23 +13:00
Ajay Bhargav Baaskaran
cef4e1aceb
Added correct test TFMs
2018-12-18 13:06:20 -08:00
Pavel Krymets
e6e5d09369
Fix LoggedTest failures ( #5525 )
2018-12-18 12:59:14 -08:00
Ajay Bhargav Baaskaran
8ef37dfbca
Merge branch 'release/2.2'
2018-12-18 12:56:29 -08:00
Ajay Bhargav Baaskaran
2a696f6a1c
Merge branch 'release/2.2'
2018-12-18 12:50:01 -08:00
dotnet-bot
967f551968
Merge in 'release/2.2' changes
2018-12-18 20:38:50 +00:00
Stephen Halter
21ef9f3c39
Revert "Fix flakiness in RequestsCanBeAbortedMidRead ( #4881 )" ( #5708 )
...
This was never supposed be be merged into release/2.2 or master since both those branches include aspnet/KestrelHttpServer#2844 .
This reverts commit 019ba081d3 .
2018-12-18 12:37:25 -08:00
dotnet-bot
fe0d8ca083
Merge in 'release/2.1' changes
2018-12-18 20:01:33 +00:00
John Luo
0cbc52ca15
Convert ServerTests to Reference and move to Server folder ( #4686 )
2018-12-18 14:59:47 -05:00
Nate McMaster
335c9be7b4
Update the artifacts directory organization and simplify publishing targets ( #5701 )
...
This simplifies the way that we publish files to our network drop share.
Changes:
* Instead of explicitly listing every file that needs to publish, use directories to classify packages and artifacts into different categories.
* Add documentation for the expected layout of artifacts/
* Remove the need for static analysis to determine which packages go to which project
* Add the MSBuild property "IsProductPackage" to .csproj files which ship as a package to NuGet.org.
2018-12-18 11:40:13 -08:00
dotnet-bot
9dda9a3e2a
Merge in 'release/2.2' changes
2018-12-18 18:58:34 +00:00
Steve Sanderson
ceb1c8e562
Refactor Components.Browser package ( #5166 )
...
* Add empty Microsoft.AspNetCore.Blazor project
* Reorganize Blazor-specific parts of .Components.Browser into Microsoft.AspNetCore.Blazor. Delete redundant Components-CSharp template (it now ships from Templating).
* Fix unit test
* Add missing assembly description
* Move WebAssemblyBlazorApplicationBuilder
* Rename BrowserHttpMessageHandler -> WebAssemblyHttpMessageHandler
* Delete obsolete BrowserServiceProvider. Rename BrowserRenderer -> WebAssemblyRenderer.
* Rename BrowserUriHelper -> WebAssemblyUriHelper
* Remove redundant ActivateMonoJSRuntime helper
* Fix namespace
* Remove redundant MicrosoftNETCoreAppPackageVersion override
* Update test namespaces
2018-12-18 12:32:57 +00:00
Ajay Bhargav Baaskaran
647fbbac7b
Merge branch 'release/2.1' into ajbaaska/merge-22
2018-12-17 18:40:08 -08:00
Nate McMaster
0cd79cc4c1
Remove unused VS dependencies and old versions of .NET Core from dependencies ( #5317 )
...
As a result of removing Razor's VS projects and upgrading all projects to netcoreapp3.0, we no longer need dependency variable for .NET Core 1.x and 2.x and Visual Studio packages.
Changes:
* Remove 'StandardTestTfm'
* Remove variables for .NET Core 1.0, 1.1, 2.0, 2.1, and 2.2
* Remove VSIX variables
* Stop generating 'branding.props' - this hasn't been used in a while and is no longer needed
2018-12-17 16:28:33 -08:00
John Luo
62351067ff
Merge remote-tracking branch 'origin/master'
2018-12-17 15:16:28 -08:00
John Luo
b8db81898a
Merge remote-tracking branch 'origin/master'
2018-12-17 15:16:21 -08:00
Doug Bunting
f113a20dfd
Remove remaining `CompatibilitySwitch<T>` properties
...
- #4866 3 of 3
- other than ignored parameters and properties, no vestige remains of alternate behaviours
- also remove `AllowAreas` use outside src/Mvc
- left the `IEnumerable<ICompatibilitySwitch>` implementations to avoid `breakingchanges.netcore.json` churn
- made the implementations more consistent
- left one `ConfigureCompatibilityOptions<MvcOptions>` subclass: `MvcOptionsConfigureCompatibilityOptions`
- note `AllowShortCircuitingValidationWhenNoValidatorsArePresent` default now applies to `TryValidateModel(...)` etc.
nits:
- updated `CompatibilityVersion` doc comments
- "currently unused" -> "currently ignored" in doc comments from part 2
- took a few VS suggestions
- VS seems to have cleaned up some trailing whitespace in files I had opened but didn't manually change
2018-12-17 14:47:49 -08:00
Pavel Krymets
db0c347c23
Change testassets location ( #5416 )
2018-12-17 14:45:40 -08:00
John Luo
98636fed6d
Merge branch 'release/2.2'
2018-12-17 14:24:30 -08:00
Doug Bunting
e717a8443e
Update last few projects to target `netcoreapp3.0` ( #5128 )
...
- #3754
- remove `#if`'s for multi-targeting where source is never multi-targeted
- left `StreamPipeReader`, `StreamPipeWriter` and their test classes alone because they're moving to CoreFx
2018-12-17 12:30:28 -08:00
dotnet-bot
ff4db87283
Merge in 'release/2.1' changes
2018-12-17 20:11:45 +00:00
Ajay Bhargav Baaskaran
b079041488
Convert Razor to use Reference ( #4954 )
2018-12-17 12:10:40 -08:00
James Newton-King
443b1449ff
Update Newtonsoft.Json to 12.0.1 and Newtonsoft.Json.Bson to 1.0.2 ( #5122 )
2018-12-18 08:55:37 +13:00
BrennanConroy
d368da3df1
Fix IE11 split ( #5056 )
2018-12-17 10:47:01 -08:00
Artak Mkrtchyan
439a9598e8
Updated samples to referenced 3.4.0 version of Bootstrap
2018-12-17 09:55:54 -08:00
Artak Mkrtchyan
42afbd12d9
Updated Bootstrap v3 dependency
2018-12-17 09:55:54 -08:00
James Newton-King
cc899e2be7
Move EndpointModel and IEndpointConventionBuilder to HTTP abstractions ( #4274 )
2018-12-17 18:38:49 +13:00
Doug Bunting
708dc5cb5a
Remove many `CompatibilitySwitch<T>` properties ( #4628 )
...
- #7156 2 of 3
- will leave the `IEnumerable<ICompatibilitySwitch>` implementations to avoid `breakingchanges.netcore.json` churn
- will leave one `ConfigureCompatibilityOptions<MvcOptions>` subclass: `MvcOptionsConfigureCompatibilityOptions`
- a few options remain as regular properties:
- `ApiBehaviorOptions.SuppressMapClientErrors` (default `false`)
- `MvcOptions.EnableEndpointRouting` (default `true`)
- `MvcOptions.MaxValidationDepth` (default `32`)
- `MvcJsonOptions.AllowInputFormatterExceptionMessages` (default `true`)
nits:
- move `IsEffectivePolicy(...)` check earlier in `AuthorizeFilter`
- correct a typo or two
2018-12-16 19:33:27 -08:00
Doug Bunting
826f950530
Delete src/MvcPrecompilation/**
...
- out-of-date and no longer shipped
- related to #3754
2018-12-16 18:29:51 -08:00
Chris Ross
6046ad27f6
Remove handle inheritance workaround Kestrel/#3040 ( #5000 )
2018-12-15 13:33:13 -08:00
dotnet-bot
c3a269adc3
Merge in 'release/2.2' changes
2018-12-15 01:29:18 +00:00
John Luo
da72ac62ba
Merge remote-tracking branch 'origin/release/2.2' into release/2.2
2018-12-14 16:52:45 -08:00
dotnet-bot
918dc51a1f
Merge in 'release/2.1' changes
2018-12-15 00:27:56 +00:00
Stephen Halter
019ba081d3
Fix flakiness in RequestsCanBeAbortedMidRead ( #4881 )
...
Addresses aspnet/AspNetCore-Internal#1521
2018-12-14 16:26:54 -08:00
dotnet-bot
a6112bf0dd
Merge in 'release/2.2' changes
2018-12-15 00:05:19 +00:00
Nate McMaster
3c09d644cc
Merge branch 'release/2.2'
2018-12-14 16:04:56 -08:00
Nate McMaster
9183145474
Fix package layout for ANCM packages ( #5119 )
2018-12-14 16:04:15 -08:00
Nate McMaster
02780bac26
Merge branch 'release/2.2'
2018-12-14 16:03:16 -08:00
John Luo
f659f0acce
Merge branch 'release/2.1' into release/2.2
2018-12-14 15:48:40 -08:00
dotnet-bot
97ee5cbcac
Merge in 'release/2.1' changes
2018-12-14 22:50:26 +00:00
Justin Kotalik
68f0aff144
security to project ref ( #4618 )
2018-12-14 14:49:23 -08:00
Javier Calvarro Nelson
436b5461ad
[Components] Create a renderer to render components into HTML ( #4463 )
...
* Adds an HtmlRenderer to Microsoft.AspNetCore.Components
* It renders the component into a list of strings.
* It only handles synchronous rendering.
2018-12-14 21:28:05 +01:00
dotnet-bot
9b1be901d3
Merge in 'release/2.2' changes
2018-12-14 19:43:29 +00:00
Nate McMaster
6402a6a971
Fix aspnet/AspNetCore-Internal#1503 - ensure ANCM packages are code signed
2018-12-14 11:41:56 -08:00
Ryan Nowak
a7f6154520
Workaround #4804
...
This is a workaround for a workaround that currently have in d16p1.
The Razor SDK maps all netcoreapp3.0 projects to MVC-2.1 at design time,
however this only really works if you have the Razor.Design package.
Since we have internal builds available that support MVC-3.0 we can just
manually hardcode the correct targeting of the project.
2018-12-14 11:15:32 -08:00
dotnet-bot
8b682dfe85
Merge in 'release/2.2' changes
2018-12-14 19:01:05 +00:00
James Newton-King
6dc28d8a4e
Update CORS middleware to use endpoint metadata ( #4460 )
2018-12-15 07:51:22 +13:00
Steve Sanderson
6187e628af
linking to some existing docs ( #4592 )
2018-12-14 18:50:57 +00:00
Steve Sanderson
ec9676f51e
Make component parameter analyzer allow public getters. Imported from Blazor PR 1702. ( #4594 )
2018-12-14 18:50:45 +00:00
Nate McMaster
feb641ddda
Merge branch 'release/2.1' into release/2.2
2018-12-14 09:44:15 -08:00
Steve Sanderson
d30c407dd0
Support IServiceProviderFactory in WebAssemblyHostBuilder (imported from Blazor PR 1623) ( #4785 )
2018-12-14 17:37:14 +00:00
Chris Ross
54c1122582
Change HTTP projects to target netcoreapp3.0 #3754 ( #4625 )
2018-12-14 09:36:57 -08:00
Steve Sanderson
343208331d
Replace AssignToProperties with SetParameterProperties, which also clears unspecified parameter properties (imported from Blazor PR 1108) ( #4797 )
2018-12-14 17:07:07 +00:00
Steve Sanderson
3757908b14
Fallback for Components router (imported from Blazor PR 1534) ( #4794 )
2018-12-14 17:06:47 +00:00
Steve Sanderson
e768a78c2b
Ensure ComponentBase async lifecycle methods return non-null task (imported from Blazor PR 1620) ( #4790 )
2018-12-14 17:06:30 +00:00
Steve Sanderson
8a9df6c873
HttpClientJsonExtensions better handling for failed requests (imported from Blazor PR 1660) ( #4788 )
2018-12-14 17:06:03 +00:00
Steve Sanderson
93127b39e8
Overload UriHelper to forceLoad the page (imported from Blazor PR 1154) ( #4786 )
2018-12-14 17:05:45 +00:00
Steve Sanderson
8fbb9fb0e6
Add support for binding decimal? double? float? long? int? bool? (imported from Blazor PR 1658) ( #4600 )
2018-12-14 17:05:22 +00:00
Steve Sanderson
1e404a5acf
fix for dispose ( #4596 )
2018-12-14 17:04:41 +00:00
Steve Sanderson
71bcac06ad
fixing type of property Detail based on standard. ( #4595 )
2018-12-14 17:04:26 +00:00
dotnet-bot
6133fa4dd6
Merge in 'release/2.1' changes
2018-12-14 16:37:44 +00:00
Nate McMaster
13ae0057fb
Replace .Sources package references with local code ( #4801 )
...
Replaces package references the following packages with local code:
Microsoft.AspNetCore.Certificates.Generation.Sources
Microsoft.Extensions.CopyOnWriteDictionary.Sources
Microsoft.Extensions.ClosedGenericMatcher.Sources
Microsoft.Extensions.ObjectMethodExecutor.Sources
Microsoft.Extensions.PropertyActivator.Sources
Microsoft.Extensions.PropertyHelper.Sources
Microsoft.Extensions.RazorViews.Sources
Microsoft.Extensions.SecurityHelper.Sources
Microsoft.Extensions.StackTrace.Sources
Microsoft.Extensions.WebEncoders.Sources
2018-12-14 08:36:36 -08:00
Ryan Nowak
341636b05d
Convert Razor to netcoreapp3.0
2018-12-14 08:17:27 -08:00
dotnet-bot
45dca6d8d4
Merge in 'release/2.2' changes
2018-12-14 09:22:46 +00:00
James Newton-King
dd662ed2a7
Fix compiling Mvc.sln in 2.2 ( #4955 )
2018-12-14 22:21:44 +13:00
dotnet-bot
3b0d1253e1
Merge in 'release/2.2' changes
2018-12-14 08:57:43 +00:00
Nate McMaster
206db0558e
Update buildtools and add properties to skip IIS tests
2018-12-13 23:36:42 -08:00
Nate McMaster
f0990ec531
Fix build issues with IIS integration projects
...
Changes:
* Ensure IIS managed and pkg projects build after the native projects
* Update projects to build test
* Update CI checks to build on macOS and Linux
* Use package baselines to manage ANCM packages
2018-12-13 22:53:31 -08:00
Nate McMaster
4998ad8622
Merge branch 'merge/release/2.1-to-release/2.2' into release/2.2 ( #4619 )
2018-12-13 22:24:21 -08:00
Justin Kotalik
6adfa32402
Merge branch 'release/2.1' into release/2.2
2018-12-13 22:12:19 -08:00
BrennanConroy
74dbb4ff4f
Register callback before start ( #4581 )
2018-12-13 21:30:48 -08:00
BrennanConroy
4950495dc4
Fix IE 11 handshake split ( #4575 )
2018-12-13 21:30:17 -08:00
Ajay Bhargav Baaskaran
59ada30959
Merge branch 'ajbaaska/merge-22-to-master'
2018-12-13 17:34:41 -08:00
Mikael Mengistu
42afc62acf
Update src/Middleware/CORS/test/FunctionalTests/CorsMiddlewareFunctionalTest.cs
...
Co-Authored-By: ajaybhargavb <ajaybhargavb@gmail.com>
2018-12-13 16:51:00 -08:00
Nate McMaster
538af1091c
Update src/Middleware/CORS/test/FunctionalTests/CorsMiddlewareFunctionalTest.cs
...
Co-Authored-By: ajaybhargavb <ajaybhargavb@gmail.com>
2018-12-13 16:39:37 -08:00
Nate McMaster
6e3e48d456
Update src/Middleware/CORS/test/FunctionalTests/CorsMiddlewareFunctionalTest.cs
...
Co-Authored-By: ajaybhargavb <ajaybhargavb@gmail.com>
2018-12-13 16:39:27 -08:00
Ben Adams
b2731d652d
.IndexOf(...) >= 0 to .Contains(...) ( #4688 )
2018-12-14 12:40:09 +13:00
Cédric Luthi
4a9a96cef7
Make the ResultStatusCodes property null-resettable
2018-12-13 14:09:21 -08:00
Cédric Luthi
74d900ea56
Add setter to HealthCheckOptions.ResultStatusCodes
...
All other properties (`Predicate`, `ResponseWriter` and `AllowCachingResponses`) have a setter but `ResultStatusCodes` doesn't.
Without a setter, reusing the same status to http status code mapping is impossible and leads to duplicate code that looks like this:
```csharp
private static void ConfigureHealthChecks(IApplicationBuilder app, HealthCheckServiceOptions options)
{
app.UseHealthChecks("/health", new HealthCheckOptions
{
ResultStatusCodes =
{
[HealthStatus.Healthy] = StatusCodes.Status200OK,
[HealthStatus.Degraded] = StatusCodes.Status400BadRequest,
[HealthStatus.Unhealthy] = StatusCodes.Status503ServiceUnavailable
}
});
foreach (var name in options.Registrations.Select(e => e.Name))
{
app.UseHealthChecks($"/health/{name}", new HealthCheckOptions
{
Predicate = registration => registration.Name == name,
ResultStatusCodes =
{
[HealthStatus.Healthy] = StatusCodes.Status200OK,
[HealthStatus.Degraded] = StatusCodes.Status400BadRequest,
[HealthStatus.Unhealthy] = StatusCodes.Status503ServiceUnavailable
}
});
}
}
```
With a setter, this code could be rewritten in a *don't repeat yourself* (DRY) way:
```csharp
private static void ConfigureHealthChecks(IApplicationBuilder app, HealthCheckServiceOptions options)
{
var resultStatusCodes = new Dictionary<HealthStatus, int>
{
[HealthStatus.Healthy] = StatusCodes.Status200OK,
[HealthStatus.Degraded] = StatusCodes.Status400BadRequest,
[HealthStatus.Unhealthy] = StatusCodes.Status503ServiceUnavailable
};
app.UseHealthChecks("/health", new HealthCheckOptions
{
ResultStatusCodes = resultStatusCodes
});
foreach (var name in options.Registrations.Select(e => e.Name))
{
app.UseHealthChecks($"/health/{name}", new HealthCheckOptions
{
Predicate = registration => registration.Name == name,
ResultStatusCodes = resultStatusCodes
});
}
}
```
2018-12-13 14:09:21 -08:00
Ajay Bhargav Baaskaran
0ecc6bc0b5
Merge branch 'release/2.2' into ajbaaska/merge-22-to-master
2018-12-13 12:06:48 -08:00
dotnet-bot
345fee0149
Merge in 'release/2.1' changes
2018-12-13 19:40:20 +00:00
John Luo
a026e7a4e7
Convert MetaPackages to Reference and move to DefauldBuilder folder ( #4687 )
...
* Convert ServerTests to Reference and move to Server folder
* Fix NU1105
2018-12-13 11:39:15 -08:00
Kahbazi
a8ae16e0cb
Change JwtBearerOptions.Audience comment ( #4646 )
2018-12-13 11:08:12 +03:30
John Luo
6d2f2483d2
Remove obsolete session apis ( #4609 )
...
* Remove obsolete session apis
* Add breaking changes json updates
2018-12-12 17:35:40 -08:00
dotnet-bot
f5b36aa8f2
Merge in 'release/2.1' changes
2018-12-13 01:15:45 +00:00
Chris Ross
a3c99028b2
Fix HttpSys Caching_SendFileWithFullContentLength_Cached test ( #4630 )
2018-12-12 17:14:46 -08:00
dotnet-bot
f1bfecfa03
Merge in 'release/2.2' changes
2018-12-12 22:37:18 +00:00
Mikael Mengistu
9e76bec6e1
Fix CORS Functional Tests ( #4610 )
2018-12-12 14:36:14 -08:00
dotnet-bot
e8c63f6cf9
Merge in 'release/2.1' changes
2018-12-12 22:00:56 +00:00
Justin Kotalik
429719b91d
Make IISIntegration use Reference instead of PackageReference (and reactionary work) ( #4311 )
2018-12-12 16:59:44 -05:00
Chris Ross
49d5525352
Change Hosting projects to target netcoreapp3.0 #3754 ( #4611 )
2018-12-12 13:34:57 -08:00
James Newton-King
ac1b5c58b0
Fix NU1105 errors in HttpAbstractions.sln ( #4608 )
2018-12-13 10:15:01 +13:00
dotnet-bot
6de24d6d2c
Merge in 'release/2.2' changes
2018-12-12 21:00:13 +00:00
Ajay Bhargav Baaskaran
ad3835c3e2
Removed unnecessary projects ( #4586 ) ( #4612 )
2018-12-12 12:59:04 -08:00
Chris Ross
a08f4b5a83
ResponseCompression DisposeAsync BasicMiddleware/#247 ( #4604 )
2018-12-12 11:32:36 -08:00
dotnet-bot
3a21d78ce6
Merge in 'release/2.1' changes
2018-12-12 18:42:13 +00:00
Ajay Bhargav Baaskaran
98f2973880
Removed unnecessary projects ( #4586 )
2018-12-12 10:41:06 -08:00
Justin Kotalik
226f2c0c2c
Adds MinimumReadThreshold to StreamPipeReader. ( #4372 )
2018-12-12 13:09:15 -05:00
Chris Ross
12966c63a6
Change DataProtection projects to target netcoreapp3.0 #3754 ( #4473 )
2018-12-12 10:04:36 -08:00
Chris Ross
6d442c1e3d
Upgrade Kestrel to target netcoreapp3.0 #3754 ( #4405 )
2018-12-12 08:16:00 -08:00
Nate McMaster
87629bbad9
Update Middleware.sln and Kestrel.sln to workaround NU1105 error
2018-12-11 18:19:36 -08:00
Nate McMaster
d12827e609
Merge branch 'release/2.2'
2018-12-11 18:04:58 -08:00
Kahbazi
19276ce01c
Remove nameof from log events
2018-12-12 07:19:32 +05:30
Mikael Mengistu
ff385f71c5
Check connectionState in stop so we don't null ref ( #4557 )
2018-12-11 16:22:06 -08:00
dotnet-bot
d11a6c823f
Merge in 'release/2.2' changes
2018-12-12 00:14:21 +00:00
dotnet-maestro-bot
38785d0be9
[automated] Merge branch 'release/2.1' => 'release/2.2' ( #4577 )
...
* Workaround problems when opening solution files in Visual Studio (#4569 )
Changes:
* Condense Routing.sln into HttpAbstractions.sln
* Workaround NU1105 by adding all ProjectReferences to the .sln
* Workaround exceptions in the ReferencesHostBridge by moving Reference items to a temporary item group
* Add a 'startvs.cmd' script for launching VS with the right env variables
* Remove RangeHelper test project
* Move RangeHelper tests into StaticFiles.Tests and add target for NPM restore
* Convert Session to use Reference and move to Middleware folder (#4576 )
* Add RoutingSample.Web to HttpAbstractions.sln
2018-12-11 16:13:20 -08:00
Nate McMaster
0f9ad16b09
Add 2.1.7 package archive baselines
2018-12-11 15:58:50 -08:00
Chris Ross
97cdbfb1a1
Change middleware projects to target netcoreapp3.0 #3754 ( #4472 )
2018-12-11 15:41:36 -08:00
dotnet-bot
156f1e823b
Merge in 'release/2.1' changes
2018-12-11 22:59:22 +00:00
Nate McMaster
719ff08409
Add RoutingSample.Web to HttpAbstractions.sln
2018-12-11 14:58:05 -08:00
dotnet-bot
8876e90846
Merge in 'release/2.1' changes
2018-12-11 22:57:48 +00:00
John Luo
3acdfb3d26
Convert Session to use Reference and move to Middleware folder ( #4576 )
2018-12-11 14:56:42 -08:00
dotnet-bot
8825a726c1
Merge in 'release/2.1' changes
2018-12-11 22:06:26 +00:00
Nate McMaster
5151e7b1ed
Workaround problems when opening solution files in Visual Studio ( #4569 )
...
Changes:
* Condense Routing.sln into HttpAbstractions.sln
* Workaround NU1105 by adding all ProjectReferences to the .sln
* Workaround exceptions in the ReferencesHostBridge by moving Reference items to a temporary item group
* Add a 'startvs.cmd' script for launching VS with the right env variables
* Remove RangeHelper test project
* Move RangeHelper tests into StaticFiles.Tests and add target for NPM restore
2018-12-11 14:05:21 -08:00
Chris Ross
7fdd930f50
Change IIS projects to target netcoreapp3.0 ( #4371 )
...
* Change IIS projects to target netcoreapp3.0 #3754
2018-12-11 13:46:46 -08:00
Chris Ross
99901fbad5
Move Identity.Core and Identity.Stores to NetCoreApp3.0 #3754 ( #4523 )
2018-12-11 10:23:01 -08:00
Steve Sanderson
24840e3465
Razor Components template ( #4333 )
2018-12-11 11:40:42 +00:00
James Newton-King
0c9eda1f4a
Update templates to use endpoint routing ( #4500 )
2018-12-11 18:24:14 +13:00
James Newton-King
c6fa808a91
Change consumes behavior to ignore requests with no content type ( #4459 )
2018-12-11 17:55:20 +13:00
Nate McMaster
dc718f6602
Merge branch 'merge/release/2.2-to-master'
2018-12-10 18:18:52 -08:00
Nate McMaster
790ae47055
Merge branch 'release/2.2'
2018-12-10 17:41:14 -08:00
John Luo
97d918e03a
Do 0-byte reads on MacOS ( #4560 )
...
Underlying corefx issue has been fixed
2018-12-10 17:25:18 -08:00
Ryan Nowak
61d33bed27
Fix failing routing tests
2018-12-10 17:17:58 -08:00
dotnet-bot
985d49c566
Merge in 'release/2.2' changes
2018-12-11 00:44:52 +00:00
Nate McMaster
2c4d586809
Merge 'release/2.1' into release/2.2
...
Co-authored-by: Justin Kotalik <jukotali@microsoft.com>
2018-12-10 15:56:42 -08:00
Artak Mkrtchyan
00fb0d6c14
Updated some depdencies
2018-12-10 15:36:07 -08:00
John Luo
644d8470f7
Crossgen linux-arm shared framework ( #4009 )
...
Also disambiguate between different corssgen executables
2018-12-10 10:56:39 -08:00
Adrian D. Alvarez
838bb11c1e
Adjust font-weight in diagnostics error page to make it easier to read ( #4534 )
2018-12-10 08:35:37 -08:00
Tornike Kharaishvili
d73d95f1d4
CookieSecurePolicy documentation update ( #3670 ) ( #4542 )
2018-12-09 20:29:40 -08:00
Pranav K
926034ac4e
Re-enable extensibility points for ExpressionHelper.GetExpressionText, ExpressionMetadataProvider.FromStringExpression ( #4494 )
...
* Re-enable extensibility points for ExpressionHelper.GetExpressionText, ExpressionMetadataProvider.FromStringExpression
Fixes https://github.com/aspnet/Mvc/issues/8724
2018-12-08 13:54:05 +05:30
Pranav K
027bf336da
Add event names for logs ( #6818 ) ( #4495 )
...
* Add event names for logs (#6818 )
2018-12-08 13:00:16 +05:30
dotnet-bot
6169f4dd59
Merge in 'release/2.1' changes
2018-12-07 23:46:01 +00:00
Mikael Mengistu
4c5debd6ea
Skip Autobahn test ( #4488 )
2018-12-07 15:44:59 -08:00
Nate McMaster
c612eb8730
Merge branch 'release/2.2'
2018-12-07 14:50:17 -08:00
dotnet-bot
4b9a884a35
Merge in 'release/2.1' changes
2018-12-07 22:31:49 +00:00
Justin Kotalik
5f843f223e
[2.1] Make Antiforgery, ResponseCaching, StaticFiles, and Cors use project ref ( #4484 )
2018-12-07 14:30:50 -08:00
dotnet-bot
5e9b60a573
Merge in 'release/2.2' changes
2018-12-07 21:49:04 +00:00
Nate McMaster
5017afa0ad
Merge branch 'release/2.1' to release/2.2
2018-12-07 12:45:42 -08:00
dotnet-bot
212f701d31
Merge in 'release/2.2' changes
2018-12-07 20:22:15 +00:00
dotnet-bot
ab8039e2dc
Merge in 'release/2.1' changes
2018-12-07 20:21:15 +00:00
dotnet-maestro-bot
c331a7be14
Rewrite HttpSys response caching tests #1475 ( #4486 ) ( #4511 )
2018-12-07 12:21:12 -08:00
Nate McMaster
df3e4b98a2
Backport infrastructure cleanup to share sources and project references ( #4513 )
2018-12-07 12:20:13 -08:00
Nate McMaster
85e2147ff0
Merge branch 'release/2.2'
2018-12-07 11:11:44 -08:00
Chris Ross
f1aacdbaa8
Remove Microsoft.Owin.Security.Interop and Microsoft.AspNet.Identity.AspNetCoreCompat ( #4479 )
2018-12-07 09:59:36 -08:00
dotnet-bot
84b41b6f52
Merge in 'release/2.1' changes
2018-12-07 17:22:37 +00:00
Chris Ross
ae11d5d62e
Rewrite HttpSys response caching tests #1475 ( #4486 )
2018-12-07 09:21:33 -08:00
Joni
60d9615f00
Add space after period to the routing log message
2018-12-07 08:16:03 -08:00
Pranav K
8a0fa732b0
Make RequiredAttributeAdapter public
...
Fixes https://github.com/aspnet/Mvc/issues/8744
2018-12-07 17:49:10 +05:30
dotnet-bot
44f04c8b4d
Merge in 'release/2.2' changes
2018-12-07 01:43:13 +00:00
Nate McMaster
569a14ecb8
Merge branch 'release/2.1' into release/2.2
2018-12-06 17:09:03 -08:00
BrennanConroy
f52882b6aa
Changing streaming things
2018-12-06 15:57:50 -08:00
DylanDmitri
34bb352189
streaming from client to server
2018-12-06 15:57:50 -08:00
Pavel Krymets
24e17eadca
Add a flag to set current directory in ANCM InProc ( #4369 )
2018-12-06 15:19:47 -08:00
James Newton-King
50ea144c57
Update MVC dependencies ( #4477 )
2018-12-07 11:01:47 +13:00
dotnet-bot
ab620a2a0d
Merge in 'release/2.1' changes
2018-12-06 20:22:15 +00:00
Nate McMaster
5c2a701b38
Remove conditional targetframeworks from routing projects ( #4476 )
2018-12-06 12:21:05 -08:00
Ryan Nowak
e3773b6383
Remove Razor tooling projects
...
Removes the Razor compiler/tooling projects from this repo
2018-12-06 07:47:00 -08:00
James Newton-King
a07be53033
Rename UseEndpointRouting to UseRouting ( #4416 )
2018-12-06 21:26:10 +13:00
dotnet-bot
dfb6f0941d
Merge in 'release/2.1' changes
2018-12-06 06:15:42 +00:00
Nate McMaster
50bea05918
Refactor Routing to use ProjectReference and move into src/Http folder ( #4441 )
...
Changes:
* Stop producing Microsoft.AspNetCore.Routing.DecisionTree.Sources. I could not find any usages outside of the Microsoft.AspNetCore.Routing assembly, so I've moved this to be a subfolder of code in the Microsoft.AspNetCore.Routing project.
* Stop building src/Routing as a submodule. Use ProjectReference instead
* Move projects from src/Routing into src/Http/Routing/ and src/Http/Routing.Abstractions/
* Update package baselines and dependencies to support building routing projects and samples
2018-12-05 22:14:22 -08:00
Nate McMaster
00cf0a4d7d
Fix compiler errors
2018-12-05 18:10:53 -08:00
dotnet-bot
5fbec5fbb3
Merge in 'release/2.1' changes
2018-12-06 01:02:05 +00:00
Justin Kotalik
0588b13f5b
Fix 2.1 build issues and remove obsolete build code ( #4443 )
...
- Stop producing the 'Universe' lineup package
- Removes all PackageLineup code
- Use full msbuild on Windows
- Fix invalid reference to internal.aspnetcore.sdk in 2.1.x
- Fix shared folder references for PackageArchive task.
2018-12-05 17:01:02 -08:00
Doug Bunting
929d7f3306
Obsolete old `CompatibilityVersion` values
...
- #7156 part 1 of ?
- add `CompatibilityVersion.Version_3_0` and make it the default
- remove tests of old versions
- also remove `CompatibilityVersion.Version_2_x` uses outside src/Mvc
- for functional tests of legacy routing, use `MvcOptions.EnableEndpointRouting` to control behaviour
- rename `StartupWith2xCompat...` classes to `StartupWithoutEndpointRouting`
- clean up comments mentioning `[Obsolete]` `CompatibilityVersion` values
- many of the affected options will be removed in subsequent PRs but this cleanup helps when searching entire repo
- correct `<value>` comments in `ApiBehaviorOptions`
nits:
- take VS suggestions in changed files
- remove src/SiteExtensions/global.json and let file in repo root "win"
- fix a few grammar errors VS or the spell checker noticed
- move `<value>` elements before `<remarks>` for consistency
- was undoing unintentional changes and noticed the inconsistency in a couple of additional files
2018-12-05 16:46:46 -08:00
dotnet-bot
19511ed4e9
Merge in 'release/2.2' changes
2018-12-06 00:30:18 +00:00
Nate McMaster
c430342dee
Ensure Internal.AspNetCore.Sdk does not end up in the LZMA ( #4448 )
2018-12-05 16:29:12 -08:00
Nate McMaster
7fad55f6b6
Revert "Update basic middleware projects to netcoreapp3.0"
...
This partially reverts commit e0bbda07fc .
2018-12-05 16:08:54 -08:00
Nate McMaster
3e571eb519
Temporarily revert Microsoft.AspNetCore.HttpOverrides to netstandard2.0 ( #4446 )
...
We're running into issues getting IIS tests on netcoreapp3.0. This unblocks the build and gives us more time to work on #4371
2018-12-05 16:01:14 -08:00
BrennanConroy
a08dc959c0
Linux needs correct file path casing ( #4442 )
2018-12-05 15:28:43 -08:00
BrennanConroy
c487f019f5
Collect transport fallback errors to provide better errors ( #4293 )
2018-12-05 14:27:07 -08:00
Sébastien Ros
a51ff6e6ad
Updating benchmark apps for netcoreapp3.0 ( #4433 )
2018-12-05 12:42:14 -08:00
Justin Kotalik
e9c4c935f6
Remove FlushResultCancellationTests as it isn't relevant ( #4435 )
2018-12-05 12:05:05 -08:00
BrennanConroy
63e2beb749
Fix benchmarks in SignalR ( #4436 )
2018-12-05 11:41:43 -08:00
Doug Bunting
6a8d7dc12c
Fix Mvc test failures ( #4415 )
...
* Regenerate Mvc functional test baselines
- whitespace likely changed due to a recent Razor change (but there've been so many!)
* Don't trim response content in `RazorPagesTest.Page_SimpleForms_RenderAntiforgery()`
- was inconsistent with generated baseline and `Trim()` in similar tests is generally not needed or correct
* Skip test method causing remaining two src/Mvc failures
- #4417 opened to restore these tests
2018-12-05 11:30:09 -08:00
dotnet-bot
b19997eff8
Merge in 'release/2.2' changes
2018-12-05 18:12:44 +00:00
Justin Kotalik
0646bb98b0
Call Flush With fMoreData=false when response isn't allowed to have body ( #4403 )
2018-12-05 10:11:36 -08:00
Nate McMaster
c95ee2b051
Merge branch 'master' into namc/merge-2.2
2018-12-05 10:09:38 -08:00
Nate McMaster
cbecf84bd5
Revert "Remove Razor tooling projects" ( #4423 )
...
This reverts commit 3cfa6c0526 (aspnet/AspNetCore#4411 ) which broke the build.
2018-12-05 10:07:49 -08:00
Nate McMaster
e0bbda07fc
Update basic middleware projects to netcoreapp3.0
2018-12-05 10:06:29 -08:00
Andrew Stanton-Nurse
1b9e655536
Add SignalR Daily Tests scripts ( #4336 )
2018-12-05 10:04:23 -08:00
Nate McMaster
4c6bbe5a01
Merge the master branch of aspnet/Identity
2018-12-05 09:00:11 -08:00
Nate McMaster
e9fb6d2db6
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 4a717c8563
2018-12-05 08:59:26 -08:00
Nate McMaster
82184e9710
Merge the master branch of aspnet/Localization
2018-12-05 08:56:31 -08:00
Nate McMaster
08e243f982
Merge the master branch of aspnet/BasicMiddleware
2018-12-05 08:55:51 -08:00
Nate McMaster
62f9655a2f
Merge branch 'release/2.2'
2018-12-05 08:54:38 -08:00
Nate McMaster
be3b66d1d1
Revert "Remove Razor tooling projects"
...
This reverts commit 3cfa6c0526 .
2018-12-05 08:40:49 -08:00
Pavel Krymets
2e56f056d0
Re-enable IISIntegration tests ( #4377 )
2018-12-05 08:24:12 -08:00
Steve Sanderson
5c1fbe1af7
Run Components on netcoreapp3.0 ( #4391 )
2018-12-05 14:46:26 +00:00
Ryan Nowak
3cfa6c0526
Remove Razor tooling projects
...
Removes the Razor compiler/tooling projects from this repo
2018-12-04 19:58:37 -08:00
Hans van Bakel
98e5c8c0b3
Update OpenIdConnectOptions.cs ( #4408 )
2018-12-04 18:24:10 -08:00
dotnet-bot
69a0641c53
Merge in 'release/2.2' changes
2018-12-05 02:13:55 +00:00
Stephen Halter
f6e691f26a
Move InMemory.FunctionalTests to own TestGroup
...
It looks like some shutdown timeouts are cause by CPU starvation
2018-12-04 17:54:42 -08:00
dotnet-bot
9915395424
Merge in 'release/2.1' changes
2018-12-05 00:45:13 +00:00
Justin Kotalik
736083c2f2
Make HttpSys use ProjectReference and move HttpSys into Servers folder ( #4335 )
2018-12-04 16:44:07 -08:00
Nate McMaster
495e4fe4f7
Merge branch 'release/2.2'
2018-12-04 16:03:47 -08:00
N. Taylor Mullen
c0b74d916c
Add build.cmd to Mvc
2018-12-04 15:35:30 -08:00
N. Taylor Mullen
0728754d08
Update Mvc slns to be builidlable.
2018-12-04 15:35:30 -08:00
dotnet-bot
b0826ab179
Merge in 'release/2.1' changes
2018-12-04 23:31:58 +00:00
Chris R
7bb42126bc
Upgrade HttpSys to target netcoreapp3.0 #3754
2018-12-04 15:13:44 -08:00
James Newton-King
6fc7e532f1
Update MVC dependencies ( #4395 )
2018-12-05 12:04:47 +13:00
Nate McMaster
11fdf9b50a
Fix bad merge of .csproj and update Middleware.sln
2018-12-04 14:59:11 -08:00
Nate McMaster
2c376ebc0c
Merge the release/2.2 branch of aspnet/Identity
2018-12-04 14:49:11 -08:00
Nate McMaster
c5bc96d601
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 4b3d8e5106
2018-12-04 14:45:54 -08:00
Nate McMaster
e261ca5426
Merge release/2.2 from aspnet/Localization
2018-12-04 14:25:25 -08:00
Nate McMaster
7e823a05ec
Merge release/2.2 from aspnet/BasicMiddleware
2018-12-04 14:24:42 -08:00
Nate McMaster
1be2b427de
Merge branch 'release/2.1' into release/2.2
2018-12-04 14:23:24 -08:00
Nate McMaster
b140962a5f
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 268290a8b5
2018-12-04 14:13:34 -08:00
Nate McMaster
44ec52ebfe
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 2d3ad1cb0f
2018-12-04 14:10:25 -08:00
Nate McMaster
ec41d9bcf6
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in c283dfb56c
2018-12-04 14:00:42 -08:00
Nate McMaster
d8c434febe
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in de1579bdda
2018-12-04 13:57:22 -08:00
James Newton-King
e310ccac7b
Update static files sample to use AuthZ middleware ( #4279 )
2018-12-05 06:43:39 +13:00
Chris R
fef468aad1
Change Antiforgery projects to target netcoreapp3.0 #4343
2018-12-04 09:37:30 -08:00
Victorio Berra
7e7018608d
Fix spelling in AzureAppServicesHostingStartup.cs ( #4390 )
2018-12-04 09:13:53 -08:00
Nate McMaster
61e9b3eae9
Merge Identity, Localization and BasicMiddleware
2018-12-04 09:02:03 -08:00
Steve Sanderson
c7d6364900
Enable src/Components to build ( #4367 )
...
Fix aspnet/AspNetCore-Internal#1443
2018-12-03 16:38:28 -08:00
Javier Calvarro Nelson
f6b4d65218
[Diagnostics] Fix Diagnostics middleware errors ( #4271 )
...
Removes setting two forbidden headers.
2018-12-04 01:18:31 +01:00
BrennanConroy
361eaf0b87
Use npm ci ( #4378 )
2018-12-03 15:55:28 -08:00
Nate McMaster
a6b5bb16fd
Merge source code from aspnet/Identity
2018-12-03 15:54:12 -08:00
Nate McMaster
c6459614c7
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in fa3cfd08eb
2018-12-03 15:52:23 -08:00
James Newton-King
f157b78d93
MVC reaction to RoutePattern required values
2018-12-04 12:14:35 +13:00
James Newton-King
96cd055e05
Support RoutePattern required values in matcher and link generator
2018-12-04 12:14:35 +13:00
dotnet-bot
f89d98f241
Merge in 'release/2.1' changes
2018-12-03 22:06:28 +00:00
Martin Stenhoff
142b6a73ec
Fix links in JavaScriptServices README.md ( #4361 )
2018-12-03 12:54:14 -08:00
Tugberk Ugurlu
b0c6bca441
Update Antiforgery README ( #4353 )
2018-12-03 12:53:16 -08:00
Chris R
81bc0b1ca8
Fix test asset casing in Hosting funcational tests
2018-12-03 12:50:48 -08:00
dotnet-bot
342d55bef6
Merge in 'release/2.2' changes
2018-12-03 20:13:50 +00:00
James Newton-King
b2b16253af
Add routing to web host ( #4358 )
2018-12-04 08:22:23 +13:00
Chris R
d73e3b20b8
Merge remote-tracking branch 'origin/release/2.1' into tratcher/testhost/2.2
...
# Conflicts:
# eng/targets/Packaging.targets
# src/Hosting/TestHost/test/ClientHandlerTests.cs
# src/Middleware/WebSockets/test/ConformanceTests/Microsoft.AspNetCore.WebSockets.ConformanceTests.csproj
2018-12-03 09:26:57 -08:00
Chris R
d852e10293
Hosting/#839 UseConfiguration with a config section
2018-12-03 09:09:09 -08:00
Chris R
c0381de983
Change Middleware projects to target netcoreapp3.0 #3754
2018-12-03 09:06:00 -08:00
BrennanConroy
80ae51ead8
Rename Json protocol to NewtonsoftJson ( #4319 )
2018-12-03 08:59:44 -08:00
BrennanConroy
d10205f309
Fix 3.0 benchmarks ( #4323 )
2018-12-03 08:58:15 -08:00
dotnet-bot
3a74f325e2
Merge in 'release/2.1' changes
2018-12-01 00:43:26 +00:00
Mikael Mengistu
d9a953dfeb
Autobahn test suite fix( #4302 )
2018-11-30 16:42:23 -08:00
Chris R
355982c92b
Change StaticFiles projects to target netcoreapp3.0 #3754
2018-11-30 16:12:19 -08:00