Commit Graph

38940 Commits

Author SHA1 Message Date
Pranav K 6b36c377f6
Update ref assemblies 2019-06-24 16:01:02 -07:00
Pranav K bed3542a9b
Add JsonExtensionData to ProblemDetails
Fixes https://github.com/aspnet/AspNetCore/issues/6202
2019-06-24 16:01:02 -07:00
David Fowler b31bdd4373
Moved things around (#11508)
- Put middleware in th middeware folder
- Rename PipelineExtensions to BufferExtensions
- Move DuplexPipe to shared
2019-06-24 15:18:09 -07:00
Steve Sanderson f162ba1961
For two-way bindings, enforce consistency between .NET model and DOM by patching old tree. Fixes #8204 (#11438) 2019-06-24 23:15:33 +01:00
Pranav K 151ae52661
JSON error handling (#11190)
* Exception handling with SystemTextJsonInputFormatter

* Additional tests

* Update ref package

* PR feedback

* Test fixes and feedback

* Update refs

* Restructure tests

* Cleanup
2019-06-24 14:30:38 -07:00
Arthur Irgashev 590958376e Add debugg logging for DataProtectorTokenProvider.ValidationAsync (#10739) 2019-06-24 14:30:09 -07:00
David Fowler 9b59fe40cf
Added some doc comments to bedrock APIs (#11487)
* Added some doc comments to bedrock APIs
- Also cleaned up some HttpContext doc comments

* Apply suggestions from code review

PR feedback

Co-Authored-By: Andrew Stanton-Nurse <andrew@stanton-nurse.com>

* Apply suggestions from code review

Co-Authored-By: Justin Kotalik <jukotali@microsoft.com>
2019-06-24 14:06:01 -07:00
Loïc Sharma 7994b509f8 Update "feature request" GitHub issue template (#11302) 2019-06-24 13:33:02 -07:00
dotnet-maestro[bot] 114f760d64 [master] Update dependencies from 3 repositories (#11458)
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190621.2
- Microsoft.NET.Sdk.Razor - 3.0.0-preview7.19321.2
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview7.19321.2
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview7.19321.2
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview7.19321.2

* Update dependencies from https://github.com/aspnet/Blazor build 20190623.1
- Microsoft.AspNetCore.Blazor.Mono - 0.10.0-preview7.19323.1

* Update dependencies from https://github.com/dotnet/arcade build 20190623.4
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19323.4
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19323.4
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19323.4

* fix build (tests) - thanks @ajaybhargavb
2019-06-24 11:48:20 -07:00
David Fowler c63cd0c3ad
Simplified HttpConnection (#11488)
- Don't register callbacks until we have a request processor
- Remove the IConnectionTimeoutFeature from the feature collection, it was used by connection adapters but isn't needed anymore.
- Rename OnInputOrOutputCompleted to OnConnectionClosed
2019-06-24 11:42:27 -07:00
Alessio Franceschelli 7d4258b186 Api Explorer: multiple complex properties 2019-06-24 11:15:39 -07:00
Javier Calvarro Nelson 0a4f42a7e2
Add support for static web assets in blazor client-side (#11042)
* Add support for static web assets in blazor client-side
* Blazor serve use MSBuild data instead of heuristics to run the app
* Remove blazor-client-side app Static Web Assets when hosted in an ASP.NET Core
2019-06-24 17:47:08 +02:00
Ryan Nowak 6ce8a879ae Add dynamic controller/page routes
Adds infrastructure for a common IRouter-based pattern. In this pattern,
an extender subclasses Route to post-process the route values before MVC
action selection run. The new infrastructure duplicates this kind of
experience but based on endpoint routing.

The approach in this PR starts at the bottom... meaning that this is the
most-focused and least-invasive way to implement a feature like this.
Similar to fallback routing, this is a pattern built with matcher
policies and metadata rather than a built-in feature of routing.

It's valuable to point out that this approach uses IActionConstraint to
disambiguate between actions. The other way we could go would be to make
the *other* matcher policy implementations able to do this. This would
mean that whenever you have a dynamic endpoint, you will not by using
the DFA for features like HTTP methods. It also means that we need to go
re-implement a bunch of infrastructure.

This PR also adds the concept of an 'inert' endpoint - a non-Routable
endpoint that's created when fallback/dynamic is in use. This seems like
a cleaner design because we don't start *matching* RouteEndpoint
instances for URLs that don't match. This resolves #8130
2019-06-24 08:08:54 -07:00
David Fowler 5ca92305c2
PR feedback from #11412 (#11474)
- Remove ExpectedMiddlewareCount since everything is middleware now
- Renamed everything adapter to middleware
- Added a regression test for an https scenario
- Don't send client certs for tests that don't expect it
2019-06-23 21:08:10 -07:00
Ryan Nowak 2420d8f0ac Simplify attribute splatting
Removes handling for IEnumerable<KVP<string, string>>. This isn't
something we really need for the main scenario and it MASSIVELY
complicates the codegen part of the feature. Requiring the dictionary to
be an object-valued dictionary should cover the cases we care about.
2019-06-23 20:26:13 -07:00
John Luo 6761dec9c6
Sign Windows zips (#11466) 2019-06-22 19:44:09 -07:00
Chris Ross 3ce6c1dc5b
Consolidate Windows Auth config #10530 (#11421) 2019-06-22 10:39:10 -07:00
Jacques Eloff 6ecfdf2c49
Merge pull request #11453 from aspnet/joeloff/LocUI
Tweak UI layout for non-ENU installs
2019-06-22 00:07:44 -07:00
Chris Ross 4ef204e13b
Remove or make public pubternals for Http #11312 (#11429) 2019-06-21 17:56:53 -07:00
Hao Kung f35564ba06
Move DataProtection and Extensions.Identity to netstandard2.0/2.1 (#11008) 2019-06-21 14:40:42 -07:00
Mikael Mengistu 655c29b7ef
Update Kestrel's dev cert error message (#11430) 2019-06-21 14:28:52 -07:00
Brennan 5b31a9540a
[SignalR] Pass a resource into IPolicyEvaluator for Hub method auth (#11070) 2019-06-21 14:08:50 -07:00
Dylan Dmitri Gray f9aa85a829
Dylan/stack policy (#11293)
* Initial StackPolicy implementation
2019-06-21 11:03:17 -07:00
Jacques Eloff 67e6351e6a Tweak UI layout for non-ENU installs 2019-06-21 09:56:03 -07:00
dotnet-maestro[bot] edf8bbe65d
[master] Update dependencies from aspnet/AspNetCore-Tooling aspnet/Blazor (#11307)
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190617.1

- Microsoft.NET.Sdk.Razor - 3.0.0-preview7.19317.1
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview7.19317.1
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview7.19317.1
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview7.19317.1

* Update dependencies from https://github.com/aspnet/Blazor build 20190617.1

- Microsoft.AspNetCore.Blazor.Mono - 0.10.0-preview7.19317.1

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190619.3

- Microsoft.NET.Sdk.Razor - 3.0.0-preview7.19319.3
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview7.19319.3
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview7.19319.3
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview7.19319.3

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190620.1

- Microsoft.NET.Sdk.Razor - 3.0.0-preview7.19320.1
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview7.19320.1
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview7.19320.1
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview7.19320.1

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190620.3

- Microsoft.NET.Sdk.Razor - 3.0.0-preview7.19320.3
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview7.19320.3
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview7.19320.3
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview7.19320.3
2019-06-21 14:44:32 +00:00
John Luo 7f3e2acdac
Use Enterprise Queue to reduce provisioning issues (#11434) 2019-06-20 22:50:25 -07:00
Chris Ross f6c3f9e02a
Avoid calling AuthenticateAsync for IIS out-of-proc #7750 (#11390) 2019-06-20 21:53:09 -07:00
Doug Bunting 5ce20ebdde Do not exit cleanly after failed `msbuild` in `build.ps1`'s `finally` block
- part of aspnet/AspNetCore-Internal#2665
- should surface errors we're currently hiding

Also increase PowerShell logging to help debug build and test hangs

nit: Run `finally` block after catching an exception
2019-06-20 21:49:19 -07:00
Chris Ross 495f52920c
Remove redundant call to UseAuthentication (#11426) 2019-06-20 19:02:07 -07:00
Stephen Halter 0d92fee9d0
Work around potential race in PipeWriter (IIS Edition) (#11165) 2019-06-20 17:38:19 -07:00
Mikael Mengistu e95c3a08eb
Kestrel Override Client Cert Validation (#11423) 2019-06-20 17:37:42 -07:00
David Fowler 25d568885b
Remove connection adapters and move things to middleware (#11412)
* Remove connection adapters and move things to middleware
- Remove connection adapters from the public API surface (pubternal) and replace the existing adapters with connection middleware.
- Updated the tests
2019-06-21 00:26:09 +02:00
Andrew Stanton-Nurse c5d62b4a29
Quarantine some tests (#11420) 2019-06-20 15:20:34 -07:00
Ajay Bhargav Baaskaran 21fdbcd562
Allow @bind-value to be specified on its own (#11401) 2019-06-20 14:36:53 -07:00
Brennan e8181ae479
Pass options to HubConnectionContext (#11382) 2019-06-20 13:18:12 -07:00
Mikael Mengistu c987ce5b3c
Add Invoke API with with no completion result (#11399) 2019-06-20 12:54:22 -07:00
Steve Sanderson 56ffc6b582
On RenderTreeBuilder, add SetUpdatesAttributeName (#11375) 2019-06-20 09:52:12 +02:00
John Luo 0058a58372
Fix Template test runs on macOS and Linux (#11407) 2019-06-19 23:03:39 -07:00
Justin Kotalik 689b052509
Convert TLS connection adapter to connection middleware (#11109) 2019-06-19 20:02:44 -07:00
Justin Kotalik 0b5d4baa07
Remove copy race for IIS projects (#11394) 2019-06-19 19:58:47 -07:00
Justin Kotalik 50790068a8
Add file manifest for runtime and targeting pack (#11235) 2019-06-19 19:53:30 -07:00
Mikael Mengistu a9a9298d4f
Make SSEMessageFormatter internal and use new InternalsVisibleTo pattern (#11356) 2019-06-19 18:47:50 -07:00
Ryan Brandenburg f6f1923e2b Cleanup 2019-06-19 16:10:54 -07:00
Ryan Brandenburg 8f99ca3fad Restructure tests 2019-06-19 16:10:54 -07:00
Ryan Brandenburg aeaa0376d1 Update refs 2019-06-19 16:10:54 -07:00
Ryan Brandenburg c7b401ffd7 Test fixes and feedback 2019-06-19 16:10:54 -07:00
Ryan Brandenburg e69cca6461 PR feedback 2019-06-19 16:10:54 -07:00
Ryan Brandenburg 6e2a617ed8 Update ref package 2019-06-19 16:10:54 -07:00
Ryan Brandenburg 6bd4b87d2c Additional tests 2019-06-19 16:10:54 -07:00
Pranav K f575677c95 Exception handling with SystemTextJsonInputFormatter 2019-06-19 16:10:54 -07:00