Commit Graph

27546 Commits

Author SHA1 Message Date
Pranav K 5f69a01cc5
RazorSdk - Attribute code generation fixes
* Allow the type name for ProvideApplicationPartFactoryAttribute to be specified.

* Generate ReleatedAssemblyAttribute in class library projects
2018-03-14 23:09:28 -07:00
David Fowler d27844dfef
ConnectionMetadata is now ConnectionItems (#1604)
* ConnectionMetadata is now ConnectionItems
2018-03-14 20:57:40 -07:00
David Fowler d31512528d
Items is now a first class property on ConnectionContext (#2395)
* Metadata is now a first class property on ConnectionContext
- Make IConnectionMetadata a manatory top level feature on ConnectionContext
- TransportConnection will lazily manifest ConnectionMetadata on first access.
This should avoid allocations since Kestrel isn't using this today.
2018-03-14 20:56:30 -07:00
Mike Harder a041b368bb
Add missing TestAssets projects to Hosting.sln (#1352)
* Reaction to #1333
2018-03-14 18:31:10 -07:00
Andrew Stanton-Nurse 2b68db873a
add AddRedis overload that takes connection string (#1588) 2018-03-14 16:24:28 -07:00
Nate McMaster 416fe6abfe
Add Alpine Linux download links to the README and remove conditionals to exclude building alpine (#960) 2018-03-14 16:15:08 -07:00
Andrew Stanton-Nurse c5d38ae32a
Run browser functional tests in CI builds (#1487) 2018-03-14 15:59:56 -07:00
Ajay Bhargav Baaskaran 90b07a9e9a Enable RazorCompileOnBuild of test website 2018-03-14 15:37:49 -07:00
David Fowler 6a8ede0770
Further making Microsoft.AspNetCore.Sockets "not a thing" (#1599)
- This PR attempts to move things where they are needed instead of where they
happened to be used. As a result we should now have Sockets.Abstractions and
Sockets down to the minimal set of things required to make them run.
Sockets.Abstractions should go away in favor of Protocol.Abstractions and
Sockets contains the EndPoint abstraction and related types.
- Moved ConnectionManager and friends to
Sockets.Http.
-Removed Sockets and moved everything into Sockets.Abstractions.
- Moved DefaultConnection and put it in Sockets.Abstractions.
2018-03-14 15:37:24 -07:00
ASP.NET CI c21090da28 Updating submodule(s)
EntityFrameworkCore => 3a66b2f054cc91a310df5d644a91479475792044
Razor => f9ad346be8

[auto-updated: submodules]
2018-03-14 15:23:42 -07:00
ASP.NET CI 1b83d10984 Updating submodule(s)
IISIntegration => 9d064b24c7

[auto-updated: submodules]
2018-03-14 14:46:22 -07:00
N. Taylor Mullen f9ad346be8 Fix RazorDirectiveCompletionProvider MEF dependency. 2018-03-14 14:41:22 -07:00
pan-wang 9d064b24c7
enable debug print in aspnetcore.dll (#663) 2018-03-14 14:29:25 -07:00
ASP.NET CI 734b3cefe8 Updating submodule(s)
EntityFrameworkCore => 91eeff8c42d745016676b6f4454d7986da163516
SignalR => bc6ed02b6e

[auto-updated: submodules]
2018-03-14 14:00:47 -07:00
Andrew Stanton-Nurse bc6ed02b6e
fix the umd build of msgpack (#1600) 2018-03-14 13:40:27 -07:00
ASP.NET CI 1b1593b647 Updating submodule(s)
IISIntegration => 174a52e5cd
KestrelHttpServer => 9901f0f3e4

[auto-updated: submodules]
2018-03-14 13:26:29 -07:00
Pavel Krymets 174a52e5cd
Add support for unit testing from console (#665) 2018-03-14 13:19:41 -07:00
Stephen Halter 2d97118821
Remove Kestrel.Transport.Libuv from app metapackage (#959) 2018-03-14 13:16:52 -07:00
ASP.NET CI f235ad52ba Updating submodule(s)
EntityFrameworkCore => 5b6e178155bc6d93dc1625494beba6ba57620493

[auto-updated: submodules]
2018-03-14 11:53:18 -07:00
Stephen Halter 9901f0f3e4
Default to the managed socket transport (#2392) 2018-03-14 11:50:10 -07:00
ASP.NET CI 61827a54a3 Updating submodule(s)
DependencyInjection => 5656e84f56994e1be079889596a30f22b1db8d19

[auto-updated: submodules]
2018-03-14 10:48:01 -07:00
ASP.NET CI 5538050174 Updating submodule(s)
SignalR => a3886057d5
WebSockets => 6de76c5e69

[auto-updated: submodules]
2018-03-14 09:39:33 -07:00
BrennanConroy a3886057d5
Add benchmark application to our repo (#1579) 2018-03-14 09:28:50 -07:00
Pavel Krymets c5efbc0b15
Update BenchmarkDotNet (#958) 2018-03-14 08:55:51 -07:00
David Fowler 6de76c5e69
Respect the buffer size arguments on options (#230)
* Respect the buffer size arguments on options
- Allocate a buffer for receives and pass into CreateFromStream.
2018-03-14 08:48:45 -07:00
ASP.NET CI d43308d17a Updating submodule(s)
KestrelHttpServer => 04eef791bc
SignalR => dc0567690d

[auto-updated: submodules]
2018-03-14 08:21:56 -07:00
David Fowler dc0567690d
Use features from Protocol.Abstractions (#1594)
- This is part of the grand unification of the connection layer between SignalR and Kestrel
2018-03-14 08:17:07 -07:00
David Fowler 04eef791bc
Added transfer format to Protocol.Abstractions (#2391) 2018-03-14 08:16:38 -07:00
ASP.NET CI 8097bd9d5d Updating submodule(s)
Common => ebeae24f65395151c50431a17df54a4b2e4f296c

[auto-updated: submodules]
2018-03-14 00:54:36 -07:00
ASP.NET CI 816d50d7d0 Updating submodule(s)
KestrelHttpServer => e65e58daf3

[auto-updated: submodules]
2018-03-14 06:09:49 +00:00
Ben Adams e65e58daf3 Reduce Sockets mainloop Send/Receive statemachine size (#2376)
* Use Completion to Advance in Error

* Drop ReadResult from statemachine
2018-03-13 23:04:12 -07:00
ASP.NET CI 8cb6c762dc Updating submodule(s)
KestrelHttpServer => 572627e88c

[auto-updated: submodules]
2018-03-13 19:42:30 -07:00
David Fowler 572627e88c
Handle posting to the libuv thread after StopAsync (#2388)
- Check if the post handle is disposed and noop if it is.
We also catch an ObjectDisposedException because it's an inherent race condition.
2018-03-13 19:37:39 -07:00
ASP.NET CI 1eeb0eec37 Updating submodule(s)
KestrelHttpServer => f6108928d8
SignalR => 4fe4757b4a

[auto-updated: submodules]
2018-03-13 19:04:03 -07:00
Andrew Stanton-Nurse 4fe4757b4a
fix package-lock.json files (#1592) 2018-03-13 18:55:56 -07:00
Nate McMaster 027a6588f9
Backport scripts from dev used to generate tags on repos 2018-03-13 18:09:00 -07:00
Ben Adams f6108928d8 Pass ReadOnlySequence via in (#2389)
* Pass ReadOnlySequence via in
2018-03-13 17:54:01 -07:00
ASP.NET CI 7141c00e62 Updating submodule(s)
KestrelHttpServer => bfdb48717f
Razor => a6d03bd407

[auto-updated: submodules]
2018-03-14 00:51:46 +00:00
Nate McMaster bd5888c866
Merge branch 'dev' of https://github.com/aspnet/Universe into dev 2018-03-13 17:13:14 -07:00
Nate McMaster 27440da725
Add additional restore sources to PackageArchive.targets 2018-03-13 17:13:09 -07:00
N. Taylor Mullen a6d03bd407 Workaround MonoDevelop.Core.FilePath tests failing to run due to strong name issues. 2018-03-13 16:56:23 -07:00
ASP.NET CI 58310d420f Updating submodule(s)
EntityFrameworkCore => 4094e0751529ae08d055676fc81421fe3a221942
IISIntegration => 810c4bcb0a
Microsoft.Data.Sqlite => 491ac0a80c9c391b2ae56e720908fa8abcd8ee38
Razor => 1d602d1205

[auto-updated: submodules]
2018-03-13 23:38:46 +00:00
Chris Ross (ASP.NET) bfdb48717f Host header format validation 2018-03-13 16:37:03 -07:00
Nate McMaster a16c3614d4
Update submodule urls 2018-03-13 16:35:46 -07:00
Justin Kotalik 810c4bcb0a
Fix two AVs with InProcess (#656) 2018-03-13 16:07:55 -07:00
pan-wang d246c6f201
add port info to event log (#660) 2018-03-13 16:06:01 -07:00
pan-wang 7a511d6a94
websocket handler changes (#661)
add debug logging and reset connection in case of failure
2018-03-13 16:05:32 -07:00
N. Taylor Mullen 1d602d1205 Add host project system for VS4Mac.
- Tied into VS4Macs ProjectExtensions in order to bootstrap our Razor world.
- We currently watch all DotNet projects with the expectation that they're the only ones that can potentially turn into Razor compatible projects.
- Added a fallback Razor project host which is used for pre-Razor SDK Razor versions (< 2.1).
- Added a default Razor project host which consumes all MSBuild data from the users packages and sets up the Razor world accordingly.
- Had to modify some existing contracts to work better with new expectations. one of these was the VS4Mac specific Workspace accessor; essentially we needed to be able to lookup a workspace from a solution.
- Some of our previous expectations about addins were wrong (not being able to directly reference your libraries). To avoid using reflection to bootstrap our types I tried out directly referencing our libraries and all worked fine.
- Refactored the DefaultRazorProjectHost in windows (since we had to in Mac) for testing purposes.

#2081
2018-03-13 15:31:45 -07:00
ASP.NET CI ce22816f66 Updating submodule(s)
EntityFrameworkCore => 248ec658de7640ed47e6a34380e487e57c036a72
KestrelHttpServer => bcea8330c4
Razor => 492e958114
SignalR => 62956530ae

[auto-updated: submodules]
2018-03-13 22:24:24 +00:00
N. Taylor Mullen 492e958114 Change HostProjectBuildComplete to persist workspace projects.
- This was missed in the VS15.7 movement to dev.
2018-03-13 15:11:21 -07:00