Skip to content

First MVC tutorial: Adding View: Account for Compact and All Templates dialog #35059

Open
@wadepickett

Description

@wadepickett

Description

In the Visual Studio tab section for this topic we assume the Add New Item dialog always shows up by default as the compact version and we instruct to select Show all Templates.

The view for this dialog for "Add new Item" however is sticky. It stays in the compact or All Template version depending on what was used last. The default on a new install of VS that has not been used is the compact form, but of course it can't be counted on.

PR #35049 corrected version 9, which was done quickly in response to that community PR but did not extend to version 8. Update version 8 and check for the same issue on Razor Pages, Blazor tutorials, anywhere we are referring to that dialog but might be assuming it is either in a compact or all template state.

Thanks to @DejanPopovic1 for bringing up this issue!

Page URL

https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/adding-view?view=aspnetcore-9.0&tabs=visual-studio

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/first-mvc-app/adding-view.md

Document ID

00c2c01d-d235-2d2d-5c96-1f33a9314382

Platform Id

e81aa33a-13c8-c305-33ec-fcad6bfc8d6b

Article author

@wadepickett

Metadata

  • ID: 788d46c9-a91a-2788-8db7-b53c37b512f2
  • PlatformId: e81aa33a-13c8-c305-33ec-fcad6bfc8d6b
  • Service: aspnet-core
  • Sub-service: tutorials

Related Issues

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions