Passing a List to View and fixing the style using Bootstrap

Опубликовано: 10 Ноябрь 2020
на канале: Shahbaaz Khan
145
6

In this video we have tried to show the flow of data from Model to View via Controllers. If you are following the ASP NET CORE tutorial then this should be a revision of sorts. If not, you can watch it to get a quick idea of how MVC gets and displays data.

In this video first we modify Blog model to return all Blogs.
Then we use that Model in our controller via Dependency Injection to get the list of Blogs.
Then we modify our Blog view to display the list of Blogs.
We also use Bootstrap classes for styling our Blog details.
We will also create a page to View our Blog details.
And we will modify our Blog List page to navigate to details page.

We are not using database for this example, that will be covered in future videos, But if you know how to connect to DB you can use this video to modify visualize data flow.

Link to playlist:    • ASP NET CORE Tutorial  

Link to Dependency Injection Video:    • ASP NET CORE I Dependency Injection  

Link to github: https://github.com/shabbyk/netcoremvc...


Смотрите видео Passing a List to View and fixing the style using Bootstrap онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Shahbaaz Khan 10 Ноябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 145 раз и оно понравилось 6 людям.