Commit Graph

140 Commits (9566ceeec43989d7deabadaecc8a3b2f235920fc)

Author SHA1 Message Date
Wade Pickett e60870889a
v9 Update: First MVC Series - 10 tutorials + app samples (#33192)
* v9 Update First MVC Series - 10 tutorials

* Updated some screenshot links

* Fix link

* Fix code highlite and image link

* Update aspnetcore/tutorials/first-mvc-app/start-mvc.md

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

* Review fixes: remove finsihed app screenshots from start-mvc

---------

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>
2024-07-29 13:40:59 -07:00
Wade Pickett d473a11c77
v9 Update: First MVC Series: Version Prep Only (#33150) 2024-07-23 14:42:44 -07:00
Wade Pickett 2f56d2d0d0
VSC improvements for Razor Pages and MVC Tutorials (#31800)
* RazorPages and MVC Get Starting tutorials VSC improvements

* Expanded changes to version 7-8 of topics

* Apply suggestions from code review

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

* Updated per review feedback

---------

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>
2024-02-16 19:51:49 -08:00
Alex Buck 740e509117 [BULK] - DocuTune - Remove expired ms.custom value 2024-02-01 16:06:34 -05:00
Wade Pickett a326006da9
First MVC: fix missing VSC code (#31369)
* First MVC: fix missing VSC code
* Fix v7 code snippet missing bracket
2024-01-07 14:35:34 -08:00
Wade Pickett c117cb1334
Post 8.0: Update text and screenshot to remove Preview (#31052)
* Post 8.0: Update text and screenshot to remove Preview
2023-11-15 14:00:52 -08:00
Wade Pickett c9feb7e82a
Include not-latest-version.md in multi-version topics (#31031)
* Include not-latest-vesrion.md in all mult-iversion topics owned by wpickett.

* Added Razor Get Started index.md

* Added moniker range in tutorials/razor-pages/index.md
2023-11-14 13:50:00 -08:00
Wade Pickett 19bf899bc3
8.0: MVC Series: Dark theme updates (#30698)
* 8.0:MVC Series: Dark theme updates
* Clarify image and instruction for both debug and without debug in first tutorial of series per feedback.
2023-10-20 12:15:46 -07:00
Wade Pickett 33eb03e1ee
.NET 8 update - macOS - First MVC Series (#30192)
* .NET 8 update - macOS - First MVC Series
* Include migration files in v7 sample
* Changed regions to proper snippet tags
2023-08-31 09:44:29 -07:00
Wade Pickett b8ee7fa9f5
dotnet tool install --arch options (#29923)
* dotnet tool install --arch options, new include plus edit to 31 files to add include.
2023-07-27 14:35:42 -07:00
Wade Pickett 2f55e4264b
v8 Updates for First MVC series (#29115)
* v8 Updates for First MVC series

* Moving debug_menu50.png back to proper directory

* Fixing cross repo link for Migrations with Multiple Providers

* Updated scaffolding -sqlite flag to --databaseProvider sqlite

* Added completed 8.0 code and derived doc code sample with region snippets

* Updated all code links in all topics to 8.0 sample

* Corrected EF Migrations link to relative in add-model.md

* Corrected add scaffolding png on adding-model.md

* Fixed html source highlight

* Apply Tom's suggestion from code review: code style ticks on package listing

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

* Applying Tom's review suggestion to version 7 adding-model as well

---------

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>
2023-05-02 11:34:56 -07:00
Tom Dykstra 8e75587013
Remove manual package installations from VS tab (#28636) 2023-03-10 08:42:52 -10:00
snikolaj 66cf5b3a5f
Fixing typo in links to previous/next pages (#28577) 2023-03-05 10:03:08 -10:00
Wade Pickett f7981d6f07
First MVC Series: Versioning (#28504)
* First MVC Series: Versioning

* Removed accidental index.md change, fixed include link

* Changed .png paths from relative to absolute.

* Fixed next step link

* adding-contoller tutorial versioned.

* adding-view versioned

* adding-model versioned

* adding-model includes for older versions

* working-with-sql versioning

* working-with-sql all versions fix link

* controller-methods-views versioned

* search versioned and a link fixed for controller-method-vie3ws

* new-field versioned

* validation versioned plus code link fix on controller-methods-views6.md

* Details versioned

* Details link to validation.md fixed

* Isolating details.md H1 warning by temp removing earlier versions.

* Isolating details.md H1 warning by temp adding only vers 6 leave out vers 3

* Isolating details.md H1 warning adding details3-5.md back in.

* Fixing links in details and new-field docs

* meta data moniker range ignored on SQL, setting to below date to test

* Fixed search.md version includes at bottom
2023-02-28 11:03:35 -08:00
Wade Pickett c6e0946dd8
Update MacOS .NET 7: Series: Get started with ASP.NET Core MVC (#28195)
* MacOS-.NET7 updates First MVC Series

* Updated Trust Cert includes & screenshots.

* Updated Mac output screenshot

* Scaled down trust cert screens

* Update new controller screenshot

* Update add controller section.

* Scaled screenshots

* Removed outdated output_macos_net7.png

* corrected output_macos image link

* Update add view section, controller, start model.

* Corrected running app screenshot

* Format trust include.

* updated razor view screenshot

* Updated model nuget section

* Updated/corrected mac scaffolding command.

* Updated dependency injection code sample link

* Updates for mac scaffolding section.

* Update sqlite for dev section.

* Combined VSC and VS Mac instruction where possible.

* Retested working-with-sql.md updated metadata

* Corrected validation include to fix #28215

* Updated dates metadata after testing each tutorial.

* Improved resolution on trust cert and add control screenshots

* Apply suggestions from code review

Added Tom's suggestion, first round

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

* Apply suggestions from code review

Adding more of Tom's suggestions

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

* Adding more of Tom's suggestions

* Added Tom's suggestions

---------

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>
2023-01-31 09:22:12 -08:00
Tom Dykstra 61f14edb47
Prefer dotnet aspcodegen over dotnet-aspnetcodegen (#27842) 2022-12-05 17:49:00 -08:00
Wade Pickett 96d01d63c1
Update metadata: author, ms.author and remove by lines (#27698)
* Changing metada author ms.author, remove by line per doc manager

* adding websockets and azure publish using vs docs

* adding choose-web-ui.md

* Added web api, publishing and signalR topics.

* removed 4 topics that already had meta data changed in another PR and I didn't realize

* Update aspnetcore/tutorials/first-mongo-app.md

* Apply suggestions from code review

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

* Update first-mongo-app.md

removed dupe of author expert comment

* Reverting by line removal and adding expert in comments on metadata.

* Update sql.md

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2022-12-01 12:29:45 -08:00
Rick Anderson c08fc1d22b
Do not merge until 8 PM PST: Remove prerelease /2 (#27523)
* Remove prerelease /2

* Remove prerelease /2

* Remove prerelease /2

* Remove prerelease /2

* Remove prerelease /2

* Remove prerelease /2

* Remove prerelease /2
2022-11-07 15:51:13 -10:00
Tom Dykstra 3be7ecd2d2
Put moniker block 7 on top (#27501) 2022-11-04 17:39:05 -07:00
Tom Dykstra a10f9311d6
MVC Intro tutorial .NET 7 update (#27268) 2022-10-25 13:56:30 -07:00
Tom Dykstra 301c075d8d
Add .NET 7 moniker sections (#27221) 2022-10-07 15:55:24 -07:00
Luke Latham e175588086
Institute global no-loc (#26036)
* Institute global no-loc

* Updates

* Updates

* Updates

* Updates

* Updates
2022-06-03 11:35:55 -10:00
Fiyaz Bin Hasan 6bee26e95c
Update adding-model.md (#25761) 2022-05-01 09:27:45 -10:00
Luke Latham 546a06a2d5
Blazor no-loc adds (#25429) 2022-03-25 18:19:18 -05:00
Kirk Larkin 2a5520dc53
Code-fence common file extensions (#25383) 2022-03-23 10:48:44 +00:00
Kirk Larkin cc48f32954
Code-fence common filenames (#25369) 2022-03-21 12:24:36 -10:00
Luke Latham 5f1743e629
Add Blazor Hybrid to no-loc metadata (#25064) 2022-02-18 07:17:09 -06:00
Kirk Larkin 2405226288
Code-fence references to Program.cs (#24995) 2022-02-14 12:16:29 -10:00
Kirk Larkin 7acd6555dd
Replace /dotnet/api with xrefs in Tutorials (#24986) 2022-02-14 10:56:36 +00:00
Shawn Mannen 0c842d8fb3
Update markdown for UI element (#24876)
* Update markdown for UI element

* Update command options to be consistent
Clarify command option ambiguity
Mark PATH setting required for macOS
2022-02-07 08:31:42 -10:00
Kirk Larkin e3c99c2fe5
Prefer :::moniker over ::: moniker (#24805) 2022-01-31 13:12:01 -10:00
Rick Anderson f471b03314
Update adding-model.md (#23980) 2021-11-18 18:36:43 -10:00
Rick Anderson e88b3d56c4
Update adding-model.md 2021-11-15 09:28:20 -10:00
Rick Anderson 6fe9a2b51f
Update adding-model.md (#23835) 2021-11-09 17:26:54 -10:00
Rick Anderson 84621a30d3
Update adding-model.md (#23800) 2021-11-08 15:49:57 -10:00
Rick Anderson 4c248f1a7f
Update adding-model.md (#23707) 2021-11-01 14:14:01 -10:00
Wade Pickett 6e80c9667a
v6Update: MVC Getting Started - Adding Model: Startup.cs move to Program.cs (#23473)
* Adding Model v6 update correction

* Added install-package Microsoft.EntityFrameworkCore.SqlServer which is needed for current .NET 6 and VS 2022 previews
2021-10-06 15:01:50 -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
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
Tom Dykstra 56795b507d
Prep for .NET 6 update MVC Intro (#23242) 2021-09-09 16:37:44 -07:00
Amal Krishna a56d5ce4e5
Improve formatting (#22624)
* Improve formatting

* Correct spacing 
* Format unformatted code elements 
* Change "`@model` keyword" to "`@model` directive"
* Format buttons with `<kbd>`

* Updates

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
2021-06-27 18:03:18 +00:00
Rick Anderson 0afeec98c8
Update adding-model.md (#22468)
* Update adding-model.md

* Update working-with-sql.md
2021-06-01 06:22:34 -10:00
Rick Anderson 8f1cdcd67e
SHow how to log SQL (#22390)
* SHow how to log SQL

* SHow how to log SQL

* SHow how to log SQL

* SHow how to log SQL

* SHow how to log SQL
2021-05-24 12:42:33 -10:00
Wade Pickett bc0483909b
First-MVC series: Model & DB tutorials: MT, improve readability and fix issues (#22173)
* Rewrite for First MVC series: Adding Model & Working with SQL

* Fixed codegenerator command to include -sqlite for Mac tab

* Troubleshooting merge issue blocking the build.

* Adding no-loc and date back in from main to resolve merge issue

* Adding no-loc and date from main to resolve merge conflict on working-wth-sql.md

* Added new no-loc and date metadata back in after resolving merge

* Trying to resolve no-loc metadata merge conflict, adding at end

* removed Create, Read, Update, Delete, Details from no loc, no way to fix merge conflict

* added old meta data date back in. Can't resolve merge issue

* Setting date back to resolve merge conflict

* fixing dates to fix merge conflict

* Added sqlite to code generator params table.

* formatted DbContext in model4 include

* Apply Rick-Anderson suggestions from code review

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

* Added recommendations by Rick-Andersion to adding-model.md

* Updated no-loc to match update on main for adding-model.md

* Synced meta data with main to avoid merge conflict

* removing changes back to last successful merge and build to resolve merge issue

* Merge troubleshoot: reverting changes past 51c6d30

* Moving all changes to date back in, after troubleshooting merge issue.

* Merge troubleshoot: updating no-loc metadata on sql.md to match what is on main branch

* model.md: moved sections into this order: scaffold the movie, initial mig, Test, Examine

* Adding Rick's suggestions: IDE specific files edited by scaffolding.

* Split up add controller screenshots in adding-model.md

* Added unique alt text to DC screenshots.

* fixed screenshot name dc5_add_dc.png

* Moved note on price field to test the app section.

* Moving words: you were    back into instruction per Rick request

* Shortening code lines to under 86 characaters.

* Reducing dc dialog screenshots.

* Changed add mvc controller screenshot per review feedback

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2021-05-22 04:48:44 -10:00
Rick Anderson ad321c2700
Add Home and Privacy to no-loc (#22237)
* Add Home and Privacy to no-loc

* Add Home and Privacy to no-loc
2021-05-08 10:12:34 -10:00
Rick Anderson 2f00739f4e
Kestrel to no-loc (#22182) 2021-05-01 13:03:18 -10:00
Luke Latham 0cdd48bad0
Highlight line (#22130) 2021-04-25 06:30:31 -05:00
Rick Anderson 1817befc59
SQLite in dev, SS in production links (#21610)
* SQLite in dev, SS in production links

* Apply suggestions from code review

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

* react to feedback

* react to feedback

* Update aspnetcore/tutorials/first-mvc-app/adding-model.md

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

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

* Update adding-model.md

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2021-03-18 11:42:06 -10:00
robbkenobi 711921dda8
Update adding-model.md (#21065)
Fixes issue with a walkthrough user copying insufficient rows, corrupting their appsettings.json, leading to error running scaffolding:
'Unable to resolve service for type 'Microsoft.EntityFrameworkCore.DbContextOptions`1[MvcMovie.Data.MvcMovieContext]' while attempting to activate 'MvcMovie.Data.MvcMovieContext'.'
See this link: https://github.com/dotnet/AspNetCore.Docs/issues/20692#issuecomment-751956041
2020-12-29 12:06:42 -10:00
ptrm04 496a033036
Updating highlights and Mac instructions (#20783)
* Updating highlights and Mac instructions

Incorrect highlights for json snippets
Missing key step for steps on Macs

* Update aspnetcore/tutorials/first-mvc-app/adding-model.md

Co-authored-by: Wade Pickett <wpickett@microsoft.com>
2020-12-07 16:24:26 -08:00