Commit Graph

260 Commits

Author SHA1 Message Date
Steve Sanderson 78a19c07e9 In RazorCompiler, allow HTML comments 2018-02-21 10:22:03 +00:00
Steve Sanderson fd5875c5e7 Replace "About" with "Counter". Move navigation links into NavMenu. Doesn't highlight active page yet though. 2018-02-21 10:22:03 +00:00
Steve Sanderson 7370d748c6 Initial, minimal BrowserRouter implementation. No config besides subclassing yet. 2018-02-21 10:22:03 +00:00
Steve Sanderson 0b5294a8f5 Enable SPA fallback routing on server 2018-02-21 10:22:03 +00:00
Steve Sanderson 58af3e1638 Allow blazor-boot script to be served from apps not hosted at domain root 2018-02-21 10:22:03 +00:00
Steve Sanderson 796d915526 Make spelling one step closer to correctness 2018-02-20 09:47:19 +00:00
Eugene Bekker ea2019ac39 Update a reference to the new API style 2018-02-20 09:40:09 +00:00
Eugene Bekker 79a4016b13 Refactoring middleware configuration API 2018-02-20 09:40:09 +00:00
Steve Sanderson a4c74234b4 Introduce deliberate misspelling 2018-02-19 15:14:08 +00:00
Steve Sanderson 608da4c78b Specifying entrypoint: Add tests and other stylistic tweaks 2018-02-19 14:22:03 +00:00
Eugene Bekker 1653e56b98 Adding ability to qualify the entry point of the main assembly 2018-02-19 14:11:25 +00:00
Steve Sanderson 1e0836167d Make temporary "layout" and "implements" syntax work with _ViewImports hierarchies 2018-02-19 12:48:08 +00:00
Steve Sanderson f649de2976 Support _ViewImports.cshtml files hierarchically 2018-02-18 23:57:20 +00:00
Steve Sanderson be1400663b Unit test to show the Razor compiler passes through any C# compilation errors 2018-02-18 23:54:12 +00:00
Steve Sanderson 782ca0137d Support "@inherits ..." directive 2018-02-18 22:03:15 +00:00
Martyn Jones a639cab50f Fixing build instructions in readme 2018-02-17 20:44:53 -08:00
Steve Sanderson 7df9e0420d Update README.md 2018-02-16 17:59:34 +00:00
Steve Sanderson 6e7c4ec6c0 Tests for LayoutDisplay component 2018-02-16 17:23:12 +00:00
Steve Sanderson df825de86d Reorganise some test helpers in shared locations 2018-02-16 17:23:04 +00:00
Steve Sanderson 96c6d959c0 Add simple NavMenu to StandaloneApp 2018-02-16 16:04:49 +00:00
Steve Sanderson 11bb8eaa6d Add bootstrap resources to StandaloneApp sample 2018-02-16 15:58:22 +00:00
Steve Sanderson f6d6714251 Serve static content from wwwroot 2018-02-16 15:56:22 +00:00
Steve Sanderson 69498f68f9 Add LayoutDisplay component and use it in StandaloneApp 2018-02-16 15:04:57 +00:00
Steve Sanderson f54df27c21 Define ILayoutComponent so there's compile-time validation that layouts are defined correctly 2018-02-16 15:04:51 +00:00
Steve Sanderson 7139cb70c5 Support temporary @(Implements<MyInterfaceType>()) syntax 2018-02-16 12:39:38 +00:00
Steve Sanderson a6cd139f9c Make AppVeyor fetch all commits to avoid "reference is not a tree" errors in CI 2018-02-16 12:38:43 +00:00
Steve Sanderson 9e333e31c5 Support temporary @(Layout<MyLayoutType>()) syntax 2018-02-16 12:10:44 +00:00
Steve Sanderson f91d1d4803 Better handling of render-after-disposed scenarios 2018-02-16 12:10:44 +00:00
Steve Sanderson 0595251ac2 E2E test showing rendering of RenderFragment 2018-02-16 10:10:14 +00:00
Steve Sanderson 7ad88a9406 Fix ArrayBuilder capacity expansion bug 2018-02-16 10:10:13 +00:00
Steve Sanderson ad2c63ca37 Make OpenRegion/CloseRegion not public because they are only to support AddContent(seq, fragment) 2018-02-16 10:10:12 +00:00
Steve Sanderson 41aae0b7e6 Add ability to append RenderFragment into a RenderTreeBuilder 2018-02-16 10:10:11 +00:00
Steve Sanderson 29a6175ac1 Define RenderFragment concept 2018-02-16 10:10:10 +00:00
Steve Sanderson 1ac5ee25c1 Rename RenderTreeBuilder's AddText to AddContent, since it will be used for other types too 2018-02-16 10:10:08 +00:00
Steve Sanderson acc5b9461b Add ability to add component frame using runtime type object instead of generic param 2018-02-16 10:10:07 +00:00
Steve Sanderson 535b601d55 Multitargeted generate AngleSharp twice, so minimise the chance of either seeing the other in an incomplete state during build 2018-02-15 17:26:07 +00:00
Steve Sanderson b529f2b913 Avoid confusion with client apps not rebuilding after changing Blazor library code 2018-02-15 16:45:30 +00:00
Steve Sanderson af0085f550 Add *.cshtml for UpToDateCheckInput for VS 2018-02-15 16:14:48 +00:00
Steve Sanderson dcbd7a27eb Workaround file locked issue during build 2018-02-15 15:59:00 +00:00
Steve Sanderson 2ebfddc237 Switch client apps to netstandard2.0 to fix type load errors
Do a "git clean -xdf" on your local copy if you get runtime errors after
updating to this.
2018-02-15 10:20:31 +00:00
Steve Sanderson e046dfca6d Build net461 Razor extensions target on Windows only 2018-02-15 10:20:51 +00:00
Steve Sanderson 2da17602ed Support "Region" frames in JS-side code
They only appear in a prepended subtree, because the .NET-side diffing
code resolves them out if they are top-level to any given edit
2018-02-14 23:41:25 +00:00
Steve Sanderson 848f24536a Support "Region" frames in diffing 2018-02-14 23:41:24 +00:00
Steve Sanderson a9822216f1 Add the concept of a "Region" render tree frame 2018-02-14 23:41:24 +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 86500ce761 Fix MonoSanityTest instability 2018-02-14 18:23:08 +00:00
Steve Sanderson b7bbacf4ed Skip MonoSanityTest due to instability since Chrome update 2018-02-14 16:27:24 +00:00
Steve Sanderson 5f41779b3e Fix use of Chrome Headless on Travis macOS builds 2018-02-14 16:27:24 +00:00
Steve Sanderson 94261ded25 Fix RazorCompilerTest on Mac/Linux 2018-02-14 13:08:39 +00:00
Steve Sanderson 83b90d1980 Update AppVeyor/Travis configs to run on .NET Core, enable selenium
tests, etc.
2018-02-14 13:08:39 +00:00