Commit Graph

44084 Commits

Author SHA1 Message Date
Safia Abdalla 723e32a47d
Update documentation on darc (#24487)
* Update documentation on darc

* Apply suggestions from code review

Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>

* Update code blocks in referenced assemblies

Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2020-07-31 21:49:56 +00:00
Steve Sanderson 6f7a3dfd4e
Remove Blazor internal profiling infrastructure (#24468)
* Put back InternalCalls

* Removing .NET profiling calls

* Remove JS side profiling
2020-07-31 22:04:48 +01:00
dotnet-maestro[bot] a64f3fda00
Update dependencies from https://github.com/dotnet/arcade build 20200724.1 (#24482)
Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.Arcade.Sdk
 From Version 5.0.0-beta.20364.3 -> To Version 5.0.0-beta.20374.1
- downgrade of the Arcade SDK should be fine

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-07-31 14:04:05 -07:00
Pranav K f495fcb151
Avoid doing unncecessary work when generating component declaration files. (#24445)
The output of the declaration file for Razor components are unaffected by all inputs other than the input .razor file.
Consequently we can avoid regenerating these files if the output is newer than the input. This is the same heuristic we apply to Blazor WebAsssembly's
compression artifacts.

This PR combines these two improvements for a ~90ms (10%) improvement in the inner loop.

```
       17 ms  GenerateBlazorWebAssemblyBootJson          1 calls
       22 ms  Copy                                       8 calls
       39 ms  ProcessFrameworkReferences                 1 calls
       40 ms  RazorTagHelper                             1 calls
       51 ms  ResolveAssemblyReference                   1 calls
       70 ms  GetFileHash                                1 calls
       80 ms  RazorGenerate                              2 calls
      111 ms  Csc                                        2 calls

      Time Elapsed 00:00:00.95
```

```
       17 ms  GenerateBlazorWebAssemblyBootJson          1 calls
       21 ms  Copy                                       8 calls
       37 ms  ProcessFrameworkReferences                 1 calls
       51 ms  ResolveAssemblyReference                   1 calls
       70 ms  Csc                                        1 calls
       72 ms  GetFileHash                                1 calls
       79 ms  RazorGenerate                              2 calls

Time Elapsed 00:00:00.86
```

In after: Csc calls reduced to one, RazorTagHelper call removed.
2020-07-31 20:40:52 +00:00
Hao Kung e6b9a3d295
Remove debian 8 from helix runs (#24454)
* Add display environment

* Print out env variables as part of helix runs

* Update TestRunner.cs

* Remove Debian 8 from helix matrix

* Remove Debian 8 skip

* Remove debian 8 skip

* Remove debian 8

* Remove debian 8 skip

* Remove Debian 8 skip

* Remove debian 8

* Update Program.cs

* Update TestRunner.cs

* Update TestRunner.cs
2020-07-31 20:35:54 +00:00
Safia Abdalla c0c0a26000
Wait for component to mount before checking for output (#24451)
* Wait for component to mount before checking for output
* Use Exists to check for element with timeout
* Update ComponentRenderingTest.cs
2020-07-31 12:44:27 -07:00
dotnet-maestro[bot] b2fe5dd4b1
Update dependencies from https://github.com/dotnet/roslyn build 20200729.3 (#24456)
Microsoft.Net.Compilers.Toolset
 From Version 3.8.0-1.20367.11 -> To Version 3.8.0-2.20379.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-07-31 10:32:31 -07:00
Brennan 4290bcc782
Pass serialization exceptions to Hub disconnect (#24408) 2020-07-31 10:13:28 -07:00
Steve Sanderson f28ef7c3e8
Use ordinal comparison when detecting event handler attributes. Fixes #24465 (#24471) 2020-07-31 17:54:35 +01:00
Pranav K 3e1e69ecce
Add nullable annotations to Authenticator.Core & Authentication.Cookies (#24307)
Contributes to https://github.com/dotnet/aspnetcore/issues/5680
2020-07-30 17:09:14 -07:00
Kahbazi 799014cfe7
Throw BadHttpRequestException in HttpSys (#24213) 2020-07-30 16:29:38 -07:00
Kahbazi d0cca519b4
Set ContentLength for TestHost (#24107) 2020-07-30 16:10:58 -07:00
Miha Zupan e3501ddd4a
H/QPackEncoder overloads accepting Encoding (#24448) 2020-07-30 20:11:58 +00:00
marlongerson b9e663bffb
[Identity] Updated RenderSection to use async method. (#24121) 2020-07-30 13:03:11 -07:00
Safia Abdalla e0ef3d2246
Merge pull request #24387 from dotnet-maestro-bot/merge/release/5.0-preview8-to-master
[automated] Merge branch 'release/5.0-preview8' => 'master'
2020-07-30 12:16:52 -07:00
Safia Abdalla d6ed98044d
Merge branch 'master' into merge/release/5.0-preview8-to-master 2020-07-30 10:54:18 -07:00
William Godbe cf728173d1
Quarantine failing test (#24415)
* Quarantine failing test

* Update DefaultControllerFactoryTest.cs
2020-07-29 15:51:44 -07:00
Huei Feng ae840db2cc
Add a readonly modifier to a missing readonly field (#24379) 2020-07-29 15:00:23 -07:00
Pranav K 17687f538c
Improve detection of Record types (#24409) 2020-07-29 13:27:27 -07:00
Safia Abdalla f88034902a
Don't render route component if OnNavigateAsync task in-progress (#24225) 2020-07-29 11:37:52 -07:00
John Luo fd9f17ddf9
Update blazor templates with Microsoft.Identity.Web APIs (#24268)
* Update blazor and components web templates

* Update Identity.Web version to 0.2.1-preview
2020-07-29 10:31:47 -07:00
Anirudh Agnihotry 8062d943ea
update arcade version To fix the publishing (#24386)
* update arcade version

* update version details file as well
2020-07-29 09:53:29 -07:00
Steve Sanderson 5e49fc336e
In CSS scoping, support ::deep alongside other combinators (#24376) 2020-07-29 14:49:50 +01:00
Kahbazi 01e05359d6
Dispose CTS in WebHost.StopAsync (#24399) 2020-07-29 12:43:46 +00:00
Stephen Halter e225057370
Add missing .ConfigureAwait(false) to WebHost (#24390) 2020-07-28 18:22:44 -07:00
Javier Calvarro Nelson 3cf39cf7e1
Update the templates CSS to leverage CSS isolation (#24380)
* Template changes

* Template changes + scope computation update

* Template updates

* tmp

* Fix style path

* Webassembly template changes

* Update tests

* Undo blazor.server.js changes

* WebAssembly cleanups

* Undo unwanted change

* Undo another unwanted change

* Fix server-side login combinator

* update tests, switch from app to div id=app
2020-07-28 15:29:57 -07:00
Tanay Parikh 4aa5e03207
Unquarantine Tests (#24295)
* Unquarantine Tests
2020-07-28 11:21:33 -07:00
msftbot[bot] 8de0c7386c
Merge pull request #24373 from dotnet-maestro-bot/merge/release/5.0-preview8-to-master
[automated] Merge branch 'release/5.0-preview8' => 'master'
2020-07-28 18:21:05 +00:00
Kahbazi 085921305a
[IIS] Move to GenericHost (#24280) 2020-07-28 11:02:09 -07:00
Phil Henning 28d5d49c21
Support SSO for Blazor WASM template (#23815)
Thanks @phenning and @javiercn !
2020-07-28 10:05:09 -07:00
Youssef Victor 0437117cfb
Remove extra abstract keyword (#24274) 2020-07-28 00:58:27 -07:00
James Newton-King 2243f3f171
Rename KeepAlivePingInterval to KeepAlivePingDelay (#24308) 2020-07-28 12:32:46 +12:00
Kahbazi 747957bb40
[Hosting] Move to GenericHost (#24297) 2020-07-27 15:29:00 -07:00
Sean G. Wright 97ced4e7c9
Add docs to BuildFromSource for ANCM (#24304) (#24346) 2020-07-27 14:04:25 -07:00
Kahbazi 6097145096
[Security] Move to GenericHost (#24282) 2020-07-27 13:09:15 -07:00
Tanay Parikh 780d527f0b
Merge pull request #24302 from dotnet-maestro-bot/merge/release/5.0-preview8-to-master
[automated] Merge branch 'release/5.0-preview8' => 'master'
2020-07-27 12:47:21 -07:00
Kahbazi e893ef59e8
[Routing] Move to GenericHost (#24281) 2020-07-27 10:03:58 -07:00
Tanay Parikh ed9925d21f Merge branch 'merge/release/5.0-preview8-to-master' of https://github.com/dotnet-maestro-bot/AspNetCore into merge/release/5.0-preview8-to-master 2020-07-27 09:31:46 -07:00
Pranav K f26942805d
Turn on nullability for Routing (#24238)
* Turn on nullability for Routing

We previously only had annotations enabled which resulted in incorrect nullability. This change enables
nullability.

Fixes https://github.com/dotnet/aspnetcore/issues/24042
2020-07-25 07:34:05 -07:00
Kahbazi 64b5ea9393
[HttpSys] Move to GenericHost (#24285) 2020-07-24 22:03:10 -07:00
Tanay Parikh b094ecddf0
Create PublicAPI.Unshipped.txt (#24299)
* Updated PublicAPI.Unshipped

* Improve record type detection

Support both forms of Clone methods to detect record types

Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-07-25 00:44:58 +00:00
John Luo dc53cd0173
Update RazorPages, MVC, WebApi templates to use Identity.Web (#24167)
* Update RazorPages, MVC, WebApi templates to use Identity.Web

- Obsolete AAD v1 APIs
2020-07-24 17:36:12 -07:00
Steve Sanderson eb8764e80f
CSS scoping deep combinators (#24289)
* Support deep combinators with CSS scoping

* Update CSS scope computation
2020-07-24 14:51:30 -07:00
Youssef Victor 8b0f46c357
Use Compount Assignment to respect IDE0054 (#24202)
* Use Compount Assignment to respect IDE0054
2020-07-24 13:54:58 -07:00
Kahbazi 990e639c08
[MusicStore] Move to GenericHost (#24284) 2020-07-24 12:21:13 -07:00
Tanay Parikh 3ea1fc7aac
Merge pull request #24258 from dotnet-maestro-bot/merge/release/5.0-preview8-to-master
[automated] Merge branch 'release/5.0-preview8' => 'master'
2020-07-24 11:11:33 -07:00
Doug Bunting 918d953767
Use Microsoft.CodeAnalysis.PublicApiAnalyzers (#24188)
* Use Microsoft.CodeAnalysis.PublicApiAnalyzers
    - #4259 1/2
    - followup 2/3 for 5266918ed2
    - includes baselines for 16 MVC projects
      - will automated further additions in another PR
    - suppress warnings that may cause back-compat problems if fixed

nit: sort `@(LatestPackageReference)` a bit better
2020-07-24 09:45:11 -07:00
Kahbazi 9a4eb51595
[Azure] Move to GenericHost (#24283) 2020-07-24 09:42:50 -07:00
Pranav K 088a6fa1ec
Add support for binding record types (#23976)
* Add support for binding record types

* PR feedback

* PR changes

* Changes per PR comments

* Changes per PR comments

* Update src/Mvc/Mvc.Core/src/Resources.resx

* Apply suggestions from code review

* Add some more tests

* Undo blazor.server.js changes

* Fixup test
2020-07-24 08:45:06 -07:00
Javier Calvarro Nelson b326be1710
[Blazor] Wires up CSS isolation (#24221) (#24271)
* Wires up CSS isolation on the build.
* Transforms the css files during build.
* Bundles all scopes css into a single file and exposes it on _framework/scoped.styles.cs
* Packs pre-processed files as static web assets.
2020-07-24 08:42:35 -07:00