Commit Graph

15565 Commits

Author SHA1 Message Date
David Fowler dc9ed60465 Create the connection logging scope in ConnectionHandler (#2013)
- Instead of doing it on the FrameConnection only. This will
make sure all middleware logs get the connection id as part of their scope.
2017-08-22 14:32:58 -07:00
Nate McMaster f4ee5bcf04 Upgrade to xunit 2.3.0-beta4 2017-08-22 10:51:17 -07:00
Steve Sanderson d6ae8829b6 In HMR, don't rely on default JsonSerializer settings. Fixes #688 2017-08-21 17:11:47 -07:00
Ben Adams 11a9b6498d Don't alloc IEnumerable in Reset for ITlsConnectionFeature (#2009)
* Don't alloc IEnumerable for ITlsConnectionFeature
* Delegate to ConnectionFeatures and determine scheme once
2017-08-21 17:01:05 -07:00
Steve Sanderson a94ac6f37e For Redux dev tools, use newer __REDUX_DEVTOOLS_EXTENSION__ API. Fixes #1196 2017-08-21 16:48:30 -07:00
Steve Sanderson a40adab38d In non-ASP.NET apps, default project path to current working directory. Fixes #1100. 2017-08-21 16:40:59 -07:00
Stephan Troyer c2a284d5b8 small Knockout cleanup 2017-08-21 16:17:10 -07:00
frederikprijck fc398d602a Allow lazy loading with AngularSpa in dev build
Previously, the AngularSpa didn't include `angular2-router-loader`.
This commit ensures it does.

Closes #1194
2017-08-21 16:06:18 -07:00
Steve Sanderson 90c59ff4e7 Merge branch 'fix-angular-material-publishing' into dev 2017-08-21 15:53:19 -07:00
Steve Lathrop a7e715c88f Small grammatical fix to README.md 2017-08-21 15:37:58 -07:00
alejandro garcia 6dddc9d01d Removed json loader from react redux template 2017-08-21 15:37:26 -07:00
David Fowler 2e6687031d Added initial connection middleware pipeline (#2003)
* Added initial connection middleware pipeline
- Implemented IConnectionBuilder on ListenOptions. Kept IConnectionAdapter for now.
- Delay the configure callback for ListenOptions until the server has started.
- Added ConnectionLimitMiddleware and HttpConnectionMiddleware
- Expose ConnectionAborted and ConnectionClosed on ConnectionContext and
IConnectionTransportFeature
- Updated the tests
- Removed IConnectionApplicationFeature
- Moved Application to IConnectionTransportFeature
2017-08-21 12:11:27 -07:00
Justin Kotalik 27b0f60f09 ForbidAsync now uses correct Schemes method (#918)
* ForbidAsync now uses correct Schemes method

* comment

* adds tests
2017-08-19 22:09:22 -07:00
Nate McMaster a993c2a5ff Use PackageLineup to manage versions (revert revert)
We resolved the issues with PackageLineup and partial graph builds.
This reverts commit 01bf47170f.
2017-08-18 16:31:06 -07:00
Nate McMaster 425c1b83e6 Support partial-graph builds
This merges pre-existing packages from previous builds of Universe with the list of packages to be produced in the current run.

Pre-existing packages are expected to be in .deps/build/ and are expected to have only one version of a package id in that folder.

This also requires any additional lineups to be in .deps/lineups/ so they can be filtered from the Internal.AspNetCore.Universe.Lineup file
2017-08-18 15:54:32 -07:00
Nate McMaster 708ae1797f Revert "Support partial-graph builds (#545)"
This reverts commit 8f263a2085.
2017-08-18 14:50:22 -07:00
Ben Adams 59b77bb357 Async Main samples (#2004) 2017-08-18 14:46:19 -07:00
Nate McMaster 8f263a2085 Support partial-graph builds (#545)
This merges pre-existing packages from previous builds of Universe with the list of packages to be produced in the current run.

Pre-existing packages are expected to be in .deps/build/ and are expected to have only one version of a package id in that folder.
2017-08-18 14:40:17 -07:00
John Luo 95f37a0edb Install store from artifact dependency
Instead of Build.RS package
2017-08-18 11:12:58 -07:00
Nate McMaster 7f23ff08ce React to changes in BenchmarkDotNet 0.10.9 (#2006)
* fixup! React to changes in BenchmarkDotNet 0.10.9
2017-08-18 10:57:48 -07:00
Nate McMaster 01bf47170f Revert lineups change until we work out issues with PackageLineup
This reverts commit a2c0410e39.
2017-08-18 10:43:19 -07:00
Nate McMaster a4320ccbda Upgrade to xunit 2.3.0-beta4 2017-08-18 09:55:10 -07:00
Justin Kotalik 312e0da556 Fix case sensitivity on Startup classes and methods (#1166) 2017-08-18 09:45:12 -07:00
Justin Kotalik c74d0e7458 Adds .Value to logger calls to avoid calling .ToUriComponents on a bad header. (#1169)
* Add .Value to request properties in HostingRequestStartLog
2017-08-18 09:43:04 -07:00
Nate McMaster 89548bb39a Expand the list of external dependencies to include almost everything
referenced from an ASP.NET Core project
2017-08-17 17:49:35 -07:00
Stephen Halter fd66472b39 Get Kestrel.Performance working again 2017-08-17 17:00:46 -07:00
Stephen Halter 14f122fb9f Measure Writing in FrameWritingBenchmark 2017-08-17 16:59:24 -07:00
Nate McMaster a7f021702f Add more corefx packages to the universe lineup (#543) 2017-08-17 16:17:59 -07:00
Nate McMaster a2c0410e39 Use PackageLineup to manage package versions 2017-08-17 16:16:40 -07:00
Ben Adams 442ee80039 Less awaits for Reponse Write(Async) 2017-08-17 15:51:22 -07:00
Pranav K 128683be0e Pinning versions for 2.0.0 2017-08-17 15:00:10 -07:00
Pranav K 5d6330e6b1 Pinning versions for 2.0.0 2017-08-17 14:59:12 -07:00
Nate McMaster b613f44ccd Add packages to README
[ci skip]
2017-08-17 12:52:03 -07:00
Nate McMaster 87db7cceb6 Stop producing Microsoft.AspNetCore.Server.Kestrel.Tls as a package 2017-08-16 14:56:01 -07:00
Nate McMaster 26f1d4baa3 Use PackageLineup
PackageLineup is a way to manage PackageReference versions across large projects. It removes the version information from the repository and instead pulls the information from an external "lineup" file.
2017-08-16 14:10:43 -07:00
Cesar Blum Silveira 0fafd19ec9 Initial HTTP/2 support.
What works:

- HTTP/2 over TLS1.2 with ALPN
- Request and response flow
  - Headers are compressed and decompressed with HPACK
  - Request body can be read by streams (if present)
  - MVC template app with individual auth works fine
- PRIORITY frames are validated
- RST_STREAM frames are validated and abort streams
- SETTINGS frames are validated and ACKed
- PING frames are validated and ACKed
- GOAWAY frames stop connections
- WINDOW_UPDATE frames are validated
- CONTINUATION frames are sent for large header blocks

What doesn't work yet:

- Flow control in either direction
- It's not possible to encode a single header across more than one frame
  - Affects only a very large header (name and value combined ~16KB long)
- Request trailers
- Response trailers
- Limits and timeouts in `KestrelServerLimits` are not enforced on HTTP/2
- HPACK use is very limited on the send side
  - Literals are not Huffman-encoded
  - Common headers (e.g. "server: Kestrel") are never indexed
- Honoring client settings
- Some error checking is still missing (e.g. validating incoming frame size)
2017-08-16 10:04:44 -07:00
Nate McMaster c429467993 Add System.Buffers and System.Numerics.Vectors to the lineup 2017-08-16 10:04:18 -07:00
Nate McMaster c10ac85cf2 Add fixes for problems discovered by xunit.analyzers (#1999)
* Add fixes to tests for problems discovered by xunit.analyzers 0.6.1

* PR feedback. Add comments about why we have a #pragma
2017-08-16 09:37:49 -07:00
Nate McMaster dc66815c35 Add external packages require for aspnet/Common (#541) 2017-08-16 09:15:18 -07:00
David Fowler 5c775073a4 Initial bedrock refactoring (#1995)
- Added Protocols.Abstractions
 - IConnectionHandler.OnConnection takes an IFeatureCollection instead of
 IConnectionInfo
 - Removed IConnectionContext and IConnectionInformation replaced with
 IConnectionTransportFeature
 - Updated FrameConnectionContext and FrameContext to have the relevant
 state instead of flowing the ConnectionInformation.
 - Updated tests
2017-08-16 00:02:48 -07:00
Pranav K f3745608af Switch to v3 NuGet feed 2017-08-15 16:14:19 -07:00
Nate McMaster 221bcda1d9 Upgrade xunit to 2.3.0-beta4 and expand the lineup to include sub-packages in xunit 2017-08-15 10:04:52 -07:00
Pranav K 28a4bb4d5f Clone over https if we cannot determine the repository's clone url 2017-08-11 22:32:23 -07:00
Nate McMaster d3cf0494e7 Upgrade to xunit 2.3.0-beta3 2017-08-11 17:22:40 -07:00
Stephen Halter 02028b65c7 Stop using ConcurrentBag in tests for complex types (#1990)
dotnet/corefx#23068
2017-08-11 16:30:03 -07:00
Pranav K 418f58f31d Clone repositories over https 2017-08-11 16:05:16 -07:00
Nate McMaster 16b430ec9f Update to xunit 2.3.0-beta3-build3705 (#539) 2017-08-11 11:52:18 -07:00
Nate McMaster ddd690200e React to changes in the gatekeeper build 2017-08-11 10:37:41 -07:00
Justin Kotalik 594f55947f Keep ResponseCookie options on delete. (#905) 2017-08-10 18:01:30 -07:00
Nate McMaster f5710de3e5 Produce a lineup package containing all packages produced 2017-08-10 11:41:10 -07:00