Commit Graph

15488 Commits (7ec5f34ef3ae1c9c31cc487d6c464d757af6e14c)

Author SHA1 Message Date
Fiyaz Bin Hasan 7ec5f34ef3
Static File Auth Minimal Api (#28856)
* static file auth minimal api

* code review changes

* Update Program.cs

* Update Program.cs

* Update Program.cs

* refactored
2023-04-04 13:52:10 -10:00
Luke Latham 1cb91e1bbc
Blazor old content alert (#28874) 2023-04-04 11:06:06 -04:00
Luke Latham 1845b81ae1
Symbol accessibility (#28873) 2023-04-04 09:45:22 -04:00
Luke Latham 74751ecc61
Additional scenarios article updates (#28857) 2023-04-04 06:37:10 -04:00
Rick Anderson 2de70adad6
fix monikers /3 (#28870)
* fix monikers /3

* fix monikers /3

* fix monikers /3

* fix monikers /3
2023-04-03 16:18:33 -10:00
Tom Dykstra 219a659951
Set up for 8.0 updates (#28868) 2023-04-03 16:59:35 -07:00
Wade Pickett 1ac0d89506
SignalR Getting Started: Add next steps & resources (#28849)
* SignalR Getting Started: Add next steps & resources

* Changes per review suggestion
2023-04-03 10:24:33 -07:00
Eric Mutta 738dd3d7d6
Fix typo in index.md (#28854) 2023-04-02 17:02:28 -04:00
Luke Latham dd776cd5bd
Fix broken links (#28851) 2023-04-01 07:38:59 -04:00
Tom Dykstra 43fd66219a
Advise when to use runtime compilation (#28708)
Co-authored-by: Daniel Roth <daroth@microsoft.com>
2023-03-31 19:49:19 -07:00
Tom Dykstra 0fc43e57f6
Remove false statement about UseUrls method (#28843) 2023-03-31 19:45:05 -07:00
github-actions[bot] 06945d2714
What's new article (#28844)
* Bot 🤖 generated "What's new article"

* Update aspnetcore/whats-new/dotnet-AspNetCore.Docs-mod3.md

---------

Co-authored-by: Rick-Anderson <Rick-Anderson@users.noreply.github.com>
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2023-03-31 15:22:20 -10:00
cn-byn 67ee1ef19c
Remove prefix from script tag helper attribute "src" (#28802)
* Remove prefix from script tag helper attribute "src"

Document the script tag helper attribute "src" instead of the non-existent attribute "asp-src". Move description of said attribute to the top, similar to link tag helper's "href" attribute.

* Update aspnetcore/mvc/views/tag-helpers/built-in/script-tag-helper.md

---------

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2023-03-31 14:26:27 -10:00
Artak 3e85e86e60
Do not recommend Blazor WASM extension for debugging in VSCode (#28841) 2023-03-31 22:36:50 +00:00
Rick Anderson a28a7e9930
Merge pull request #28799 from dotnet/Rick-Anderson-patch-6
Update cross-site-scripting.md
2023-03-31 12:10:36 -10:00
Rick Anderson 142d3fe97a
what's new in 8.0 /3 (#28824)
* what's new in 8.0  /3

* what's new in 8.0  /3

* what's new in 8.0  /3

* what's new in 8.0  /3

* what's new in 8.0  /3

* what's new in 8.0  /3

* what's new in 8.0  /3

* what's new in 8.0  /3
2023-03-30 15:46:10 -10:00
Rick Anderson 086a7ab298
Update code-analysis.md (#28835)
* Update code-analysis.md

* Update aspnetcore/diagnostics/code-analysis.md

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

* Update code-analysis.md

* Update code-analysis.md

* Update aspnetcore/diagnostics/code-analysis.md

---------

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>
2023-03-30 15:37:56 -10:00
claudiaregio c7e3c3bec0
add_aspnet_survey (#28836) 2023-03-30 13:59:40 -10:00
Patrick Szalapski 6ae8b3cb27
Update 60-70.md (#28834) 2023-03-30 17:35:44 -04:00
Rick Anderson 8e6aef7ed0
UseHttpLogging call before or after UseStaticFiles (#28822)
* Update index.md

* Update aspnetcore/fundamentals/http-logging/index.md

Co-authored-by: Soheil Alizadeh <xsoheilalizadeh@gmail.com>

---------

Co-authored-by: Soheil Alizadeh <xsoheilalizadeh@gmail.com>
2023-03-30 11:06:08 -10:00
Luke Latham d8b029a127
Blazor QuickGrid article (#28827) 2023-03-30 09:29:54 -04:00
Luke Latham 6b077e8b66
Additional element reference guidance (#28829) 2023-03-30 09:02:14 -04:00
Luke Latham 14f3d61e06
Blazor QuickGrid coverage enhancements (#28767) 2023-03-30 08:10:16 -04:00
Tom Dykstra 004dbfa029
Some H3s to H2s and H5s to H4s (#28820) 2023-03-29 15:27:01 -07:00
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 44605583ba
Update cross-site-scripting.md 2023-03-27 17:20:04 -10: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