John Luo
98636fed6d
Merge branch 'release/2.2'
2018-12-17 14:24:30 -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
John Luo
da72ac62ba
Merge remote-tracking branch 'origin/release/2.2' into release/2.2
2018-12-14 16:52:45 -08:00
John Luo
ddd335be26
Merge branch 'release/2.1' into release/2.2
2018-12-14 16:50:16 -08: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
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
Nate McMaster
cb5458e870
Exclude ancm.mof from code signing
...
This file is not signable. The sign tool treats .mof as a potential signing candidate by default, even though most .mof files are not signable.
2018-12-14 12:05:30 -08: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
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
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
James Newton-King
dd662ed2a7
Fix compiling Mvc.sln in 2.2 ( #4955 )
2018-12-14 22:21:44 +13: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
Nate McMaster
96ea326664
Document custom reference resolution ( #4806 )
2018-12-13 14:35:02 -08:00
Cédric Luthi
4a9a96cef7
Make the ResultStatusCodes property null-resettable
2018-12-13 14:09:21 -08:00