Commit Graph

37403 Commits

Author SHA1 Message Date
Steve Sanderson eb0a0a8154 Due to #267, revert "In templates, specify blazor-dev feed in csproj instead of NuGet.config. Fixes #255"
This reverts commit d75e518ed0b9c22f80955261e98ad368d8e5ac65.
2018-03-15 13:04:33 +00:00
Steve Sanderson 2176aa8c87 Stop IL linker from stripping System.Threading.WasmRuntime. Fixes #239 2018-03-15 09:26:53 +00:00
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
Steve Sanderson fa54b0ab6e Update templates to Blazor 0.1.0-preview1-10092 2018-03-14 14:32:41 +00:00
Steve Sanderson 75958845d2 Temporary workaround for #261. Still need a proper fix. 2018-03-14 13:36:32 +00:00
Steve Sanderson 1d4ed4c0d6 In templates, specify blazor-dev feed in csproj instead of NuGet.config. Fixes #255 2018-03-14 12:13:16 +00:00
Steve Sanderson 5fce1edc99 Update templates to Blazor 0.1.0-preview1-10090 2018-03-14 12:09:54 +00:00
Steve Sanderson 8990ba9f7c Remove redundant file now we moved to Korebuild 2018-03-14 12:00:54 +00:00
Steve Sanderson f7830e7b77 Publishing support 2018-03-14 11:23:43 +00:00
Javier Calvarro Nelson 04df5491c2 [Fixes #254] Microsoft.AspNetCore.Blazor.Build fails to build when referenced as a package. 2018-03-14 11:23:43 +00:00
Javier Calvarro Nelson 07d00442b1 Fix incremental builds 2018-03-14 11:23:43 +00:00
Steve Sanderson 0e9d52fe11 Support components and static content in external NuGet packages (#247)
* On build, drop <BlazorPackageContentFiles> items into dist\_content\(PackageName)\

* Add <script> and <link> tags to generated index.html

* Add testapp coverage of external content package. Still need to add E2E tests that uses it.

* Add missing unit test update

* Add example of packaging an entire Blazor component including CSS and images

* Add E2E test for component from NuGet package
2018-03-14 11:23:43 +00:00
Ryan Nowak 9549dccc54 Add @page directive
Adds the @page directive and support for specifying routes in components
at compile time.

For now the route is required and must begin with a leading /.
2018-03-14 11:23:43 +00:00
Javier Calvarro Nelson 700c2203c6 [Fixes #66] Adds linking support to the build
* Switch the tasks used to generate the blazor output to be MSBuild based.
* Package the optimized mono runtime and the BCL inside a nuget package.
* Add opt-in support for linking the application on build.
* Make the whole build process incremental.
2018-03-14 11:23:43 +00:00
Javier Calvarro Nelson f56fc1be3d Add feature/0.1.0 to the list of branches 2018-03-14 11:23:42 +00:00
Ryan Nowak ffadeecb45 Remove old <c:Foo> syntax 2018-03-14 11:23:42 +00:00
Ryan Nowak d175b4d38a Konvert to KoreBuild 2018-03-14 11:23:42 +00:00
Ryan Nowak 49c0596405 Use real component syntax for NavLink/NavMenu 2018-03-14 11:23:42 +00:00
Ryan Nowak 0c162e8c5a Allow non-property attributes to be set
This removes a limitation that prevented callers from passing
attributes to a component that aren't backed by properties.

The majority of the complication here is required to deal with the more
sophisticated way that HTML attributes are represented in the Razor IR.
2018-03-14 11:23:42 +00:00
Ryan Nowak c05657c7f2 Add support general delegate types
This builds upon existing support for UIEventHandler-typed component
properties and applies the same principle to any delegate type.

We try to help by generating the LSH of the lambda `=>` allowing you to
write `OnClick="Foo()"` rather than `OnClick="(e) => Foo()"`. You can of
course use @ as an escape.

The only rough edge here is that if the parameter names aren't memorable
for the delgate type, it's not super helpful.
2018-03-14 11:23:42 +00:00
Steve Sanderson d1cfe0191a Update templates to Blazor 0.1.0-preview1-10071 again, now the CI builds
are running again
2018-03-14 11:23:42 +00:00
Steve Sanderson 9027f82928 Revert "Update templates to Blazor 0.1.0-preview1-10071"
This reverts commit b448a5d096a27de5c8e700e43a264673de16b632.

This is because CI is currently unable to complete the signing process
so we can't upload that particular build.
2018-03-14 11:23:42 +00:00
Steve Sanderson 13719a60ea Update templates to Blazor 0.1.0-preview1-10071 2018-03-14 11:23:41 +00:00