Justin Kotalik
1db76280ae
Don't call complete outside of main request loop ( #13728 )
2019-09-06 23:01:19 -07:00
Javier Calvarro Nelson
c3fa16970d
[ApiAuth] Update partner dependencies to their final versions ( #13260 )
...
* Update oidc-client dependency to 1.9.4
* Update to the Identity Server 4 RTM version
* Updated entity framework migrations
2019-09-07 02:39:47 +02:00
Justin Kotalik
8a8a0a5b82
Don't capture instance in Select for DataProtection. ( #13743 )
...
* Don't capture instance in project on Select
* Avoid capturing this by putting _logger in a local
2019-09-06 15:02:11 -07:00
John Luo
3e4c2a4c4f
Ship Site Extensions package ( #13693 )
2019-09-06 13:49:43 -07:00
Steve Sanderson
91a6fcc93d
Improve reliability of globalization E2E tests ( #13678 )
2019-09-06 16:20:14 +01:00
Ryan Brandenburg
7349b19e1e
components-reconnect-refused to components-reconnect-rejected ( #13659 )
...
components-reconnect-refused to components-reconnect-rejected
2019-09-04 11:07:19 -07:00
Kevin Pilch
c9505a2911
Remove test workaround for fixed issue.
...
Fixes #11206
2019-09-04 10:29:47 -07:00
Daniel Roth
834e316f7a
Correct the spelling of 'EnableEndpointRouting' ( #13655 )
...
Fixes #11467
2019-09-04 08:11:41 -07:00
Chris Ross
1095971a80
Skip broken shutdown test ( #13652 )
2019-09-03 12:40:50 -07:00
Pranav K
54710e4671
Do not infer Required attributes based on context for non-nullable generic types ( #13551 )
...
Fixes https://github.com/aspnet/AspNetCore/issues/13512
2019-09-03 11:13:16 -07:00
John Luo
437f149880
Build analyzers and bundled dotnet tools in source build ( #13569 )
...
* Add external package available in source buid
2019-09-03 10:39:23 -07:00
Stephen Halter
5d0b314e7d
Deflake ConcurrentPipeWriterTests.PassthroughIfAllFlushesAreAw… ( #13563 )
2019-08-30 10:35:36 -07:00
Justin Kotalik
78b46768d7
Lazyily initialize Https port in HttpsRedirectionMiddleware
2019-08-29 16:46:26 -07:00
Pranav K
c3af33a023
Update manually generated reference for RenderTreeFrame ( #13522 )
...
Fixes https://github.com/aspnet/AspNetCore/issues/13504
2019-08-29 09:20:15 -07:00
Javier Calvarro Nelson
14136e7acd
[SPA] Enable support for publish single file ( #13518 )
...
* Updates the angular template to exclude the client-side files from the single file publish output
* Updates the react template to exclude the client-side files from the single file publish output
* Updates the react-redux template to exclude the client-side files from the single file publish output
2019-08-29 10:06:46 +02:00
Ryan Brandenburg
0d24bc27eb
Microsoft.dotnet-openapi is a shipping package ( #13481 )
...
Microsoft.dotnet-openapi is a shipping package
2019-08-28 11:43:41 -07:00
Ben Adams
649bcc8f61
Http2MessageBody.TryRead TryStart/TryStop ( #13464 )
2019-08-27 16:21:32 -07:00
Daniel Roth
b9d1e067ee
Fixup Razor Class Library template namespace and component content ( #13419 )
2019-08-27 16:00:39 -07:00
Chris Ross
b991e4b9c2
Fix AzureAd options validation ( #13480 )
...
* Skip getting AzureAdOptions for not AzureADUi Cookies scheme #13311 (#13327 )
* Also check Azure Jwt options for #13311
2019-08-27 15:59:08 -07:00
Brennan
ecae6838b8
Ignore MaxRequestBodySize for upgraded requests ( #13477 )
2019-08-27 13:53:09 -07:00
Kevin Pilch
3e253f6a40
Add XML docs to pubternal types
2019-08-27 13:45:33 -07:00
Doug Bunting
8ea3edadaf
Add tests of client code generation components ( #13444 )
...
- #4914
- test service ref MSBuild tasks
- add `MockBuildEngine` class to support tests where a task logs
- correct an incredibly minor product issue about logging errors for `@(OpenApiProjectReference)` items
- set `%(SourceProject)` metadata and use it when logging
- add test project that builds and can be tested in the future
2019-08-26 20:42:13 -07:00
Justin Kotalik
2d8cd179a1
Skip default port tests ( #12983 )
2019-08-26 14:07:31 -07:00
Brennan
efa30e25f2
Move AfterBuild Target to more accurate project ( #13281 )
2019-08-26 09:42:17 -07:00
Doug Bunting
d7b604810d
Clean up reference conflict warnings in Microsoft.dotnet-openapi project
2019-08-26 09:05:11 -07:00
Doug Bunting
b496781792
Remove last couple of (test-only) System.Data.SqlClient dependencies ( #13426 )
2019-08-26 09:04:10 -07:00
Doug Bunting
a6597967e4
Merge branch 'release/3.0' into merge/release/3.0-preview9-to-release/3.0
2019-08-24 15:46:10 -07:00
Chris Ross
66de493473
Mark bytes as consumed #13372 ( #13394 )
2019-08-24 12:03:03 -07:00
Doug Bunting
cb298f16e9
Merge branch 'release/2.2' => 'release/3.0' ( #13100 )
2019-08-24 11:06:25 -07:00
Doug Bunting
208b50afca
Merge branch 'release/3.0-preview9' => 'release/3.0' ( #13283 )
2019-08-24 11:02:55 -07:00
Hao Kung
4425876c89
[3.0] Also target netstandard2.1 for Identity.EFCore ( #13402 )
...
* Also target netstandard2.1 for Identity.EFCore
* Remove source build line
2019-08-24 08:22:28 -07:00
Javier Calvarro Nelson
61dc5fbe28
[ApiAuthorization] Disables pop-up logout by default
...
* There is an issue in Edge that prevents it from working.
* Can be enabled by setting 'popUpDisabled = false' in 'authorize.service.ts'
2019-08-23 20:00:53 -07:00
Doug Bunting
8417429b9b
Fix a typo and address remaining service reference TODO items ( #13364 )
...
- #4923
- typo caused problems when cleaning files
- add `%(OpenApiProjectReference.GlobalPropertiesToRemove)` metadata
- stop removing `$(Configuration)` or `$(Platform)` global properties
- address timing issues cropping up occasionally in builds using service ref features
- avoid `AfterTargets="Build"`; referencing projects sometimes continue while post-build work is done
- instead use `BeforeTargets="Build"` since that's a no-op target wrapping up a build
- set only properties in buildMultiTargeting\Microsoft.Extensions.ApiDescription.Server.targets
- items not evaluated early enough to reference in all cases
- rename Microsoft.Extensions.ApiDescription.Client tasks
- remove net461 task assembly
2019-08-23 15:59:58 -07:00
Doug Bunting
e89a0519b9
Use Microsoft.Extensions.CommandLineUtils and Microsoft.Extensions.Tools.Internal in service ref programs
...
- add '--quiet' option
- add '--debug' option (when building Debug configuration)
- support `--` in `dotnet-getdocument`; users may want to explictly add options for GetDocument.Insider
- remove '--no-color' option
- use `IReporter` extension methods instead of static `Reporter` class
- reduce `static` use to ease testing (coming soon) and share the `IConsole` and `IReporter`
- add `ProgramBase`
- allow mix of known and unknown command-line arguments
- maintain existing behaviour using switch added in aspnet/Extensions#2210
nits:
- add a couple more `CommandLineApplicationExtensions` methods
- take VS suggestions
2019-08-23 15:54:55 -07:00
Steve Sanderson
b16a26d50b
Blazor fixes ( #13377 )
...
* Remove incorrect comment from template. Fixes #13331
* Fix reload button. Fixes #13370
* Fix navigation after reconnection. Fixes #13371
* Auth template fixes. Fixes #13374 and #13375
2019-08-23 15:48:24 -07:00
Brennan
6d311041f0
Properly wait for workaround ( #13286 )
2019-08-23 11:15:40 -07:00
John Luo
3b5a9e51d2
Set Blazor Client projects to use preview 9 label
2019-08-23 10:16:56 -07:00
Ryan Brandenburg
cfcffd8251
OpenAPI ServiceReference Tool ( #12810 )
...
Add ServiceReference tool
2019-08-22 11:16:16 -07:00
Pranav K
7bb56a8dba
Do not throw if RouteComparison compares two identical references
...
Fixes https://github.com/aspnet/AspNetCore/issues/13313
2019-08-21 13:18:41 -07:00
Kevin Pilch
733218c652
Merge pull request #13226 from aspnet/rynowak/interop-reliability
...
Improve reliability of reliability tests
2019-08-20 14:00:29 -07:00
Hao Kung
55b271227d
Fix privacy link ( #13262 )
2019-08-20 09:03:06 -07:00
Pranav K
2061713b47
Use min.js files
2019-08-19 18:57:46 -07:00
Brennan Conroy
4fb2dda133
Fix AllProtocols with duplicates
2019-08-19 16:27:16 -07:00
Ryan Nowak
be2a71855b
Improve reliability of reliability tests
...
Fixes : #13086
- Fixed some wrong logging (wrong EventIds)
- Added a base class for ignitor tests
- Centralized code for capturing data in ignitor
- Make `WaitForXyz` methods return the thing they found
- Make `WaitForXyz` methods report logs on timeout
- Fix synchronization problems with some tests
- Split invalid event tests into their own class for code reuse
The main thing here is that some of the JS interop reliability tests had
causality/synchronization problems. They were either not waiting for a
render batch, or they were not *triggering* a render batch.
In addition to that, I did a general consolidation of the infrastructure
for these tests to make sure that they are all using the same set of
practices. I found and fixed cases where tests were using timeouts that
were too small (inconsistency) or where they were using non-threadsafe
data structures (these tests always involve concurrency).
2019-08-19 15:31:43 -07:00
Stephen Halter
ff5c200345
Wait until after UseHttps() to read HttpProtocols ( #13202 )
...
- This makes it so ListenOptions.HttpProtocols can be set after
ListenOptions.UseHttps() is called and still function.
2019-08-19 10:58:49 -07:00
Ryan Nowak
8035ef0a27
Add AdditionalAssemblies to Router
...
Adds the ability to specify multiple assemblies to the Router
component.
Prior to preview 8, the router would search all dependencies of
`AppAssembly` for routable components. We made an intentional change to
stop that. However, we haven't yet give users a way to specify multiple
assemblies if their components are split across assemblies.
2019-08-19 09:07:12 -07:00
Javier Calvarro Nelson
5678f84d60
[Blazor] Adds a version to the Circuit ID purpose ( #13250 )
...
* It prevents older payloads from being unprotected should we ever change the format.
* Follows recommended practices when using data protection.
2019-08-19 17:58:56 +02:00
Justin Kotalik
8a777e50fb
Merge branch 'release/2.2' into release/3.0
2019-08-19 08:15:07 -07:00
Javier Calvarro Nelson
74b801506b
[Blazor] Enables the client to initiate blazor server-side renders ( #13147 )
...
* [Blazor] Allows multiple components as entry points
* Removes all overloads that register a component statically with aborts
selector.
* Updates render component to have a RenderMode parameter that indicates
how the component must render. Valid values are Static, Server, and
ServerPrerendered.
* When using Server or ServerPrerendered we emit marker comments into
the page that are later used by blazor.server.js to bootrstrap a
blazor server-side application.
2019-08-17 20:44:59 +02:00
dotnet-maestro[bot]
8283e6ac2b
[release/3.0] Update dependencies from aspnet/EntityFrameworkCore ( #13210 )
...
* Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20190816.12
- Microsoft.EntityFrameworkCore.Tools - 3.0.0-preview9.19416.12
- Microsoft.EntityFrameworkCore.SqlServer - 3.0.0-preview9.19416.12
- dotnet-ef - 3.0.0-preview9.19416.12
- Microsoft.EntityFrameworkCore - 3.0.0-preview9.19416.12
- Microsoft.EntityFrameworkCore.InMemory - 3.0.0-preview9.19416.12
- Microsoft.EntityFrameworkCore.Relational - 3.0.0-preview9.19416.12
- Microsoft.EntityFrameworkCore.Sqlite - 3.0.0-preview9.19416.12
Dependency coherency updates
- Microsoft.AspNetCore.Analyzer.Testing - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ActivatorUtilities.Sources - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Abstractions - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Memory - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.SqlServer - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.StackExchangeRedis - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Abstractions - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.AzureKeyVault - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Binder - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.CommandLine - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.EnvironmentVariables - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.FileExtensions - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Ini - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Json - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.KeyPerFile - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.UserSecrets - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Xml - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyInjection.Abstractions - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyInjection - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DiagnosticAdapter - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Diagnostics.HealthChecks - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Abstractions - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Composite - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Embedded - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Physical - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileSystemGlobbing - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Hosting.Abstractions - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Hosting - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HostFactoryResolver.Sources - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Http - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Localization.Abstractions - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Localization - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Abstractions - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.AzureAppServices - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Configuration - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Console - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Debug - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.EventSource - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.EventLog - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.TraceSource - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Testing - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ObjectPool - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options.ConfigurationExtensions - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options.DataAnnotations - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ParameterDefaultValue.Sources - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Primitives - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.TypeNameHelper.Sources - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ValueStopwatch.Sources - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.WebEncoders - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Internal.Extensions.Refs - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.JSInterop - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Mono.WebAssembly.Interop - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview9-19416-01 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyModel - 3.0.0-preview9-19416-01 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Ref - 3.0.0-preview9-19416-01 (parent: Microsoft.Extensions.Logging)
- NETStandard.Library.Ref - 2.1.0-preview9-19416-01 (parent: Microsoft.Extensions.Logging)
- Internal.AspNetCore.Analyzers - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.Testing - 3.0.0-preview9.19416.7 (parent: Microsoft.EntityFrameworkCore)
* React to breaking changes
2019-08-17 17:44:06 +00:00