Commit Graph

10684 Commits (43ae480ffc8ed0095dd42d88ca801c20b33d8e5e)

Author SHA1 Message Date
Gunnar c6ee7c58a2
Don't duplicate calls made in AddDefaultIdentity (#18376)
Usage of AddDefaultIdentity does not match the description here
https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-3.1&tabs=visual-studio#adddefaultidentity-and-addidentity

Changed to AddIdentity where subsequently chained calls are duplicating calls made inside AddDefaultIdentity
2020-06-16 12:01:39 -10:00
Kirk Larkin cfbf8ceb7c
Patch up a few broken anchor references (#18813) 2020-06-16 11:49:11 -10:00
Brennan a257708e2a
Add 'headers' option to docs (#18814) 2020-06-15 17:16:10 -07:00
Rick Anderson 98b8d558c4
Update kestrel.md (#18803)
* Update kestrel.md

* Update aspnetcore/fundamentals/servers/kestrel.md

Co-authored-by: Chris Ross <Tratcher@Outlook.com>

Co-authored-by: Chris Ross <Tratcher@Outlook.com>
2020-06-15 13:49:11 -10:00
Steven Belskie 94755487c2
Add reference for ApiAuthorization nuget package (#18812) 2020-06-15 12:17:09 -05:00
Luke Latham ff6f0684fe
Blazor lifecycle ordering clarifications (#18610) 2020-06-15 08:49:02 -05:00
Luke Latham b8713d108e
Clarify Blazor topic PWA-SPA remark (#18808) 2020-06-15 08:37:06 -05:00
Luke Latham 6f8db9a59b
Update Blazor EventCallback example (#18802) 2020-06-14 11:32:38 -05:00
Luke Latham 2d32ec6eb2
Clarify Blazor placeholder "{APP ASSEMBLY}" (#18801) 2020-06-14 09:58:51 -05:00
k.zakiev 6384d36249
fixed link to the command-line config provider (#18800) 2020-06-14 08:40:40 -05:00
Rick Anderson daf57cb587
CatchAll bug fix released (#18792)
* CatchAll bug fix released

* CatchAll bug fix released
2020-06-12 12:35:56 -10:00
Luke Latham 63d40f5602
SignalR naming consistency (#18759) 2020-06-12 15:55:07 -05:00
Scott Addie 7535617241
Change VS 2019 16.7 requirement to 16.6 for ASP.NET Core 5.0 (#18790) 2020-06-12 14:03:24 -05:00
Rick Anderson cf22683ed7
fence folders (#18787) 2020-06-12 08:56:27 -10:00
Luke Latham 67e74379f8
Blazor WASM SignalR client logging (#18780) 2020-06-12 13:41:46 -05:00
Luke Latham a939aeb988
Fix two bad API doc crosslinks (#18783) 2020-06-12 08:54:00 -05:00
Rick Anderson c5e3adf516
make clear custom policy requirements (#18775) 2020-06-11 17:03:44 -10:00
Rick Anderson adf4296ceb
fence reserved keywords (#18772) 2020-06-11 16:37:13 -10:00
Rick Anderson a377a9e8a3
Optional client certs (#18684)
* Optional client certs

* Optional client certs

* Optional client certs

* Apply suggestions from code review

Co-authored-by: Chris Ross <Tratcher@Outlook.com>

* tratcher remarks addressed

* tratcher remarks addressed

* tratcher remarks addressed

* Update aspnetcore/security/authentication/certauth.md

Co-authored-by: Chris Ross <Tratcher@Outlook.com>

* tratcher remarks addressed

* tratcher remarks addressed

* Update aspnetcore/security/authentication/certauth.md

Co-authored-by: Chris Ross <Tratcher@Outlook.com>

* work

Co-authored-by: Chris Ross <Tratcher@Outlook.com>
2020-06-11 13:26:51 -10:00
Rick Anderson 35f263256a
Disable pages in Identity UI (#18768) 2020-06-11 12:41:49 -10:00
Kirk Larkin a4016cc229
Minor follow-up tweaks to HttpClient changes (#18769) 2020-06-11 12:41:32 -10:00
Luke Latham 7b3ad3eae8
Language update (#18760) 2020-06-11 10:17:51 -10:00
Scott Addie 3595e7c5e7
Update migration guide for 5.0 Preview 5 (#18765)
* Update migration guide for 5.0 Preview 5

* Update includes

* Remove comment

* minor edit
2020-06-11 10:14:04 -10:00
Rick Anderson ad32329a8b
RedirectUri (#18751) 2020-06-11 10:11:21 -10:00
Kirk Larkin ce87a9b905
Demonstrate GET, POST, PUT, and DELETE with HttpClient (#18650)
* dotnet new webapp

* Cleanup scaffolding and move to CDNs/inline CSS

* Add basic Web API for TodoItems

* RP examples for hitting the API with CRUD

* Use a Typed Client for deduplication

* Use the incoming URL to determine HttpClient.BaseAddress

* Add an explanation to the topic

* Update aspnetcore/fundamentals/http-requests.md

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

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2020-06-11 10:10:41 -10:00
Luke Latham ccdbaf26ab
Change Blazor example service registration (#18764) 2020-06-11 12:20:25 -05:00
Luke Latham 0fd5bc09b7
Update bookmarks (#18762) 2020-06-11 11:48:44 -05:00
dharmatech 5d14ae1b2d
Remove extra character (#18756)
Productions apps -> Production apps
2020-06-11 10:24:11 -05:00
Luke Latham a077be5cef
Misspelled word 🙈 in Blazor WASM security topics (#18755) 2020-06-11 10:14:47 -05:00
MLS 39e2b63a02
corrected spelling in the word (#18750) 2020-06-11 05:36:19 -05:00
Brennan 5ec47aa88b
Cleanup SignalR Windows Auth with browsers (#18296)
* Cleanup SignalR Windows Auth with browsers

* Update

* Update authn-and-authz.md

* Update authn-and-authz.md

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2020-06-10 16:14:48 -10:00
dharmatech fe19fa7703
Remove superfluous instructions (#18738)
At the end of the page, the following is mentioned:

> Add the Rating field to the Edit, Details, and Delete view templates.

However, we are already instructed to do so earlier in the tutorial:

> Update the remaining templates.

Also at the end of the page:

> Update the binding in the edit action method of the MoviesController.

Again, we are already instructed to do so earlier in the tutorial:

> update the [Bind] attribute for both the Create and Edit action methods to include the Rating property
2020-06-10 16:14:23 -10:00
Brennan 9074d66382
Hub filter doc (#18416)
* Hub filter doc

* new example

* whoops missed an arg

* fix

* fb

* Apply suggestions from code review

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* Update aspnetcore/signalr/hub-filters.md

* fb

* fb

* Apply suggestions from code review

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2020-06-10 16:40:35 -05:00
Luke Latham 7cf06c1554
Blazor WASM configure SignalR client (#18742) 2020-06-10 12:48:45 -05:00
Luke Latham dfeed17ffe
Set Blazor Server auth scheme explicitly (#18665) 2020-06-10 10:17:08 -05:00
Luke Latham 727f383db7
Enhance InputText-based custom events example (#18666) 2020-06-10 10:16:06 -05:00
Luke Latham 9d16672967
Update Blazor WASM security state container (#18652) 2020-06-10 09:36:41 -05:00
Rick Anderson 4db324f525
Fix Series SEO clickbait (#18658)
* Fix Series SEO clickbait

* Fix Series SEO clickbait

* Fix Series SEO clickbait
2020-06-09 13:44:21 -10:00
Rick Anderson dd2f0caf0f
Can't apply [Authorize] on page handler methods (#18676)
* Can't apply [Authorize] on page handler methods

* Can't apply [Authorize] on page handler methods

* add compose warning

* add compose warning

* add compose warning

* add sample

* add sample

* add sample

* add sample

* add sample

* Update AuthorizeIndexPageHandlerFilter.cs

* Update AuthorizeIndexPageHandlerFilter.cs

* Update Index.cshtml.cs

* Update Startup.cs

* work

* work

* work

* Update aspnetcore/security/authorization/simple.md

Co-authored-by: Pranav K <prkrishn@hotmail.com>

Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-06-09 13:43:57 -10:00
Kirk Larkin 2e5b95a461
Fix RegEx for Genre across the repo (#18732) 2020-06-09 16:11:10 -05:00
Steven Belskie b5687947da
Fix to point to correct sample (#18730) 2020-06-09 13:05:50 -05:00
Luke Latham c65cc07224
Enhance Blazor offline auth scenario content (#18729) 2020-06-09 09:46:00 -05:00
dharmatech ebe1c3de33
Remove extraneous dash (#18727) 2020-06-09 08:25:16 -05:00
Christopher Harrison 97ed2fe1dc
Move install of NuGet packages (#18689)
#18688
2020-06-08 12:43:17 -10:00
Luke Latham 68a5d07743
Fix a couple of broken links (#18717) 2020-06-08 17:03:43 -05:00
Rick Anderson 23cecc8f85
Fix RequestResponseSample for 3.1 (#18557)
* Fix RequestResponseSample for 3.1

* work

* work

* work

* delete commented out code

* Update Startup.cs

* delete commented out code

* clean up and testing notes

Co-authored-by: Justin Kotalik <jukotali@microsoft.com>
2020-06-08 10:04:20 -10:00
dharmatech 4d95f5f711
Genre regular expression (#18699)
Update Genre regular expression to match the intention as described in the tutorial text.

[This page](https://github.com/dotnet/AspNetCore.Docs/blob/master/aspnetcore/tutorials/razor-pages/validation.md) says that Genre:

* Must only use letters
* The first letter is required to be uppercase. White space, numbers, and special characters are not allowed.

The original regular expression used:

@"^[A-Z]+[a-zA-Z""'\s-]*$"

says to allow double quotes, whitespace, and dashes after the first letter.
2020-06-08 14:04:15 -05:00
Kirk Larkin 772f7306fe
Add note for ValidateDataAnnotations NuGet package (#18685)
* Add note for ValidateDataAnnotations NuGet package

* Update aspnetcore/fundamentals/configuration/options.md

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2020-06-08 13:52:24 -05:00
Pranav K cc9a861c90
Compression (#18712) 2020-06-08 12:04:23 -05:00
Pranav K 19a5fbdd38
Add notes about brotli in the browser (#18697) 2020-06-08 11:14:45 -05:00