Description
In this lab, you will be learning how to create and manage a web page’s static and dynamic sections. By the end of the lab, you'll have the skills to create an application with Partial views and to use ViewComponent to display the dynamic data.
Lab Objective
Upon completion of this lab, you will be able to:
Prerequisites
You should have a basic understanding of Partial Views and ViewComponents in ASP.NET Core
Lab Requirements
PostViewModel
{ Id = 1, Title = "What is ASP.NET Core", Author = "Shailendra Chauhan", Body = "ASP.NET Core is an open-source framework for building UI and API..." }
CommentViewModel
{ PostId= 1, Id= 1, Name= "id labore ex et quam laborum", Email= "Eliseo@gardner.biz", Body= "laudantium enim quasi est quidem magnam voluptate ipsam" }