Commit Graph

15463 Commits (478235e176edad95c642759ec75191a1e28426a6)

Author SHA1 Message Date
Rick Anderson 478235e176
route warning /3 (#28816)
* route warning /3

* route warning /3

* route warning /3

* route warning /3

* route warning /3

* route warning /3

* route warning /3

* route warning /3

* route warning /3

* route warning /3

* route warning /3

* route warning /3

* Update aspnetcore/diagnostics/asp0024.md
2023-03-29 08:51:30 -10:00
Ed Charbeneau de465d550a
Update index.md (#28814) 2023-03-28 20:01:11 -04:00
Muhab Abdelreheem 8adea46a4c
Typo fix - update protect from overposting URL in sample code comments (#28784)
* Typo fix - update overposting url in samples code comments

- Change (`// To protect from overposting attacks, see https://go.microsoft.com/fwlink/?linkid=2123754`) to (`... https://go.microsoft.com/fwlink/?LinkId=317598`) in multiple files. Reference from first example of "Processing the POST Request" from "Part 6, controller methods and views in ASP.NET Core" article (https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/controller-methods-views?view=aspnetcore-7.0#processing-the-post-request).

- Fix spacing by changing (... `TodoItem`that..) and (... `TodoItem`from...) to (... `TodoItem` that..) and (... `TodoItem` from...) in Tutorial: create a web API with ASP.NET Core article.

* Reverted links to original linkid

Original link ID is correct but either the fwlink itself needed and update or the section it points to needs an anchor that matches.  So reverting to original.

---------

Co-authored-by: Wade Pickett <wpickett@microsoft.com>
2023-03-28 12:03:32 -10:00
Melkisedek Hamakali 54e01bf0aa
Fix scaffolding command (#28808)
* Fix scaffolding command

Running with -sqlite will produce the following error. `--useSqlite|-sqlite option is obsolete now. Use --databaseProvider|-dbProvider instead in the future.`
This fixes that.

* Update aspnetcore/tutorials/razor-pages/model.md

Changing this to lowercase just so it matches the instruction provided by the scaffolding itself.

---------

Co-authored-by: Wade Pickett <wpickett@microsoft.com>
2023-03-28 12:53:43 -07:00
Rick Anderson 2faf305ce7
Merge pull request #28809 from melkisedek/patch-2
Add missing required code generation package
2023-03-28 09:21:20 -10:00
Rick Anderson 7105942e25
Trak vs no-tracking /3 (#28796)
* Trak vs no-tracking /3

* Trak vs no-tracking /3

* Apply suggestions from code review

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>

* Update aspnetcore/data/ef-rp/read-related-data.md

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>

---------

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>
2023-03-28 18:30:44 +00:00
Rick Anderson 12e0473260
Merge pull request #28797 from dotnet/Rick-Anderson-patch-4
Update introduction.md
2023-03-28 08:13:42 -10:00
Rick Anderson 72793273e1
Merge pull request #28810 from BillWagner/run-quest-on-org-only
Run only on the .NET org
2023-03-28 07:57:50 -10:00
Bill Wagner c085dca989 Run only on the .NET org
This fails when run on forks. So, run it only on the dotnet org.
2023-03-28 12:21:03 -04:00
Melkisedek Hamakali 58d4a1bfcc
Add missing required code generation package
Without this tool, the command in part 2 for code generation will fail with the message below
```
To scaffold controllers and views using models, install Entity Framework core packages and try again: Microsoft.EntityFrameworkCore.Tools
   at Microsoft.VisualStudio.Web.CodeGeneration.ActionInvoker.<BuildCommandLine>b__6_0()
   at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
   at Microsoft.VisualStudio.Web.CodeGeneration.ActionInvoker.Execute(String[] args)
   at Microsoft.VisualStudio.Web.CodeGeneration.CodeGenCommand.Execute(String[] args)
```
2023-03-28 16:44:33 +02:00
Luke Latham 4a8cbdcca2
Update sample app links (#28806) 2023-03-28 09:04:35 -05:00
Rick Anderson 7dfc575110
Update load-tests.md (#28798) 2023-03-28 02:01:19 +00:00
Rick Anderson 1771657c83
Update introduction.md 2023-03-27 15:50:09 -10:00
Rick Anderson c8cb2c0100
Merge pull request #28794 from dotnet/Rick-Anderson-patch-4
Update first-web-api.md
2023-03-27 14:06:43 -10:00
Rick Anderson a9319e423d
Update first-web-api.md 2023-03-27 14:00:17 -10:00
Rick Anderson e50e22fbdc
Merge pull request #28792 from dotnet/Rick-Anderson-patch-4
Update first-web-api.md
2023-03-27 13:42:38 -10:00
Rick Anderson c18ec2e3c8
Update first-web-api.md 2023-03-27 13:12:31 -10:00
Tom Dykstra 184a09494d
Document ASP0020, ASP0021, ASP0022 (#28791)
* draft

* match actual error message

* tweak wording

* remove duplicate word
2023-03-27 12:31:01 -10:00
Wade Pickett 55c9b92627
Web API with MongoDB: Corrected instructions for MongoDB and database creation (#28781)
* Corrected the version 6.0 instructions to run with the currently available version of MongoDB and MongoDB Shell.
* Clarified which commands were to be run at the OS command line and which ones were to be run on the MongoDB Shell.
* Specified the version of MongoDB required by the tutorial
---------

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>
2023-03-27 14:31:16 -07:00
James Newton-King 8ebab6f8c7
Update interprocess.md (#28786) 2023-03-27 09:30:42 -05:00
Luke Latham aa75cc8d8a
Clarify article pivots to readers (#28778) 2023-03-26 08:20:56 -05:00
Timur Umerov f411a66052
Fix typo in Account confirmation docs (#28773) 2023-03-26 11:34:08 +00:00
Rick Anderson 17a9fb1ebd
Update cors.md (#28775) 2023-03-25 19:15:22 +00:00
Rick Anderson 6cc84bf8c9
JS collocation /3 (#28772)
* JS collocation /3

* JS collocation /3
2023-03-24 15:58:58 -10:00
Rick Anderson 6fb8e09e25
JS colocation /3 (#28770)
* JS colocation /3

* JS colocation /3

* JS colocation /3
2023-03-24 14:43:31 -10:00
Rick Anderson ade04a9ba8
CORs in 7.0 preflight /3 (#28763)
* CORs in 7.0 preflight /3

* CORs in 7.0 preflight /3

* CORs in 7.0 preflight /3

* CORs in 7.0 preflight /3
2023-03-24 13:37:22 -10:00
Robin Norberg 9776427e5e
Update key-storage-providers.md (#28768)
Co-authored-by: Robin Norberg <robin.norberg@biometria.se>
2023-03-24 11:10:21 -10:00
GaryNg f4ee27ff74
Fix typos and formatting (for older version of the doc) (#28760) 2023-03-24 03:22:08 -04:00
Rick Anderson b2fdec1b2b
prep for CORS .NET 8 (#28761)
* prep for CORS .NET 8

* prep for CORS .NET 8
2023-03-23 17:15:35 -10:00
Rick Anderson c04c830b0e
Update routing.md (#28759) 2023-03-24 02:05:30 +00:00
GaryNg af1d6c91da
Fix minor typos and formatting (#28750)
* Fix list formatting

* Formatting and typos
2023-03-23 15:56:37 -10:00
Rick Anderson 1582bfb12f
Create readme.txt 2023-03-23 15:19:25 -10:00
Wade Pickett 507b9f552d
SignalR Get Started Update (#28720)
Updated SignalR tutorial for both .NET 7 and 8.
Moved to version by file, versions 2.1 through 8
Update the prereq includes to v8.
2023-03-23 15:35:39 -07:00
Thomas Claudius Huber 48c625939f
Change MainWindow.cs to MauiProgram.cs (#28751) 2023-03-23 15:54:19 -04:00
Luke Latham c486fac2c1
Blazor hosted WASM with IdS updates (#28718) 2023-03-23 10:42:14 -04:00
Luke Latham 8c4546dce0
Add MS Graph SDK v5 guidance (#28706) 2023-03-23 07:53:17 -04:00
Rick Anderson 44f7831332
Merge pull request #28748 from garyng/patch-1
Fix minor typos
2023-03-22 19:32:03 -10:00
GaryNg 4a10586573
Fix minor typos 2023-03-23 12:14:07 +08:00
Rick Anderson 04fd584260
Merge pull request #28738 from dotnet/asyncSample
add sample
2023-03-22 14:11:31 -10:00
Rick Anderson 0866f8ac03 add sample 2023-03-22 14:07:08 -10:00
Rick Anderson 0d608defb8 add sample 2023-03-22 14:01:00 -10:00
Rick Anderson 4c6ffeb423 add sample 2023-03-22 13:49:16 -10:00
Rick Anderson 401f6dffaa
Update not-latest-version.md (#28736)
* Update not-latest-version.md

* Update aspnetcore/includes/not-latest-version.md

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>

---------

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>
2023-03-22 22:23:32 +00:00
Rick Anderson 76b8e17977
prep for async background task (#28734)
* prep for async background task

* prep for async background task
2023-03-22 11:14:43 -10:00
Rick Anderson 9fab5cfdb0
Azure uses Kestrel and YARP /2 (#28733)
* Azure uses Kestrel and YARP /2

* Update aspnetcore/host-and-deploy/azure-apps/index.md

* Update aspnetcore/host-and-deploy/azure-apps/index.md

* Update aspnetcore/host-and-deploy/azure-apps/index.md
2023-03-22 09:14:53 -10:00
Rick Anderson da94384d10
Kerberos /8 (#28713)
* Kerberos /8

* Kerberos /8

* Kerberos /8

* Kerberos /8
2023-03-22 08:51:32 -10:00
Tom Dykstra f06da7227a
Set up for 'old content' alert (#28730)
* Store image file for 'old content' alert

* add not-latest-version include

* fix image link

* move image file

* address feedback, shrink image

* fix alert box formatting

* remove 'available'

* restore dropped '>'

* Update aspnetcore/includes/not-latest-version.md

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>

* move include-file link

* move include link

* add toc selector image

---------

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
2023-03-21 12:01:19 -10:00
Rick Anderson 91afe5fa35
Update troubleshoot-aspnet-core-localization.md (#28732) 2023-03-21 19:51:36 +00:00
Rick Anderson 93a9c596a0
Update rate-limit.md (#28721) 2023-03-21 08:35:44 -10:00
Tom Dykstra 04c767d47b
Reorg Migration TOC (#28726)
* Reorg Migration TOC

* move one link
2023-03-21 08:35:16 -10:00