Commit Graph

64 Commits

Author SHA1 Message Date
Steve Sanderson 3e30655ea4 Low-level NavLink implementation 2018-02-22 15:03:49 +00:00
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 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 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 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 86500ce761 Fix MonoSanityTest instability 2018-02-14 18:23:08 +00:00
Steve Sanderson b834f3b35b Use Razor component in HostedInAspNet.Client 2018-02-13 19:58:39 +00:00
Steve Sanderson 0eb0555303 Eliminate IComponent.BuildRenderTree to guarantee that components are only rendered by themselves 2018-02-13 19:47:37 +00:00
Steve Sanderson 861154764c Introduce IComponent.SetParameters, moving parameter-setting and rerendering logic into component base class 2018-02-13 15:00:53 +00:00
Steve Sanderson 695ddc0fd6 Add Init/RenderHandle concepts so components can rerender themselves arbitrarily (e.g., after internal state change) 2018-02-13 11:49:33 +00:00
Eugene Bekker b38718d77f Require <script type="blazor-boot"> to define script injection location 2018-02-12 21:49:27 +00:00
Dmitry Dizhevskiy d6d7a5b1c5 replaced backslashes with common slashes 2018-02-10 20:15:51 +00:00
Steve Sanderson e37e22aa27 Further renderer refactoring 2018-02-10 10:55:44 +00:00
Steve Sanderson 0aa164073d Rename Microsoft.Blazor.* -> Microsoft.AspNetCore.Blazor.* everywhere 2018-01-24 15:48:38 -08:00
Steve Sanderson a0b354e0eb Add concept of 'sequence' to RenderTreeNode. This is in preparation for diffing. 2018-01-21 11:51:26 +00:00
Steve Sanderson a64ece0319 In RazorCompiler, support HTML elements 2018-01-16 11:36:55 +00:00
Steve Sanderson 604aa14518 Use Razor component in StandaloneApp sample 2018-01-15 23:11:54 +00:00
Steve Sanderson 3ccdc1d16f Begin integrating with real Razor compiler 2018-01-14 16:37:01 +00:00
Steve Sanderson 42a79ba8e6 Fix tests affected by recent refactoring 2018-01-12 13:07:16 +00:00
Steve Sanderson 3f522ab216 Begin ability to have .cshtml files in Blazor apps 2018-01-11 11:11:47 +00:00
Steve Sanderson 04f9c476a8 Update StandaloneApp to render a component. Remove some redundant code. 2018-01-09 13:45:15 +00:00
Steve Sanderson 6585667ce6 Refactor most of the rendering logic into Microsoft.Blazor, keeping only browser-specific parts in Microsoft.Blazor.Browser 2018-01-09 13:33:49 +00:00
Steve Sanderson 674024ed61 Rename UITree -> RenderTree, UIEventInfo -> UIEventArgs 2018-01-09 09:55:14 +00:00
Steve Sanderson f0a78d13bf Begin tracking association between components and DOM elements so that components can be refresh their own display 2018-01-05 14:31:06 +00:00
Steve Sanderson 5453b58f31 Initial basic component rendering. Does not yet do any tree diffing. APIs will change. 2018-01-04 14:11:37 +00:00
Steve Sanderson 29e0d4629b Add note about TFM for client apps 2018-01-03 15:40:35 +00:00
Steve Sanderson 04064f983c Add test to more explicitly cover both 'params array' and 'generics'-style interop APIs 2017-12-15 19:41:20 +00:00
Steve Sanderson 09eccb52c5 Remove old marshalled-interop API and update MonoSanity sample to use newer API 2017-12-15 19:16:15 +00:00
Steve Sanderson fe6105a902 Support JS invocations that return undefined 2017-12-15 11:40:43 +00:00
Steve Sanderson d1069e2d1e Begin on Microsoft.Blazor.Browser project 2017-12-15 11:31:05 +00:00
Steve Sanderson 6eede7b109 Low-level MonoSanity tests for invoking JS from .NET code 2017-12-15 10:57:44 +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 7390af1681 Make the BuildTools project consumable either as a NuGet package or locally by importing a .proj 2017-12-13 11:10:41 +00:00
Steve Sanderson c5a104c56d Remove redundant 'using' 2017-12-12 19:54:27 +00:00
Steve Sanderson 91e1cd1030 Use (project).blazor.config to allow calling UseBlazor with just an assembly name. Allows ReferenceOutputAssembly=false. 2017-12-12 19:48:15 +00:00
Steve Sanderson d0096ec78e On build, emit <clientproject>.blazor.config to the output dir - transitively into host projects too 2017-12-12 17:18:35 +00:00
Steve Sanderson c4fea86603 Inject blazor.js script tag (with all references) automatically 2017-12-12 00:36:09 +00:00
Steve Sanderson aff369e86d Improve assembly resolution. Standalone hosting now works again. 2017-12-11 21:06:37 +00:00
Steve Sanderson 9ec79ae9f7 Start making standalone hosting work again by automatically locating the client app assembly 2017-12-11 19:45:02 +00:00
Steve Sanderson 9117263114 Load .NET assemblies from the ReferencedAssemblyFileProvider only 2017-12-11 19:18:19 +00:00
Steve Sanderson 3b01daf15a Begin on serving .NET assemblies from ReferencedAssemblyFileProvider 2017-12-11 17:32:30 +00:00
Steve Sanderson 4b247e8050 Make ReferencedAssemblyFileProviderTest more useful 2017-12-11 16:11:13 +00:00
Steve Sanderson c439787ab5 Begin implementing ReferencedAssemblyFileProvider 2017-12-09 00:53:44 +00:00
Steve Sanderson 4618edead4 Rename BlazorStandalone sample to StandaloneApp for consistency 2017-12-08 17:36:29 +00:00