* 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>
* 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
* 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>
* 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>
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)
```
* 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>