Commit Graph

448 Commits

Author SHA1 Message Date
Daniel Roth aed0490cd5 Update third party notices 2018-03-22 13:21:38 -07:00
Steve Sanderson 29a7d4e5bc In Hosted template, exclude .sln when generating from VS (to avoid duplication) 2018-03-22 19:39:12 +00:00
Daniel Roth b669dcad1b Readme update tweak 2018-03-22 12:39:24 -07:00
Daniel Roth 492bfd4982 Add back older browser support statement 2018-03-22 12:39:24 -07:00
Daniel Roth d01b10aec1 Add back asm.js support to the future list 2018-03-22 12:39:24 -07:00
Daniel Roth bcc7e62d04 Fix list item indentation 2018-03-22 12:39:24 -07:00
Daniel Roth 4bb570190b Update readme for initial preview release 2018-03-22 12:39:24 -07:00
Steve Sanderson b3619f3e10 Fix serving of woff/woff2 files for standalone-published apps on IIS/Azure 2018-03-22 10:15:55 +00:00
Ryan Nowak daa54ef1af Fix the Blazor about dialog
Have to do some gritty work to be able to show a proper version in the
about dialog. The generation of the proper assembly attributes is part
of the new-style csproj, so we don't get to use it for free.
2018-03-21 17:46:44 -07:00
Ryan Nowak 64d78c6e62 Add license and metadata to VSIX 2018-03-21 21:07:58 +00:00
Ryan Nowak 808f741cdd Fix for #314 - streamline lambda component args
This change removes the magic 'auto-lambda' feature that has some
unconvincing UX.

Also working around a razor bug where explicit expressions are lowered
incorrectly. This should make it possible to write code like:

<Foo Bar="@(e => { OnChanged(e); })" />
2018-03-21 13:59:35 -07:00
Ryan Nowak 635aa55d03 Force LF for package-lock.json
Most versions of NPM in use always use LF for line endings anyway.
Forcing LF on windows should limit the number of no-op changes.

This issue has been fixed in NPM
(see https://github.com/npm/npm/issues/1716) but not everyone will have
the fix.
2018-03-21 13:59:35 -07:00
Steve Sanderson 3b5ce7f4a7 In templates, move survey content out into a separate component 2018-03-21 16:22:32 +00:00
Steve Sanderson fb3beab270 Link on build by default for all configurations, not only Release 2018-03-21 15:58:49 +00:00
Steve Sanderson 992c873019 For standalone publishing, add configure MIME type for .json
As per
https://blogs.msdn.microsoft.com/africaapps/2013/06/07/how-to-serve-static-json-files-from-a-windows-azure-website/
2018-03-21 12:33:59 +00:00
Ryan Nowak b74cbf377f Get rid of error about package version
The Directory.Build.{props targets} files are designed for a new-style
csproj. Old-style csproj, which the VSIX uses don't support
PackageReference where the version is a variable.
2018-03-20 21:59:03 -07:00
Steve Sanderson 4d7670a979 Update templates to Blazor 0.1.0-rc1-10117 2018-03-20 22:37:30 +00:00
Steve Sanderson e20d200359 Bump version to 0.1.0-rc1-* 2018-03-20 22:32:12 +00:00
Steve Sanderson cf237707f9 Log info message if IL linking is disabled. Fixes #302 2018-03-20 22:28:43 +00:00
Steve Sanderson 3e4ba1a35f Add survey links to templates. Fixes #221 2018-03-20 22:27:29 +00:00
Steve Sanderson 678721cbad In hosted template, enable response compression for .wasm 2018-03-20 20:07:25 +00:00
Steve Sanderson 4eb78b3a8f Add global.json files to templates. Implements #300. 2018-03-20 19:45:43 +00:00
Steve Sanderson 4a8dc5c4a6 Add missing quotes to illink command. Fixes #301. 2018-03-20 19:42:25 +00:00
Steve Sanderson 300c3f5c7d In StandaloneApp, add example of pagination backed by navigation 2018-03-20 14:01:32 +00:00
Steve Sanderson f703732e98 In templates, update _ViewImports/NavMenu to match updated APIs 2018-03-20 13:59:20 +00:00
Steve Sanderson aa43496d00 Update templates to Blazor 0.1.0-preview1-10112 2018-03-20 13:29:53 +00:00
Steve Sanderson 1760688d24 In BlazorComponent, add OnParametersSetAsync and make SetParameters overridable 2018-03-20 13:15:40 +00:00
Steve Sanderson 5bf0b891e9 In NavLink, support matching either complete URLs or just URL prefixes (both are necessary for typical nav menus) 2018-03-20 13:15:37 +00:00
Steve Sanderson d921705881 Add ParameterCollection.GetValueOrDefault methods 2018-03-20 12:18:44 +00:00
Steve Sanderson a88ab0db49 Support route constraints of the form ":type" (e.g, ":int", ":guid", etc.) 2018-03-20 10:17:00 +00:00
Steve Sanderson c58df0b739 Temporary workaround for #219 ("data-" attributes don't compile) 2018-03-19 18:09:53 +00:00
Steve Sanderson 58cc946a88 Update templates to use new @page routing feature 2018-03-19 13:18:42 +00:00
Steve Sanderson 139601894a Update templates to Blazor 0.1.0-preview1-10107 2018-03-19 13:13:07 +00:00
Steve Sanderson 87c4d3c53e Cover case-insensitive child component parameter names in E2E test 2018-03-19 12:59:59 +00:00
Javier Calvarro Nelson 70c4501497 [Fixes #220] Support `@page` with custom route template on components
* Updates the router component to scan for components within assemblies.
* Parses the templates on `[Route]` in component instances and builds a
  route table that maps paths to components.
* Uses the route table to map paths to components.
2018-03-16 19:15:00 -07:00
Steve Sanderson 2150820efe Implement Blazor.navigateTo for triggering navigation from JS code, and use it in E2E tests 2018-03-16 16:55:46 +00:00
Steve Sanderson 0cfb25e2ad Enable Razor build server by default 2018-03-16 12:49:59 +00:00
Steve Sanderson d0731c337d Add IUriHelper.NavigateTo 2018-03-16 11:19:09 +00:00
Steve Sanderson cb473e8ad7 Add test case to show base-relative links work 2018-03-16 11:17:54 +00:00
Steve Sanderson a02ac60c8c Fix selection on <select> box. Fixes #157 2018-03-16 10:27:26 +00:00
Steve Sanderson 03ac95f086 A better fix for the VS publishing hosted projects issue (#274) 2018-03-16 09:13:48 +00:00
Steve Sanderson 4202a6c9e1 In JsonUtil, support DateTimeOffset. Fixes #218. 2018-03-15 17:25:50 +00:00
Steve Sanderson e0481e1276 Update templates to Blazor 0.1.0-preview1-10098 2018-03-15 17:06:09 +00:00
Steve Sanderson eb727c0464 In standalone template, generate a launchSettings.json that doesn't have
IISExpress. Fixes #235
2018-03-15 17:03:54 +00:00
Steve Sanderson 1d31a80b50 Apply equivalent change to BlazorHosted.CSharp.Client 2018-03-15 13:38:55 +00:00
Pranav K b0d4e43a75 Make things build with preview1 SDK without warnings 2018-03-15 13:28:02 +00:00
Steve Sanderson 6b73892e78 Avoid culture assumption in SupportsTwoWayBindingForDateValuesWithFormatString test. Fixes #268 2018-03-15 13:25:52 +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 2176aa8c87 Stop IL linker from stripping System.Threading.WasmRuntime. Fixes #239 2018-03-15 09:26:53 +00:00
Steve Sanderson fa54b0ab6e Update templates to Blazor 0.1.0-preview1-10092 2018-03-14 14:32:41 +00:00