Commit Graph

18381 Commits

Author SHA1 Message Date
Ryan Brandenburg 00b23b633d Remove references to non-existent -v option 2019-12-12 10:34:40 -08:00
Doug Bunting 49d1b9329f
Merge branch 'master' into merge/blazor-wasm-to-master 2019-12-12 10:05:10 -08:00
Kahbazi fde783911b Remove extra cast for IPEndPoint (#17812) 2019-12-12 08:33:43 -08:00
Steve Sanderson 3a93704737
Support async main (#17673) 2019-12-12 15:05:12 +00:00
Kahbazi db81768f8e Replace Task.FromResult(0) with Task.CompletedTask (#17810) 2019-12-12 01:42:29 -08:00
Kahbazi 9a3aacb56a Replace string.Equals with HttpMethods.IsX (#17805) 2019-12-11 21:40:27 -08:00
Artak e0a03bda1a
Specify Blazor WebAssembly template language (#17784)
* Blazor WebAssembly template updates

* Match spacing around <html> tags
2019-12-11 14:45:52 -08:00
nufiko 93030a8819 Change csv content type to text/csv (#16696)
* Change csv content type to text/csv

According to RFC4180: https://tools.ietf.org/html/rfc4180 MIME type for .csv file should be "text/csv"

* Add comment
2019-12-11 14:36:44 -08:00
Andrew Stanton-Nurse eb113093cd
Clarify docs on HttpRequest.PathBase (#17639) 2019-12-11 13:50:03 -08:00
Piotr Błażejewicz (Peter Blazejewicz) a2f38254d4 Change z-index value for reconnect modal. Fixes #12867 (#17512)
This changes the z-index of the Blazor reconnect modal to be aligned
with the z-index used by Bootstrap for modals overlays. If users rely on
Bootstrap for overlays within application this would prevent obstruction
of the Blazor's reconnect information with other overlays in the
application.

Addresses #12867
2019-12-11 13:15:04 -08:00
Eddy Nakamura 5ff9ed68d1 updating inline <code> to <c> (#17611)
* updating inline "code" tag to "c" tag

* Apply suggestions from code review

Co-Authored-By: Andrew Stanton-Nurse <andrew@stanton-nurse.com>

* reverting tag

* reverting tag

* reverting entire file
2019-12-11 11:47:38 -08:00
Chris Ross 11ecc62ea9
Handle IIS OnCompleted callbacks later #17268 (#17756) 2019-12-11 11:26:06 -08:00
Brennan efd765e970
Update wording (#17757) 2019-12-10 21:18:41 -08:00
Pranav K 3fba107522
Fix typo in error message (#17741) 2019-12-10 11:30:13 -08:00
Chris Ross b719a799ae
Update h2 sync scripts (#17720) 2019-12-10 11:17:16 -08:00
Pranav K 0792e9a4f5
Merge pull request #17620 from aspnet/prkrishn/merge-remaining-blazor-wasm
Merge blazor-wasm branch
2019-12-10 10:27:41 -08:00
Artak 240d095614
Updated npm dependencies (#17680)
* Updated npm dependencies
2019-12-10 08:09:50 -08:00
Pranav K 41eb14d8a8
Skip blazor-standlone template 2019-12-09 13:00:56 -08:00
Pranav K 37ec02b4d3
Remove published: false 2019-12-09 09:06:14 -08:00
Chris Ross aca5f04922
Expose Http.Sys's Http/2 Reset error code API #17276 #16988 (#17645) 2019-12-09 06:17:38 -08:00
John Luo bb4f3a513d
Merge branch 'blazor-wasm' into merge/release/3.1-to-blazor-wasm 2019-12-08 13:31:02 -08:00
Pranav K d4164a1a14
Try undoing /nr:false 2019-12-08 07:28:54 -08:00
Pranav K d9f129b95d
Skip tests 2019-12-07 14:33:31 -08:00
William Godbe 1f114dff50
Download runtime from suffixed location in dotnetcli blob storage (#17592) 2019-12-05 12:33:38 -08:00
Pranav K ca16c7fd59
Merge remote-tracking branch 'origin/blazor-wasm' into prkrishn/merge-remaining-blazor-wasm 2019-12-05 11:04:26 -08:00
Pranav K 51f0e07b63
Merge branch 'blazor-wasm' into merge/release/3.1-to-blazor-wasm 2019-12-05 10:59:13 -08:00
Pranav K e72223eaf5
Merge pull request #17562 from aspnet/prkrishn/merge-blazor-wasm
Merge blazor-wasm -> master
2019-12-05 09:54:10 -08:00
Andrew Stanton-Nurse 06a85e5db2
Dairai/add http class descriptions (#17349) 2019-12-05 09:28:29 -08:00
Chris Ross 5033efb3fe
Clean up test skip conditions (#17529) 2019-12-05 04:42:39 -08:00
Dairai Nyabando d4f380f67a Removing unnecessary param tags and words
#17349
2019-12-04 23:04:39 -05:00
Dairai Nyabando a71aa8a5bc Correcting closing XML remark tag
#17349
2019-12-04 22:54:00 -05:00
Pranav K ff6f669d94
Skip Blazor.Build tests from Helix 2019-12-04 17:29:07 -08:00
Dairai Nyabando 10d5a0ba62 Correcting XML closing tags
#17349
2019-12-04 20:07:14 -05:00
William Godbe 99979efaf6
Update branding to 3.1.1 (#17335)
* Update branding to 3.1.1

* Add *

* Skip RefPack tests

* Update baseline
2019-12-04 15:45:00 -08:00
Pranav K 6e8d862deb
Merge commit '40a0173e9d9410cfdcd0c5afe33bec3e1165092f' into prkrishn/merge-blazor-wasm 2019-12-04 14:41:17 -08:00
Pranav K 00846a232c
Use ProblemDetails.Status to configure ObjectResult.StatusCode (#17565)
This was missed when fixing https://github.com/aspnet/AspNetCore/issues/14663.
2019-12-04 11:18:15 -08:00
Chris Ross bd7c89aa20
Pubternal IHttpHeadersHandler (#17573) 2019-12-04 09:40:17 -08:00
Chris Ross 3b7cdc166a
Generalize Http2Cat #14894 (#17438) 2019-12-03 16:16:52 -08:00
Pranav K 7fc46862ea
Run build and publish tests for Blazor templates (#17410)
* Add build and publish tests for Blazor hosted
*  Add build tests for Blazor standalone
* Cleanup project template

Fixes https://github.com/aspnet/AspNetCore/issues/14866
Fixes https://github.com/aspnet/AspNetCore/issues/10269
Fixes https://github.com/aspnet/AspNetCore/issues/9168
2019-12-03 14:29:05 -08:00
Ryan Brandenburg 13db519bc3
Merge pull request #17153 from rachelgshaffer/rachelgshaffer/lint-clean-templates
Update Angular and React-Redux templates
2019-12-03 14:11:52 -08:00
Pranav K 76ae0a2e21
Build fewer things in blazor-wasm (#17533) 2019-12-03 13:47:33 -08:00
Rachel Shaffer 84d2d83840 add plugin 2019-12-03 11:00:36 -08:00
James Newton-King 00ac95f72b
Improve error message when TestServer finishes with a pending request read (#17164) 2019-12-03 17:25:59 +13:00
Piotr Błażejewicz (Peter Blazejewicz) 629b444a91 Reword RequestCulture description(s). Closes #17447 (#17511) 2019-12-02 09:56:17 -08:00
Ryan Nowak f3074d92fd Improve error for RRV substitution case
Fixes: #14789

Users can hit this error case when using a route parameter that has a
special meaning in MVC, in attribute routing with a route constraint.
This will cause us to fail while expanding the route pattern, because
the canonical value associated with the parameter won't satisfy the
constraint.

TLDR: don't do that. Using MVC's reserved parameter names for
application-level concerns will always cause bugs.

This was a case where you'd fail with a totally unactionable error
message. Updating it to reflect the proper root cause and our guidance
to fix it.
2019-12-02 08:56:07 -08:00
Roman Marusyk 032625cd32 Change "lower-case to "lowercase" in xml comments (#17499) 2019-12-01 12:45:28 -08:00
Adrian Wright ff8a7a0a94 replace 'an' with 'a' in xml comments (#17505) 2019-12-01 12:33:29 -08:00
Javier Calvarro Nelson ca893e25a5
[Blazor] Fixes publish issue with static web assets on hosted scenarios (#17496) 2019-11-29 20:44:14 +01:00
Javier Calvarro Nelson e3dcd41304
[Blazor] Pins the SDK version to 3.1 and forces Blazor projects to compile against it (#17479) 2019-11-28 23:12:44 +01:00
Steve Sanderson 548ae26e21 Fix Blazor WebAssembly hosted publishing 2019-11-28 12:41:21 +00:00
Pranav K 0c11c75641 [Blazor] Fix Blazor.build package (#17463) 2019-11-28 04:50:50 +01:00
Ryan Brandenburg 32a2cc5943
Test improvements (#17428)
Retry adding package and print reason for failure
2019-11-27 13:49:43 -08:00
dotnet-maestro[bot] 1f15d60241
[blazor-wasm] Update dependencies from dotnet/arcade aspnet/Blazor (#17307)
* Update dependencies from https://github.com/aspnet/Blazor build 20191121.2

- Microsoft.AspNetCore.Blazor.Mono - 3.1.0-preview4.19571.2

* Update dependencies from https://github.com/aspnet/Blazor build 20191126.1

- Microsoft.AspNetCore.Blazor.Mono - 3.1.0-preview4.19576.1

* Update dependencies from https://github.com/aspnet/Blazor build 20191126.2

- Microsoft.AspNetCore.Blazor.Mono - 3.1.0-preview4.19576.2

* Add missing extensions feed

Seems like the feed with stable versions has been deleted in the updated. I've re-added it and that should fix the existing restore issues.

* Pass an empty array to entry point

Fixes https://github.com/aspnet/AspNetCore/issues/17419
2019-11-27 18:51:32 +00:00
Steve Sanderson 16195aaa3b Include .pdb files in blazor.boot.json to re-enable debugging 2019-11-27 14:59:54 +00:00
Steve Sanderson 99883719af Suppress msedge first run experience when debugging 2019-11-27 13:12:14 +00:00
Steve Sanderson 3579d8fca2 Fix swapped browser names. Fixes #16746 2019-11-27 13:12:14 +00:00
Steve Sanderson 46b95b2564 Fix wasm debugging when running on HTTPS. Fixes #17338 2019-11-27 13:12:14 +00:00
Pranav K 0c381d2402
Add some tests for hosted project building and publishing (#17398)
* Add some tests for hosted project building and publishing
2019-11-26 16:45:42 -08:00
Pranav K 3c6dc1c516
Try different MSBuild things to make build work (#17427)
Fixes https://github.com/aspnet/AspNetCore/issues/17418
2019-11-26 16:42:55 -08:00
Dairai Nyabando ed5a43d5ad updating the return statements for specific methods
#17349
2019-11-25 22:20:29 -05:00
John Luo 6c961ae4e2
Update branding for Blazor packages and update baseline (#17346)
* Disable baseline generation in CodeCheck
2019-11-25 16:17:22 -08:00
Stephen Halter b81c1a7954
Allow more than one IConnectionListenerFactory (#17383) 2019-11-25 14:19:25 -08:00
Javier Calvarro Nelson 4400467c15
[Blazor] Fixes publishing for standalone blazor-wasm applications (#17353)
* Updates the publish path on the static web assets to match the convention used by standalone blazor applications.
2019-11-25 23:16:29 +01:00
William Godbe ca948aae28
Merge pull request #17336 from dotnet-maestro-bot/merge/release/3.1-to-blazor-wasm
[automated] Merge branch 'release/3.1' => 'blazor-wasm'
2019-11-25 13:12:08 -08:00
Ryan Brandenburg 03dd93c473
Enable WASM debugging (#17162)
Changes needed so VS can connect to the Mono WebAssembly debugger via Chrome protocol
2019-11-25 13:00:24 -08:00
William Godbe 9cc3905c10
Don't ship blazor packages from release/3.1 (#17342) 2019-11-25 11:32:38 -08:00
Pranav K e862ce7cee
Use a task to launch the linker (#17313)
* Use a task to launch the linker


Fixes https://github.com/aspnet/AspNetCore/issues/17264
2019-11-25 10:09:06 -08:00
William Godbe ffb7b0d412
Merge branch 'blazor-wasm' into merge/release/3.1-to-blazor-wasm 2019-11-25 09:57:45 -08:00
Mehmet Can Kamar d59868b2d4 BindingAddress is customized for unix socket urls #10782 test… (#12112) 2019-11-25 09:18:16 -08:00
Günther Foidl 9e67b7b22e Use C#'s ReadOnlySpan static data optimization in more places (#14447) 2019-11-24 18:04:26 -08:00
Dairai Nyabando 7c8d0f89f8 Additional class and methods description changes including adding class references and inheriting docs
#17349
2019-11-23 18:27:12 -05:00
Dairai Nyabando aeb8ab554a Updating the Http.sys server name in method descriptions
#17349
2019-11-23 17:26:22 -05:00
Dairai Nyabando d2f2ed99fc Updating method descriptions as per review suggestions
#17349
2019-11-23 17:23:18 -05:00
Justin Kotalik c31f51e5c7 [3.1.x] Allow external startup hooks (#17116) 2019-11-23 10:06:25 -08:00
Pranav K e470aead3e Remove reference assembly for Blazor.HttpClient 2019-11-22 19:55:39 -08:00
Pranav K 3c06726d77 Move Mono.WebAssembly.Interop to blazor-wasm branch 2019-11-22 19:55:39 -08:00
Dairai Nyabando 5dcb568df0 Updating descriptions to add parameters
#17204
2019-11-22 22:27:55 -05:00
Jason Bailey 9099305d04 Fix AuthorizationPolicyBuilder doc typo (#17296) 2019-11-22 15:50:49 -08:00
Justin Kotalik 9fded4c4aa [3.1.x] Fix dotnet.exe process recovery after abnormal exit in… (#17103) 2019-11-22 15:50:31 -08:00
Chris Ross ca23b1a325
Pool HttpSys request buffers (#17314) 2019-11-22 15:35:47 -08:00
Chris Ross 6902b14471 [3.1.x] Backport HttpContext.Items fix (#17237) 2019-11-22 15:24:27 -08:00
Steve 8a02133ffd Fix: @aspnet/signalr -> @microsoft/signalr (#17333) 2019-11-22 10:22:04 -08:00
Pranav K d6c88a36ff
More cleaning up Blazor.Build package (#17157)
* More cleaning up Blazor.Build package

* Clean up MonoRuntime targets
* Convert executables in to tasks
* Add tests
2019-11-22 09:54:20 -08:00
Dairai Nyabando 66613b194d Updating descriptions for HTTP classes
#17204
2019-11-22 00:04:16 -05:00
Stafford Williams 88cda2751a Crankier: Connect to Azure SignalR (#13606) 2019-11-21 18:28:01 -08:00
Ajay Bhargav Baaskaran 877e5fafef
Attempt fix Angular template flaky test (#17279)
* Attempt fix Angular template flaky test

* Increase timeout
2019-11-21 15:10:09 -08:00
Kahbazi 642fe1631d Suppress log when request is cancelled (#16691) 2019-11-20 15:51:01 -08:00
Scott Addie 242890940e Indent Blazor error UI CSS (#16959) 2019-11-20 11:23:48 -08:00
Pranav K 5bdf75f3e1
Use System.Reflection.Metadata to generate BootConfig (#17156)
* Use System.Reflection.Metadata to generate BootConfig

* Remove reference to Mono.Cecil
* Remove support for auto embedded css \ js
* Remove blazor.webassembly.js
2019-11-19 10:19:57 -08:00
André Silva 8d1c8005d8 Fixes QueryHelpers.AddQueryString() throws when one of the dictionary values is null #16647 (#17177) 2019-11-18 16:03:44 -08:00
Pranav K ff4791ea90
Use mono wasm method to invoke entry point (#17050) 2019-11-18 14:54:27 -08:00
Justin Kotalik f1123af4c1
Flakify SynchronousReadAndWriteTests.cs (#17208) 2019-11-18 14:42:00 -08:00
Pranav K d5fd9fc2fa
Add support for IAsyncEnumerable<T> where T is value type (#17154)
* Add support for IAsyncEnumerable<T> where T is value type

Fixes https://github.com/aspnet/AspNetCore/issues/17139
2019-11-18 08:25:08 -08:00
Kahbazi eec2ce4a71 Remove null check for logger in HttpsConnectionMiddleware 2019-11-18 08:13:48 -08:00
Doug Bunting d5d01b5c06
Merge branch 'release/3.1' into merge/release/3.1-to-master 2019-11-16 12:55:38 -08:00
Doug Bunting 92767967c0
Merge branch 'blazor-wasm' into merge/release/3.1-to-blazor-wasm 2019-11-16 12:43:11 -08:00
Ryan Nowak 8f8b5f55a9 Make constraint cache thread safe (#17146)
* Make constraint cache thread safe

Fixes: #17101

This changes the constraint cache to use ConcurrentDictionary. This code
is invoked in a multithreaded way in Blazor server resulting in internal
failures in dictionary.

Since this is a threading issue there's no good way to unit test it, but
I noticed we're missing tests in general for this class, so I added a
few for the caching behavior.

* PR feedback
2019-11-15 21:21:11 -08:00
Justin Kotalik 0f580f1082
Initial HTTP/3 Implementation in Kestrel (#16914) 2019-11-15 14:50:54 -08:00
Ryan Nowak 2ff8f45193
Optimize namespace comparisons (#17119)
Fixes: #16922

Improves the performance significantly by avoiding allocations for the
purpose of comparing the namespace.
2019-11-15 14:41:33 -08:00
nickraphael 7cbe8aa5e3 spelling fix - recieved to received (#17123) 2019-11-15 12:54:50 -08:00