Commit Graph

38292 Commits

Author SHA1 Message Date
ASP.NET CI 2692acdcd0 Update dependencies.props
[auto-updated: dependencies]
2018-09-02 19:09:21 +00:00
ASP.NET CI 8d576c7132 Update dependencies.props
[auto-updated: dependencies]
2018-09-02 19:09:04 +00:00
ASP.NET CI a1a5237613 Update dependencies.props
[auto-updated: dependencies]
2018-09-02 12:08:40 -07:00
ASP.NET CI 6eb5ead012 Update dependencies.props
[auto-updated: dependencies]
2018-09-02 12:08:25 -07:00
ASP.NET CI 4fb6f01627 Update dependencies.props
[auto-updated: dependencies]
2018-09-02 19:07:06 +00:00
ASP.NET CI 2aea3298ae Update dependencies.props
[auto-updated: dependencies]
2018-09-02 12:06:41 -07:00
ASP.NET CI ee46ebab1d Update dependencies.props
[auto-updated: dependencies]
2018-09-02 19:05:31 +00:00
ASP.NET CI 5dba26f8fb Update dependencies.props
[auto-updated: dependencies]
2018-09-02 12:05:31 -07:00
ASP.NET CI 840e167d1a Update dependencies.props
[auto-updated: dependencies]
2018-09-02 12:05:06 -07:00
ASP.NET CI 171be2a803 Update dependencies.props
[auto-updated: dependencies]
2018-09-02 19:05:01 +00:00
ASP.NET CI 8f162f31f7 Update dependencies.props
[auto-updated: dependencies]
2018-09-02 12:04:52 -07:00
ASP.NET CI 9d72a84fa7 Update dependencies.props
[auto-updated: dependencies]
2018-09-02 19:04:46 +00:00
ASP.NET CI bc9efe4ae9 Update dependencies.props
[auto-updated: dependencies]
2018-09-02 19:03:09 +00:00
ASP.NET CI d552792215 Update dependencies.props
[auto-updated: dependencies]
2018-09-02 12:02:51 -07:00
Ryan Nowak c97cb8c18b Add support for Razor templates
Adds support for Razor templates and RenderFragment<T>.

Razor templates are a little-known Razor feature that looks like:
```
@<tag>....<tag>
```

It's so little known that it's not even covered in our docs, but it's
been around for many many years. This features hasn't been implemented
until now for Blazor, and this feature brings it back as a build
building block for templated components (more to come).

In Blazor land a template like:
```
@{ RenderFragment<Person> template = @<div>@item.Name</div>; }
```

complies to code like:
```
RenderFragment<Person> template = (__builder, item) =>
{
    __builder.OpenElement(...);
    ...
    __builder.CloseElement(...);
}
```

Since the declaration always has a generic type parameter inside, it
needs to be in a context where the type is known.. ie: not with `var`.

See tests for ways to consume templates.

NOTE: There are the following caveats for templates
- Templates require a single root element.
- Templates don't work in the `@functions { }` block

These limitations are baked into the core of Razor and will take a while
for us to address (v3.0).
2018-08-31 19:10:42 -07:00
Nate McMaster fe759072f8
Merge branch 'release/2.2' 2018-08-31 16:58:52 -07:00
Mike Harder a22b715bf4
Update published files for 2.2-preview2 (#1370)
- Also convert env vars to UPPER_CASE for compat with Mac and Linux
2018-08-31 16:56:56 -07:00
ASP.NET CI fc73ec73f9 Updating submodule(s)
EntityFrameworkCore => ce5940319ce43409946348e747bfd1a6eded5e3d

[auto-updated: submodules]
2018-08-31 22:12:47 +00:00
Nate McMaster b2cf5028e0
Run E2E tests in parallel and on macOS (#1369) 2018-08-31 14:24:32 -07:00
ASP.NET CI 3cbf1ea7d1 Updating submodule(s)
Scaffolding => d67c85e2e7e59046083214e91cf0aeee38199dcf

[auto-updated: submodules]
2018-08-31 13:03:48 -07:00
Nate McMaster 60fc0158c1
Flow the ProdCon restore feed in to E2E tests 2018-08-31 12:25:29 -07:00
ASP.NET CI e7f50eb932 Updating submodule(s)
Scaffolding => 1b91f5cae8b17fed684c3b0f3a433340beba2e08

[auto-updated: submodules]
2018-08-31 18:34:30 +00:00
Nate McMaster a57ed95fd3
Fix errors connecting to github from powershell and TLS1.2 in test scripts 2018-08-31 11:20:58 -07:00
Nate McMaster 48ff509c6a
Fix broken build by updating the Options submodule 2018-08-31 11:10:29 -07:00
ASP.NET CI 64078159fa Updating submodule(s)
IISIntegration => 0459b6d0d4

[auto-updated: submodules]
2018-08-31 09:11:18 -07:00
Pavel Krymets 0459b6d0d4
Fix dotnet.exe abort exception and startup/shutdown timeouts (#1352) 2018-08-31 09:05:46 -07:00
ASP.NET CI 5e5bf6712a Updating submodule(s)
IISIntegration => db01ae3717

[auto-updated: submodules]
2018-08-31 15:21:57 +00:00
Justin Kotalik db01ae3717 Remove FreeConsole calls. (#1358) 2018-08-31 08:16:07 -07:00
ASP.NET CI 71fff14dee Updating submodule(s)
Configuration => 4d3f720193095ac58784ca6bc6e0f4b5cb4000e3
KestrelHttpServer => 153020ef8a

[auto-updated: submodules]
2018-08-31 00:35:41 +00:00
= ef65b2b334 Merge branch 'release/2.2' 2018-08-30 17:33:04 -07:00
Ryan Nowak bf31749e9f
Merge pull request #475 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-08-30 17:06:50 -07:00
Nate McMaster cbc2151491
Merge branch 'release/2.2' 2018-08-30 16:35:27 -07:00
Nate McMaster a407a047f0
Merge branch 'release/2.2' 2018-08-30 16:33:36 -07:00
Nate McMaster 9f37a92dc9
Add Microsoft.AspNetCore.DataProtection.EntityFrameworkCore 2018-08-30 16:28:54 -07:00
Nate McMaster 7520ffa0ef
Fix up service scoping in the EF Core xml repository and update package version to 2.2 2018-08-30 16:22:43 -07:00
John Luo 153020ef8a Allow UTF8 encoded header values 2018-08-30 16:21:34 -07:00
ASP.NET CI bde9b8b115 Updating submodule(s)
Diagnostics => 525fbf495b
EntityFrameworkCore => 297412a470f098a25b3ba2454b7850c861e19591
FileSystem => b9986fc364ec439606f998d44e02be71a922aec7
HttpClientFactory => 55de61368c45e761a6c36be94f9f9165cca20d50
Identity => bb1cd5ec09
IISIntegration => 729a98adfc
KestrelHttpServer => 80b30b21ee
Mvc => d8b7dbd1f3
Razor => 852ad8df87
Routing => 945e798ca7
Scaffolding => 5b113cd96f4dd324291e5339331e64956b1a7e2c
SignalR => f42f4c56e6
Templating => afccb085a2

[auto-updated: submodules]
2018-08-30 16:04:06 -07:00
Ryan Brandenburg b7b1ea207d Start shipping templates to NuGet 2018-08-30 15:41:16 -07:00
Ryan Nowak 525fbf495b Fix #468 - all UseHealthChecks without a path 2018-08-30 15:33:49 -07:00
Nate McMaster 2d4dd7251b
Merge branch 'release/2.2' 2018-08-30 15:29:49 -07:00
Nate McMaster a6a21351b6
Merge branch 'release/2.1' into release/2.2 2018-08-30 15:28:26 -07:00
dotnet-maestro-bot 3e7410333a Update to .NET Core 2.1.5-servicing-26830-03 (#1364) 2018-08-30 15:27:17 -07:00
Nate McMaster dcc3946d9b
Remove machine-specific CI setting 2018-08-30 15:26:07 -07:00
Javier Calvarro Nelson f8181ef522 Merge branch 'release/2.2' 2018-08-30 15:24:32 -07:00
Javier Calvarro Nelson bb1cd5ec09 Stop building dependent projects 2018-08-30 15:23:55 -07:00
Ryan Brandenburg 5f5524a477 Merge branch 'merge/release/2.2-to-master' 2018-08-30 15:23:14 -07:00
Pranav K d8b7dbd1f3
Avoid null refs when IStatusCodeActionResult cannot be discovered 2018-08-30 15:17:09 -07:00
Brice Lambson ce5433622e Merge branch 'release/2.2' 2018-08-30 15:05:41 -07:00
Ryan Nowak 945e798ca7 [Design] Set the endpoint feature only on success 2018-08-30 14:52:35 -07:00
Ryan Nowak 1128bd572c Add a functional test for middleware after routing
It came up during routing discussions that we don't have any tests for
this scenario.
2018-08-30 14:51:56 -07:00