Commit Graph

40 Commits

Author SHA1 Message Date
Steve Sanderson 4eb78b3a8f Add global.json files to templates. Implements #300. 2018-03-20 19:45:43 +00:00
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 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 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
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
Ryan Nowak d175b4d38a Konvert to KoreBuild 2018-03-14 11:23:42 +00:00
Ryan Nowak daf6a404f9 Implement basic Component discovery
This is the basics of component discovery along with some tests.

The next set of changes will integrate it into the compilation process.
2018-03-14 11:23:40 +00:00
Steve Sanderson f3b10bfa4c Template updates (#185)
* Remove unnecessary <OutputType>Exe</OutputType> from templates

* Rename BlazorHosted.* projects to BlazorHosted.CSharp.(Client|Server)

* Add empty BlazorHosted.CSharp.Shared, referenced from the two other BlazorHosted.CSharp.* projects

* Have BlazorHosted.CSharp.Client fetch data from BlazorHosted.CSharp.Server

* Update templates to Blazor 0.0.5-preview1-10037

* Make date handling consistent across the templates

* Enable response compression in "hosted" template

* Enable response compression in dev server

* Simplify template app code using new namespace arrangement

* Fix project name in hosted template
2018-02-28 12:02:35 +00:00
Steve Sanderson 89ebeda38c Add multi-project template "BlazorHosted" 2018-02-27 21:40:24 +00:00
Steve Sanderson 39153955d6 Add "dotnet new" template BlazorStandalone.CSharp 2018-02-27 21:40:24 +00:00
Steve Sanderson 3e5381c17e Rename .DevHost project to .Cli, and make it work as a DotNetCliTool 2018-02-27 12:17:35 +00:00
Steve Sanderson ea6b6bcd19 Add an example API server project that can be used in E2E tests 2018-02-23 13:07:49 +00:00
Steve Sanderson 7073429cd5 Clean up and include routing unit tests 2018-02-21 10:22:03 +00:00
Ryan Nowak 043e623d5b Split Razor extensibility into its own assembly
This functionality will need to cross-compile to desktop framework
(net461) so that we can use it in VS. VS doesn't yet have netstandard2.0
support.
2018-02-14 14:08:14 -08:00
Steve Sanderson 0aa164073d Rename Microsoft.Blazor.* -> Microsoft.AspNetCore.Blazor.* everywhere 2018-01-24 15:48:38 -08:00
Steve Sanderson 75b083911c Add AngleSharp with temporary InternalsVisibleTo 2018-01-16 11:11:49 +00:00
Steve Sanderson ce04fde7bd Begin adding BasicTestApp for more E2E tests 2018-01-04 15:37:32 +00:00
Steve Sanderson 5e25ab16a2 Add unit tests for UITreeBuilder 2018-01-04 15:25:14 +00:00
Steve Sanderson d1069e2d1e Begin on Microsoft.Blazor.Browser project 2017-12-15 11:31:05 +00:00
Steve Sanderson 809528676b Rename Microsoft.Blazor.Browser project to Microsoft.Blazor.Browser.JS 2017-12-15 11:24:03 +00:00
Steve Sanderson a4b85ddf53 Split BuildTools into "Build" (for end-user app builds) and "BuildTools" (for building this repo only) 2017-12-14 15:32:28 +00:00
Steve Sanderson aa63da5151 Write out all client app files to disk at build time instead of serving dynamically at runtime 2017-12-14 11:59:55 +00:00
Steve Sanderson affc66c24e Move Server.Test project to correct location on disk 2017-12-13 11:15:31 +00:00
Steve Sanderson 0ed4a4eba5 Implement directory-capable InMemoryFileProvider 2017-12-11 14:01:34 +00:00
Steve Sanderson c439787ab5 Begin implementing ReferencedAssemblyFileProvider 2017-12-09 00:53:44 +00:00
Steve Sanderson 1cb0df2e74 Solution layout tweak 2017-12-08 17:38:20 +00:00
Steve Sanderson 4618edead4 Rename BlazorStandalone sample to StandaloneApp for consistency 2017-12-08 17:36:29 +00:00
Steve Sanderson 4138b3a049 Make Blazor apps actually start up Mono and execute the specified .NET entrypoint 2017-12-08 17:06:40 +00:00
Steve Sanderson 4d764d78df Beginning UseBlazorDevelopmentServer middleware and HostedInAspNet sample 2017-12-08 14:42:59 +00:00
Steve Sanderson da4df729ee Verify that the local Node.js version is 8.3.0+ (for NPM 5) before using it to build the static resources
Verify that the local Node.js version is 9.2.0+ before using it to build
the static resources
2017-12-08 13:09:18 +00:00
Steve Sanderson 82b2128bd9 Remove HelloWorld static site (it's now superseded by more relevant E2E samples) 2017-12-07 12:08:11 +00:00
Steve Sanderson a63b695db8 Begin on DevHost and sample of standalone app 2017-12-06 23:17:23 +00:00
Steve Sanderson 3688d12ab7 Begin on Microsoft.Blazor.Browser (TS portion of runtime) 2017-12-06 22:38:26 +00:00
Steve Sanderson 3ca7aa853e Rename "runtime" -> "src" because it is all the source 2017-12-06 21:48:48 +00:00
Steve Sanderson 32dae87b00 Make MonoSanity sample actually run some .NET code via Mono 2017-12-06 14:29:29 +00:00
Steve Sanderson c841016783 Move and rename E2E test project for consistency 2017-12-06 12:26:20 +00:00
Steve Sanderson 47c8af1c54 Add ability to serve Mono static files 2017-12-06 12:13:22 +00:00
Steve Sanderson 29a8a21ed3 Add E2E test support for starting ASP.NET sites 2017-12-05 23:49:24 +00:00
Steve Sanderson 358b4698e9 Add build target for Mono 2017-12-05 17:27:38 +00:00
Steve Sanderson b2937984a0 Simple E2E test for static site 2017-12-05 16:38:47 +00:00