Now if you want to see my solution, you can simply head over to github.com.
Here you see I have a repository created for this course, Whitley mvc-5.
Here we can get the latest source code or one of the previous versions of the application.
You can see currently I have eight commits, so let's take a look.
So as I'm recording these lectures and modifying this application, I make small changes to the code and commit them to the repository. For example, you can see in the previous lecture I extracted the navigation bar into a partial View. Let's take a look at this commit.
I'm going to change the view mode to split because it's easier to see the before and after changes. So you can see in layout dot CS HTML on the left side, this is what we had, and on the right side, this is what we currently have. The red lines were removed and the green lines were added. You can see that I removed this div which was our navigation bar and replaced it with html.partial method. Let's scroll down, here is another file navbar.cs HTML, which is a new file because previously we had nothing here. Now we've got all this markup for the navigation bar. So you can see I've got another commit here, solution section 2 exercise display the list of customers and movies. So throughout this course, as you do your exercises, you can always come back here and look at my solution. And by the way, when required, I always add comments to my solution so you know why I did something in a certain way. So be sure to read these comments.
video txt