Commit Graph

8923 Commits (54785bc1bdb7cddeeeaee0f293858ebbe7f26f5f)

Author SHA1 Message Date
Luke Latham 54785bc1bd
Blazor tutorials updates (#23397) 2021-09-28 08:08:14 -05:00
Tom Dykstra b462a46247
Prep PR for Middleware (#23393)
* remove 2.1/2.2 moniker block

* add 6.0 moniker block

* remove 2.2 sample code
2021-09-27 12:11:50 -07:00
Rick Anderson f554286ed3
V6 MVC routing /3x (#23246)
* V6 MVC routing /3x

* V6 MVC routing /3x

* V6 MVC routing /3x

* Update aspnetcore/mvc/controllers/routing/samples/6.x/main/Controllers/TestController.cs

Co-authored-by: David Pine <david.pine@microsoft.com>

* V6 MVC routing /3x

* V6 MVC routing /3x

* V6 MVC routing /3x

* V6 MVC routing /3x

* V6 MVC routing /3x

* V6 MVC routing /3x

* V6 MVC routing /3x

* V6 MVC routing /3x

* V6 MVC routing /3x

* V6 MVC routing /3x

* V6 MVC routing /3x

* V6 MVC routing /3x

* V6 MVC routing /3x

Co-authored-by: David Pine <david.pine@microsoft.com>
2021-09-27 09:45:54 -07:00
Tom Dykstra a9b6cd93bf
6.0 update: Intro to MVC (#23345)
* draft 1-7

* draft

* fix build warnings

* fix build warning

* draft

* draft

* corrections

* corrections

* corrections

* fix snippet link

* fix link

* corrections

* corrections

* add build the app section

* remove MvcMovie60/wwwroot/lib

* fix seed method call

* fix 6.0-completed
2021-09-27 09:43:42 -07:00
Joan-Pujol 61a0f2b89c
Update SchoolContext.cs (#23390)
Changed the ToTable for Student from "Student" to "Person". Same for Instructor.
Otherwise and error is raised
2021-09-27 09:39:20 -07:00
Ernest Nguyen fc36f704ba
Update loadbalancing.md (#23386) 2021-09-27 04:42:09 -05:00
Luke Latham dfdd5ab752
gRPC topic author and byline updates (#23366) 2021-09-27 04:40:05 -05:00
Luke Latham 8eea9e8604
Update hosted WASM debug guidance (#23381) 2021-09-24 13:18:03 -05:00
Luke Latham d042cbd369
Blazor prerendering and integration updates (#23364) 2021-09-23 06:49:47 -05:00
Alaa Masoud a332a09e21
Update http3.md (#23375) 2021-09-22 18:46:32 -05:00
Chew Hung Pong 3eba4e6673
Update new-field.md (#23361)
* Update new-field.md

Propose to show a list of pages to be updated with the local file path, and pages' remote link to get the actual `Rating` field code.

* Update list of pages for version < 5.0

* Update the links of version 5.0 to the RazorPagesMovie50 tutorial

* Update list of pages for version 6.0

* Change list of pages to be updated to be an unordered list

* Update links to use /blob instead of /tree when referring to a file.
2021-09-22 06:53:43 -07:00
Luke Latham 387436a6e5
Download a sample guidance updates (#23370)
* Download a sample guidance updates

* Updates

* Updates

* Updates
2021-09-21 20:02:30 -07:00
SpiritBob 33d617798f
Improve [Required] attribute usage (#23355)
Clarifies to the end-user that for non-nullable reference types a non-default `[Required]` attribute is used, that only checks for null values.
2021-09-21 10:41:13 -07:00
Luke Latham ea286af7e3
Remove extra words (#23362) 2021-09-21 10:20:25 -05:00
Ted 7b3e18fc43
Cross-link certificate use patterns for App Service (#23359) 2021-09-21 10:20:04 -05:00
Chew Hung Pong 675baf03e9
Update adding-model.md (#23360)
* Update adding-model.md

Remove extra wording "these services" in MVC tutorial.

* Updates

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
2021-09-21 07:39:59 -07:00
Kent Sharkey f9d8c5a99c
Linkfix: ASP.NET (2021-09) (#23356) 2021-09-20 13:29:13 -05:00
SpiritBob 8cff70bb33
Fixes #23034 (#23354)
Makes it clear to the end-user that the `[Required`] attribute used for non-nullable context is not the default one, but one that only checks for null values.
2021-09-20 08:06:41 -07:00
Poornima Nayar 89ee0e2649
Updated gRPC services. (#23349)
Added a line about ServerCallContext
2021-09-18 14:06:47 -07:00
Chew Hung Pong e01d5b0c9b
Update model.md (#23346)
Remove extra wording "these services".
2021-09-17 17:02:45 -07:00
Sourabh Shirhatti 0019a56f0d
Kestrel diagnostics doc (#23319)
* WIP: Kestrel diagnostics

* Update aspnetcore/fundamentals/servers/kestrel/diagnostics.md

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

* Apply suggestions from code review

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

* Update diagnostics.md

* x-link to endpoint doc

* Update toc

* Fix doc uid

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
Co-authored-by: Aditya Mandaleeka <adityamandaleeka@users.noreply.github.com>
2021-09-17 17:01:32 -07:00
Luke Latham 792dcebaaf
Update Blazor-EFCore factory remarks (#23341) 2021-09-17 06:23:42 -05:00
Luke Latham 5349f3d3fd
Blazor JS initializers (#23331) 2021-09-17 06:09:10 -05:00
Luke Latham b76099dcda
Update Long Polling content (#23333) 2021-09-16 13:28:55 -05:00
David Pine 8788617b25
Update introduction.md (#23328)
* Update introduction.md

Correct the introduction phrasing of RPC calls, it is not always JavaScript - that is but a single client SDK.

* Update introduction.md

* Apply suggestions from code review
2021-09-16 10:46:38 -07:00
Luke Latham e5c703659d
JS file collocation with Razor components (#23327) 2021-09-16 10:48:26 -05:00
Wade Pickett fe9bacf7ea
removed 3 policheck hits from two files. (#23304) 2021-09-16 08:23:18 -07:00
Chris Ross 512de02430
ServerOptionsSelectionCallback and TlsHandshakeCallbackOptions (#23302) 2021-09-16 08:11:14 -07:00
pramuka9 085d5d3d41
Fixed @ symbol work definition (#23323)
it transitions into Razor-specific markup. Otherwise, it transitions into plain HTML.
-- NOT "plain C#"
2021-09-15 19:14:30 -07:00
GitHubPang ab52006f94
Fix typos (#23324) 2021-09-15 20:38:34 -05:00
Levi Broderick 7568299907
Update dead external link (#23322) 2021-09-15 15:50:18 -05:00
Rick Anderson 1bca9b293f
Update scaffold-identity.md (#23318) 2021-09-15 13:18:00 -07:00
pramuka9 137bff10ef
Fixed '@' symbol work definition (#23317)
`@` symbol is followed by a Razor reserved keyword, it transitions into Razor-specific markup, otherwise it transitions into HTML. --NOT '...into C#."
2021-09-15 12:18:56 -07:00
LaughingJohn a66bdec873
Move the creation of the QR code to a js file. (#23306)
* Move the creation of the QR code to a js file.

In-line JavaScript is insecure and breaks script-src 'unsafe-inline' in Content Security Policy.

Note: I think the part about locating the Scripts section in EnableAuthenticator.cshtml should probably go after bit I've added about creating the js file (qr.js), and before updating the scripts section. I haven't moved it as I wasn't sure how the "moniker" directives worked and didn't want to break anything. (my first ever documentation proposal)

* Apply suggestions from code review

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2021-09-15 10:35:14 -07:00
Luke Latham 3832b61e33
Performance Caching Memory updates (#23311) 2021-09-15 09:29:32 -05:00
Luke Latham ad2b83a466
Blazor file uploads example update (#23316) 2021-09-15 08:58:25 -05:00
Luke Latham 989ee4a868
Generate Angular and React components (#23315) 2021-09-15 08:18:55 -05:00
Luke Latham c58e4738eb
Blazor custom elements (#23314) 2021-09-15 07:52:05 -05:00
Luke Latham 03f4b576e0
Render components from JS (#23313) 2021-09-15 07:20:57 -05:00
Emil Zagrajek 81daf39321
Update HomeController.cs (#23307) 2021-09-15 06:02:35 -05:00
Luke Latham 11e9c29764
Blazor preserve state and RC updates (#23308) 2021-09-15 05:55:25 -05:00
Rick Anderson 55858e15bb
Update http3.md (#23303)
* Update http3.md

* Update aspnetcore/host-and-deploy/iis/http3.md
2021-09-14 16:33:02 -07:00
Luke Latham 4c58fc4488
RC1 remark removal (#23301) 2021-09-14 14:12:55 -05:00
Chris Ross 387289d503
Don't merge until RC1: Docs for HTTP/3 on IIS (#23254)
* Docs for HTTP/3 on IIS

* Apply suggestions from code review

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

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2021-09-14 11:49:55 -07:00
William Godbe b443854574
publish when RC1 is shipped on the 14th: Update HTTP3 Sample for RC1 (#23204)
* Update HTTP3 Sample for RC1

* Update http3.md
2021-09-14 11:49:36 -07:00
Rick Anderson 4c50983fbc
RC1 httpsys by chris/4 (#23257) (#23293) 2021-09-14 11:49:11 -07:00
Aditya Mandaleeka 61fdcaab80
Link to full doc on preview features instead of a subsection. (#23289)
* Link to full doc on preview features instead of a subsection.

* Update aspnetcore/fundamentals/servers/kestrel/http3.md

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2021-09-14 11:44:04 -07:00
Tom Dykstra 628d08e364
.NET 6 update web API tutorial (#23231)
* draft

* update byline

* proofread

* comment out vs mac tabs

* fix tabs

* fix tabs

* remove 'or later'

* remove 'preview'

* adjust moniker tag

* remove 'or later'

* fix snippet links

* fix snippet link

* fix rest of link

* tweak comments

* vs code instructions

* tweak nrt code

* tweak nrt code

* tweak nrt code

* proofread

* corrections
2021-09-13 19:50:27 -07:00
Tom Dykstra b57465afbc
6.0 update: Background tasks with hosted services (#23286)
* draft

* remove empty moniker block

* fix moniker blocks

* typo

* remove unneeded moniker tags

* minor corrections

* simplify moniker tags

* reduce number of moniker blocks
2021-09-13 19:38:48 -07:00
Luke Latham 42306da436
Cross-link async/sync perf guidance (#23284) 2021-09-13 08:36:36 -05:00