Commit Graph

10794 Commits (4688bc955fd442e70f2e1284423dc3975640c5c0)

Author SHA1 Message Date
Rick Anderson dce1426c5d
Update validation.md 2022-08-06 15:11:22 -10:00
Luke Latham 7d6a1dd946
Fix typo (#26645) 2022-08-06 18:12:33 +00:00
Luke Latham a3b0da024d
Mention IAsyncEnumerable (#26642) 2022-08-05 11:05:56 -05:00
Luke Latham c5c1775256
MSBuild properties for hosted deployment options (#26620) 2022-08-05 06:25:51 -05:00
James Newton-King bd95300aee
Improve gRPC browser topic (#26625)
Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
Co-authored-by: Wade Pickett <wpickett@microsoft.com>
2022-08-05 01:39:08 +00:00
Luke Latham 19b8f86fa0
Clarify scenarios for Blazor file downloads article (#26634) 2022-08-04 19:12:54 -05:00
Rick Anderson ebf4d5de21
TryParse in What's new (#26633) 2022-08-04 13:40:56 -10:00
Rick Anderson 7c5edfff1f
TryParse /6 (#26608)
* TryParse /6

* code additions

* code additions

* code additions

* code additions

* code additions

* code additions

* code additions

* code additions

* code additions

* Update aspnetcore/mvc/models/model-binding.md

Co-authored-by: Fiyaz Bin Hasan <fiyazhasan@live.com>

* react to feedback

* react to feedback

* react to feedback

* react to feedback

Co-authored-by: Fiyaz Bin Hasan <fiyazhasan@live.com>
2022-08-04 13:27:20 -10:00
sammychinedu2ky d7c4f240e6
Minimal api todo group (#26516)
* created project

* added required test nugets

* added custom controller

* created test file

* added comments

* add new line

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* remove a line

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* remove line

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* removed comment

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* created new project

* models added

* dbcontext added

* modified model

* repository added

* actions added

* action comments added

* repository comments added

* formatted code

* edit

* formatted code

* add changes

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* added one line ending

* grouped apis

* rewind

* rewind

* rewind

* rewind

* removed public

* reset

* added space

Co-authored-by: Stephen Halter <halter73@gmail.com>

* removed extra line

Co-authored-by: Stephen Halter <halter73@gmail.com>

* added public access modifier

Co-authored-by: Stephen Halter <halter73@gmail.com>

* added sqlite package

* added in memory sqlite connection

* added meta data

* git format

* added filter

* added applicationdbcontext to ioc

* prior to deleting repository

* repository deleted

* git format

* git format

* format

* format

* validationresponse added

Co-authored-by: Stephen Halter <halter73@gmail.com>

* adding services together

Co-authored-by: Stephen Halter <halter73@gmail.com>

* refactored

* deleted dto file

* created folder for routehandlers

* remove comment

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* remove comment

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* remove comment

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* remove comment

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* added cs extension to routehandlers

* dotnet format

* changed error message

* add a line

Co-authored-by: Stephen Halter <halter73@gmail.com>

* remove space

Co-authored-by: Stephen Halter <halter73@gmail.com>

* made changes

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
Co-authored-by: Stephen Halter <halter73@gmail.com>
2022-08-04 10:47:27 -10:00
Luke Latham 67174015a4
Blazor QuickGrid Razor component (#26628) 2022-08-04 13:07:26 -05:00
Luke Latham 46c33f949a
WASM debug default browser is going to Edge (#26621) 2022-08-03 14:14:56 -05:00
James Newton-King c735b07259
Document dynamic port binding limitations (#26611)
Co-authored-by: Stephen Halter <halter73@gmail.com>
2022-08-03 08:20:47 +00:00
James Newton-King ac1b868558
Refactor gRPC-Web and transcoding pages (#26610)
Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
2022-08-03 13:43:39 +08:00
Rick Anderson a55248654c
Merge pull request #26615 from GitHubPang/patch-aspnetcore-fundamentals
Fix grammar, wording, and misspelling in /aspnetcore/fundamentals.
2022-08-02 18:27:25 -10:00
Rick Anderson a77443ab8a
Create readme.txt 2022-08-02 16:58:57 -10:00
GitHubPang 01492d6d59 Fix grammar, wording, and misspelling in /aspnetcore/fundamentals. 2022-08-02 16:42:32 +08:00
Fiyaz Bin Hasan fbca0eb370
TryParse with IParsable<TSelf> (#26534)
* work

* Update Program.cs

* Update Culture.cs

* code review changes and change of Culture to Locale

* Update WeatherForecastController.cs
2022-08-01 12:57:04 -10:00
Rick Anderson c50e7026da What's new for July 2022-08-01 12:50:30 -10:00
Luke Latham 39ce4114d6
Add cross-link to launchSettings.json guidance (#26605) 2022-08-01 14:09:58 -05:00
Luke Latham 1939cb6156
SignalR message size limit (#26603) 2022-08-01 09:53:01 -05:00
Luke Latham 8616c48b57
Remove oversimplified JS interop modules remark (#26600) 2022-08-01 07:11:33 -05:00
Rick Anderson b84650854d
Merge pull request #26595 from dotnet/davidfowl/remove-duede-from-identity-docs
Remove duende from the core identity docs
2022-07-30 13:01:57 -10:00
Rick Anderson b586c2e7b1
Create readmd.md 2022-07-30 12:47:25 -10:00
David Fowler 326f800d7e
Remove duende from the core identity docs
While Duende does use Identity to manage users that is unrelated to explaining is at it's core. 
We already have an external link to the Dueude identity server, this doc shouldn't mention it when explaining what identity is.
2022-07-29 21:24:52 -04:00
Rick Anderson 14234f45a3
JSON prop names for validation in What's new /6 (#26594)
* JSON prop names for validation in What's new /6

* JSON prop names for validation in What's new /6

* JSON prop names for validation in What's new /6
2022-07-29 11:51:05 -10:00
Wade Pickett ef8cd02ed0
Fix Some Broken Bookmarks (#26411)
* FixBrokenBookmarks

* httpmodules and securedata
2022-07-29 09:18:51 -07:00
Luke Latham 25cd0c9690
Custom validation attribute with DI (#26590) 2022-07-29 05:54:04 -05:00
Alexandru-Razvan Olariu 6aacc229a3
improve text readability. (#26586)
* improve text readability.

Hello,

I was just browsing through our docs and came upon this statement:

"SignalR has been rewritten for ASP.NET Core 2.1. ASP.NET Core SignalR includes a number of improvements:"

It took me some time to parse and understand why we have the "ASP.NET Core" syntax mentioned consecutively.
I would propose a line break after the first phrase - it makes the content easier to understand and read.

Please let me know if you have any issues with this PR.
You can also reach out to me on Teams (aolariu).

Thanks!

* Update

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
2022-07-29 08:44:41 +00:00
Luke Latham c671083e5d
Custom elements support (#26587) 2022-07-29 03:43:41 -05:00
Luke Latham e90253e76b
Add a ref source Basic Test App cross-link (#26589) 2022-07-29 03:38:47 -05:00
Bret McGowen 8f9c4152af
Dev/Prod SQL code for VS Mac to .NET 6 (#26583)
Updated the SQL Lite+Development / SQL Server+Production switching code to use Program.cs per the new .NET 6 minimal hosting model
2022-07-29 00:06:13 -07:00
Rick Anderson ba0e704efa
Prop names of JSON used in validation /6 (#26567)
* Prop names of JSON used in validation /6

* Prop names of JSON used in validation /6

* Prop names of JSON used in validation /6

* Prop names of JSON used in validation /6

* Prop names of JSON used in validation /6

* Prop names of JSON used in validation /6

* Update aspnetcore/mvc/models/validation.md

Co-authored-by: Bruno Oliveira <brunolins16@users.noreply.github.com>

* react to feedback

Co-authored-by: Bruno Oliveira <brunolins16@users.noreply.github.com>
2022-07-28 16:42:04 -10:00
Bruno Oliveira 8ca783057c
Adding back Form Data only statement (#26581)
* Adding back Form Data only statement

* Update model-binding.md

* Update model-binding.md

* cleanup

* clean up

* Fix identation
2022-07-28 15:05:02 -10:00
James Newton-King 15c815f5b7
Change sentence order (#26578) 2022-07-28 23:09:13 +08:00
Luke Latham 8d08eeb144
Update Blazor tooling empty templates (#26576) 2022-07-28 08:14:23 -05:00
Luke Latham 240024f020
Blazor empty templates (#26575) 2022-07-28 07:53:28 -05:00
Luke Latham 27613a70d7
Preserve context for external events (#26574) 2022-07-28 06:49:35 -05:00
GitHubPang 0574784339
Typo fix (#26573) 2022-07-28 04:20:43 -05:00
James Newton-King 62ca849aba
Add HTTP protocols section to gRPC-Web and transcoding docs (#26572)
Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
2022-07-28 16:41:16 +08:00
Rick Anderson 61d0c15fd1 moniker prep for model validation 2022-07-27 13:41:41 -10:00
Rick Anderson 04e7b9298b
Update handle-errors.md 2022-07-27 12:09:42 -10:00
Luke Latham 5b871e9f94
Update event callback approach (#26557) 2022-07-27 04:49:26 -05:00
James Newton-King 1b04f8872d
Add streaming information to gRPC transcoding doc (#26554)
Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
2022-07-27 16:26:16 +08:00
Luke Latham ed9aa0a61b
Blazor template and prerendering updates (#26537) 2022-07-27 03:10:47 -05:00
Xavier Pinho abfaa930c1
`@model T` will generate a class that inherits from `RazorPage<T>`
Shouldn't it be `T` instead of `dynamic` here?
2022-07-26 20:06:10 +01:00
Tom Dykstra c779c17399
Binding source inference with DI (#26543) 2022-07-26 10:49:27 -07:00
GitHubPang 43f6955da5 Remove repeated word "in" 2022-07-26 08:34:04 +08:00
Rick Anderson aecf836fbd
Create readme.txt 2022-07-25 12:36:14 -10:00
Luke Latham 7c1a418c1f
Create 7.0-SDK.md 2022-07-25 10:11:34 -05:00
Rick Anderson 6c3e4b763a what's new top level option 2022-07-22 17:07:19 -10:00
Rick Anderson 961044d9fa Fix snippet syntax 2022-07-22 13:37:28 -10:00
Rick Anderson 9c3db2662e
Merge pull request #26517 from martincostello/patch-1
Fix typos
2022-07-22 10:24:07 -10:00
Tom Dykstra 97d9c915a6
Link to dev-certs reference article (#26521) 2022-07-22 13:11:04 -07:00
Martin Costello 219bb3d539
Fix typos
Fix some typos in the sample.
2022-07-22 06:29:51 +01:00
Rick Anderson 0633968246 What's new add Bind the request body as a stream 2022-07-21 16:16:12 -10:00
Rick Anderson 088e26ddec What's new add Bind the request body as a stream 2022-07-21 16:11:59 -10:00
Rick Anderson 747b2874ef What's new add Bind the request body as a or 2022-07-21 16:02:28 -10:00
Rick Anderson ab68d40f9e Bind request boday as stream /6 2022-07-21 15:55:25 -10:00
Rick Anderson a39ad86ff1 Bind request boday as stream /6 2022-07-21 15:51:35 -10:00
Rick Anderson 8e2388f676 Bind request boday as stream /6 2022-07-21 15:50:05 -10:00
Rick Anderson fa5cbd3feb Bind request boday as stream /6 2022-07-21 15:46:24 -10:00
GitHubPang ccd3f793b2
Fix typos (#26509) 2022-07-21 14:58:56 -10:00
dependabot[bot] 021ad102c4
Bump Azure.Storage.Queues (#26508)
Bumps [Azure.Storage.Queues](https://github.com/Azure/azure-sdk-for-net) from 12.2.0 to 12.11.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Storage.Queues_12.2.0...Azure.Storage.Queues_12.11.0)

---
updated-dependencies:
- dependency-name: Azure.Storage.Queues
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 13:04:58 -10:00
Fiyaz Bin Hasan af96c3ed65
tweaks (#26499) 2022-07-21 12:55:20 -10:00
Rick Anderson 69187e4677
Update app-secrets.md (#26506) 2022-07-21 12:36:57 -10:00
Rick Anderson 26257d2b7d
Update index.md (#26507)
* Update index.md

* Update index.md
2022-07-21 12:35:50 -10:00
Rick Anderson 794b75aa00
Sample folder for EF/RP 7.0 (#26504) 2022-07-21 11:34:27 -10:00
Juergen Gutsch c070a676c8
adding IFormFile samples (#26494) 2022-07-21 11:25:56 -10:00
Rick Anderson 593c18ee2f
Update index.md (#26502) 2022-07-21 11:21:38 -10:00
Luke Latham 7ab23aeea5
Remove duplicated words (#26496) 2022-07-21 10:14:03 +00:00
Rick Anderson 8b3b4aab66
Fix datetime culture (#26486)
* Fix datetime culture

* Fix datetime culture
2022-07-20 12:09:40 -10:00
Rick Anderson 495e556e48
What's new OpenAPI /2 (#26478)
* What's new OpenAPI /2

* What's new OpenAPI /2

* What's new OpenAPI /2
2022-07-19 18:51:10 -10:00
Rick Anderson 73ae2f7515
What's new Typed results (#26475) 2022-07-19 13:13:02 -10:00
Rick Anderson 5c0670f11c
Ra sammy typed sample (#26463)
* created project

* added required test nugets

* added custom controller

* created test file

* added comments

* add new line

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* remove a line

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* remove line

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* removed comment

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* Minimal api typedresults sample

* Minimal api typedresults sample

* Minimal api typedresults sample

* Minimal api typedresults sample

Co-authored-by: Samson Amaugo <sammychinedu2ky@gmail.com>
2022-07-19 13:03:29 -10:00
Rick Anderson 15c473d49a
Updates the salt hashing example for .NET 6 /4 (#26253)
* Updates the salt hashing example for .NET 6 /4

* Updates the salt hashing example for .NET 6 /4

* Updates the salt hashing example for .NET 6 /4

* Updates the salt hashing example for .NET 6 /4

* Updates the salt hashing example for .NET 6 /4

* Replace GetNonZeroBytes with GetBytes

* Add warning about not using to store pw in datastore

* Apply suggestions from code review

Co-authored-by: Levi Broderick <GrabYourPitchforks@users.noreply.github.com>

* react to feedback

* react to feedback

* react to feedback

Co-authored-by: Levi Broderick <GrabYourPitchforks@users.noreply.github.com>
2022-07-19 12:01:55 -10:00
Rick Anderson f692b3de1d
tryparse bind sample clean up (#26474) 2022-07-19 12:00:49 -10:00
Fiyaz Bin Hasan 78297afb66
Tryparse with dynamic format provider supplied from client (#26469)
* refactoring

* refactoring

* Update DateRange.cs
2022-07-19 10:55:24 -10:00
sammychinedu2ky c013987846
Minimal api iform (#26453)
* created project

* added endpoints

* added some lines

* chnaged url

* added name attribute

* added sample html pages for single and multiple uploads

* added comments

* added spacing
2022-07-19 10:40:35 -10:00
Bruno Oliveira 5ca9a8fcf8
Antiforgery doc updates (#26386)
* Adding Minimal API antiforgery example

* Adding Minimal APIs antiforgery sample

* Trying to fix snippet

* Trying fix code snippet

* Using region

* Apply suggestions from code review

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
Co-authored-by: Brennan <brecon@microsoft.com>

* Apply suggestions from code review

* Update aspnetcore/security/anti-request-forgery.md

* Remove regions

* Apply suggestions from code review

Co-authored-by: Martin Costello <martin@martincostello.com>

* Removing region

* Removing region

* Updating to AddEndpointFilter

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
Co-authored-by: Brennan <brecon@microsoft.com>
Co-authored-by: Martin Costello <martin@martincostello.com>
2022-07-19 11:28:26 -07:00
sammychinedu2ky 35e1845378
Minimal api stream sample (#26437)
* created new project

* added channels to serve as queue

* added a background service

* created project

* added channels to serve as a queue

* created background file

* added background service

* added curl comment

* added curl comment

* removed some files

* blank lines added

* add suggestion to batch

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* logger added

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* logging information

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* log error

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* Edit: CamelCasing

Co-authored-by: David Fowler <davidfowl@gmail.com>

* CamelCasing

Co-authored-by: David Fowler <davidfowl@gmail.com>

* Added some modifiers

Co-authored-by: David Fowler <davidfowl@gmail.com>

* edit: cancellation token

Co-authored-by: David Fowler <davidfowl@gmail.com>

* edit: CamelCasing on backgroundservice

* added cancellation token

* edit: changed casing

Co-authored-by: David Fowler <davidfowl@gmail.com>

* changed casing of background

* return status code 202

* removed unnecessary middleware

* changed from stream to byte

* changed channel type to memory<byte>

* removed unnecessary endpoint

* remove line

Co-authored-by: David Fowler <davidfowl@gmail.com>

* changed from Memory<byte> to ReadOnlyMemory<byte>

* added a line

* use buffer to avoid double allocation

Co-authored-by: David Fowler <davidfowl@gmail.com>

* added a comment

* added a comment

* reduced bounded size

* add: spacing

Co-authored-by: David Fowler <davidfowl@gmail.com>

* increase bounded size

* add bounded constraint

Co-authored-by: David Fowler <davidfowl@gmail.com>

* confirming request-size

Co-authored-by: David Fowler <davidfowl@gmail.com>

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
Co-authored-by: David Fowler <davidfowl@gmail.com>
2022-07-18 15:53:00 -10:00
Luke Latham fe11195bab
Repair Blazor virtualization example (#26456) 2022-07-18 16:28:34 -05:00
James Newton-King 9af5718391
Update netstandard.md (#26450)
* Update netstandard.md

* Update netstandard.md

* Update netstandard.md

* Update netstandard.md
2022-07-17 15:41:39 -07:00
James Newton-King 6f3fa15c50
Update supported-platforms.md (#26451)
* Update supported-platforms.md

* Update supported-platforms.md

* Update supported-platforms.md
2022-07-17 15:41:09 -07:00
Luke Latham 3337c7ae5f
WASM logging in Program.cs (#26449) 2022-07-16 05:22:17 -05:00
Rick Anderson 3e81bfbd28
dotnet watch in what's new /6 (#26448)
* dotnet watch in what's new /6

* dotnet watch in what's new /6
2022-07-15 18:23:33 -10:00
Rick Anderson c3daf99993
Update aspnetcore-7.0.md 2022-07-15 15:33:25 -10:00
Liangying.Wei 996e8a595a
No need to explicitly call RemoveFromGroupAsync (#26394)
* No need to explicitly call RemoveFromGroupAsync

The sample added this explicit `RemoveFromGroupAsync` call when the connection disconnects, however, it is a redundant call since when the connection disconnects, it is automatically removed from the group. 
We have customers using Azure SignalR followed this sample and invokes `RemoveFromGroupAsync` for every client disconnect, this increases unnecessary burdon to the Azure SignalR service when the client connection closes burst.

* Update hubs.md

Section Handle events for a connection for all versions: Noted no need for RemoveFromGroupAsync in OnConnectedAsync

* Update hubs.md

Added note on RemoveFromGroupsAsync to all versions of topic.  Corrected Typo.

* Update aspnetcore/signalr/hubs.md

Improved statement.

Co-authored-by: Brennan <brecon@microsoft.com>

* Update hubs.md

Updated statement on RemoveFromGroupAsync for all topic versions.

* Update gRPC example for StronglyTypedChatHubs.cs

Removed RemoveFromGroupAsync call from OnDisconnectedAsync.

Co-authored-by: Wade Pickett <wpickett@microsoft.com>
Co-authored-by: Brennan <brecon@microsoft.com>
2022-07-15 11:32:57 -10:00
Ben Sampica 80a68717fa
Update call-dotnet-from-javascript.md (#26441) 2022-07-15 08:35:45 -05:00
Luke Latham 694732bfcd
Partial updates for previewing images (#26440) 2022-07-15 07:05:53 -05:00
Rick Anderson 600a14fc10
moniker prep for model binding (#26435)
* moniker prep for model binding

* moniker prep for model binding

* moniker prep for model binding
2022-07-14 13:10:05 -10:00
Rick Anderson 7b83246c6f
Merge pull request #26433 from dotnet/tryparse2
Clean up TryParse samples
2022-07-14 11:12:03 -10:00
Rick Anderson f7ce7c88cb Clean up TryParse samples 2022-07-14 11:09:03 -10:00
Luke Latham 9c30734e73
Event callbacks with DynamicComponent (#26432) 2022-07-14 15:40:27 -05:00
Luke Latham c05b6c0bb7
Passing scoped IJSRuntime to singletons (#26431) 2022-07-14 14:49:03 -05:00
Luke Latham caa13114b6
Recommend reading main DI topic (#26430) 2022-07-14 11:34:27 -05:00
Luke Latham 13b157a744
Move Blazor sample apps and add repo cross-links (#26428) 2022-07-14 07:25:26 -05:00
Fiyaz Bin Hasan 24a1b23d83 review changes 2022-07-14 09:48:50 +06:00
Fiyaz Bin Hasan 3761f86dc9 review changes 2022-07-14 09:38:25 +06:00
Rick Anderson 0f895b3c58 Add Streams to What's new 2022-07-13 16:52:29 -10:00
Rick Anderson 1adcedac56
Results.stream overaloads /2 (#26412)
* Results.stream overaloads /2

* Results.stream overaloads /2

* clean up

* clean up

* Apply suggestions from code review

Co-authored-by: Stephen Halter <halter73@gmail.com>

* react to feedback

Co-authored-by: Stephen Halter <halter73@gmail.com>
2022-07-13 16:38:04 -10:00