Skip to content

Part 6, controller methods and views in ASP.NET Core #36359

@snehansh

Description

@snehansh

Description

On Page
There is a text at the beginning of the page:
We have a good start to the movie app, but the presentation isn't ideal, for example, ReleaseDate should be two words.

Below that there is an image.

Image

I think in this screenshot you should be showing ReleaseDate as one column in the header as without the use of [Display(Name = "Release Date")] column header would have been ReleaseDate.
Also, the column values should have shown both Date and time.

Once you apply the DataAnnotations that are discussed after the screenshot you would get a screenshot which is what you have included right below first line on the page.

Please correct the image and use the right screenshot to illustrate the issues that later got resolved by the use of DataAnnotations.

Page URL

https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/controller-methods-views?view=aspnetcore-10.0

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/first-mvc-app/controller-methods-views.md

Document ID

51894773-82dc-3c71-f675-8af42cfa925f

Platform Id

31df6d9c-5b2c-e95c-0f13-1aa78ddeadbb

Article author

@wadepickett

Metadata

  • ID: 582aeaf8-770f-6861-ab47-bb6a4f2206e4
  • PlatformId: 31df6d9c-5b2c-e95c-0f13-1aa78ddeadbb
  • 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