Steve Sanderson
9a17a343cc
Ensure Microsoft.AspNetCore.Blazor.Build is packed in a post-publish form so it's cross-plat compatible
2018-02-27 20:22:19 +00:00
Steve Sanderson
ccd4de4d8c
Build CI packages in release mode
2018-02-27 19:47:18 +00:00
Steve Sanderson
7f1f97c6a1
Log extra build info
2018-02-27 19:24:35 +00:00
Steve Sanderson
41fa69f665
Force CI to build with a specific version of .NET Core
2018-02-27 18:52:35 +00:00
Steve Sanderson
de2bfe5162
Fix regression in app startup when running in E2E tests
2018-02-27 16:57:07 +00:00
Steve Sanderson
ff5b6a7f30
Fix to "hosted in ASP.NET" startup logic when consuming via package references not project references
2018-02-27 16:38:15 +00:00
Steve Sanderson
2fc2a23d41
Include *.html in UpToDateCheckInput
2018-02-27 14:28:20 +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
Ryan Nowak
8bb0674382
Remove Razor assemblies from VSIX
...
These aren't used for tooling in 15.6 so removing them.
2018-02-26 12:16:14 -08:00
Ryan Nowak
7cc90e48c0
Fix a few authoring errors with VSIX
2018-02-26 12:16:14 -08:00
Steve Sanderson
9d21eda9c4
Include "serve" command in dotnet-blazor tool
2018-02-26 17:37:00 +00:00
Steve Sanderson
c255e77ab5
Remove redundant entry in NuSpec file
2018-02-26 17:05:45 +00:00
Steve Sanderson
44a2603720
Have the Build package include all its own dependencies (otherwise the DotNetCliTool won't work)
2018-02-26 16:34:57 +00:00
Steve Sanderson
2f9515785e
Fixes for Microsoft.AspNetCore.Blazor.Build package layout
2018-02-26 16:22:06 +00:00
Steve Sanderson
a5b5b3fa27
Set IsPackable=false on certain projects
2018-02-26 15:27:57 +00:00
Steve Sanderson
973f02b2a6
Configure output path for "dotnet pack"
2018-02-26 15:20:23 +00:00
Steve Sanderson
58e66010b8
Add build version config
2018-02-26 15:13:36 +00:00
Steve Sanderson
6995b974e9
Support @bind for textboxes and checkboxes
2018-02-26 14:39:56 +00:00
Steve Sanderson
02a0be5c2b
Add JsonUtil unit tests plus E2E tests for new StandaloneApp pages
2018-02-26 13:01:11 +00:00
Steve Sanderson
1c5acfbdcc
Temporarily rename 'Json' to 'JsonUtil' to avoid name clash
2018-02-26 12:06:28 +00:00
Steve Sanderson
1b0b5c61fe
Add proper JSON-fetching example to StandaloneApp
2018-02-26 11:57:39 +00:00
Steve Sanderson
314b5c339c
Add public JSON APIs to Microsoft.AspNetCore.Blazor. Swap implementation from MiniJSON to SimpleJson
...
MiniJSON is very small but doesn't deal with strongly-typed
deserialization by default (we can add it, but that's less
battle-tested). Also it has to allocate extra IDictionary versions of
everything before we map it to specific .NET types.
Also tried LitJSON, but has some correctness issues, e.g.,
https://github.com/LitJSON/litjson/issues/43
Also tried Json.NET but it's > 600KB
2018-02-26 11:35:27 +00:00
Steve Sanderson
69c39937b3
Update StandaloneApp's Program.cs to make it more obvious how to configure DI services
2018-02-26 10:15:42 +00:00
Steve Sanderson
c0bf73234c
Tweak (to force rebuild, since Travis just tried to build a branch that was already deleted)
2018-02-23 22:42:10 +00:00
Steve Sanderson
8590f6e7a5
Remainder of initial HttpClient features plus E2E tests
2018-02-23 22:31:26 +00:00
Steve Sanderson
ea3a18af25
Add basic support for onchange
2018-02-23 14:02:55 +00:00
Steve Sanderson
88cc2caf45
Infrastructure for E2E tests where the app makes requests to an API server
2018-02-23 13:28:58 +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
423ad85a04
Implement OnInit/OnInitAsync and use it in sample HTTP request
2018-02-23 12:47:02 +00:00
Steve Sanderson
891f2a14d0
Basic implementation of temporary HttpClient. Currently only supports GET requests and doesn't return HTTP headers.
2018-02-23 12:29:53 +00:00
Steve Sanderson
8e57261167
In BrowserUriHelper, change URI caching logic to be more defensive in case OnLocationChanged isn't being used
2018-02-23 11:05:29 +00:00
Steve Sanderson
f684203721
Rename DefaultBrowserServiceProvider->BrowserServiceProvider for consistency
2018-02-23 10:50:35 +00:00
Steve Sanderson
0bb32ad628
Move BrowserRouter -> Router in Microsoft.AspNetCore.Blazor now it has no browser-specific aspects
2018-02-23 10:49:03 +00:00
Steve Sanderson
eab10dcf83
Move NavLink component into Microsoft.AspNetCore.Blazor
2018-02-23 10:43:16 +00:00
Steve Sanderson
bbe00753f4
Workaround AppVeyor failing to install Chrome
2018-02-23 10:38:52 +00:00
Steve Sanderson
82bcf9172a
Convert the static UriHelper into a service, IUriHelper, and inject where needed
2018-02-23 10:35:28 +00:00
Steve Sanderson
68f6ede3a7
Simplify UriHelper by making EnableNavigationInteception automatic
2018-02-23 09:59:56 +00:00
Steve Sanderson
e1aab02228
Add name/description values for InjectDirective
2018-02-23 09:32:26 +00:00
Steve Sanderson
8ff4cee323
Make ComponentFactory thread-safe
2018-02-23 09:32:26 +00:00
Steve Sanderson
c408045e31
In RazorCompiler, support @inject directive
2018-02-23 09:32:26 +00:00
Steve Sanderson
3f9d358004
Make ComponentFactory throw if you try to use [Inject] with a property that has no setter (otherwise it could be confusing)
2018-02-23 09:32:26 +00:00
Steve Sanderson
b4a3c852c5
Implement DefaultBrowserServiceProvider using Microsoft.Extensions.DependencyInjection.ServiceCollection
2018-02-23 09:32:26 +00:00
Steve Sanderson
e524994734
Make ComponentFactory do all the reflection up-front and cache the resulting delegates
2018-02-23 09:32:26 +00:00
Steve Sanderson
ceacd489aa
Simplistic implementation of property injection
2018-02-23 09:32:26 +00:00
Steve Sanderson
ce10e6fa19
In preparation for DI, give every Renderer an IServiceProvider
2018-02-23 09:32:26 +00:00
Ryan Nowak
dfe576f4fa
Add new Razor bits
...
- Adds the aspnetcore-dev feed as a package source
- Updates Razor to a relatively new build
- Fixes a few issues encountered with new bits
2018-02-22 08:48:32 -08:00
Steve Sanderson
f4e0d663fa
Tiny simplification to NavLink
2018-02-22 15:03:49 +00:00
Steve Sanderson
d388cb6510
Add E2E test covering nav menu and NavLink usage in StandaloneApp
2018-02-22 15:03:49 +00:00
Steve Sanderson
b705ac2c0a
Switch to slightly higher-level implementation of NavLink (sacrificing some perf for better representation of current idioms)
2018-02-22 15:03:49 +00:00
Steve Sanderson
58ae5dea9a
Additional methods on ParameterCollection to simplify usage
2018-02-22 15:03:49 +00:00