Join Jess Chadwick for an in-depth discussion in this video How to use the exercise files, part of Learn ASP.NET Core MVC: The Basics.
- [Instructor] Since this is a course about software development, I'm going to be writing a lot of code. While I expect you to follow along by running that same code on your local machine, I don't necessarily expect you to have to type every character that I type. And I don't know about you, but whenever I'm having trouble running some sample code that I'm writing along with a training course, I always like to have a full working version of that code that I can refer to in order to help me figure out what I need to change in order to get my version of the code running.
To make that possible, I've captured a snapshot of the code that I show you, at the beginning and the end of every video. And it's available to you in two ways. Your first option is to download the exercise files as one big archive file from the course website. This archive will contain a whole bunch of folders. One for each video in the course. And they're organized by chapter. The top level folders are named for the chapter using the convention CH and then the chapter number.
Inside each of these chapter folders are folders for each of the videos, following the convention of chapter number underscore video number. These folders contain the beginning state that the application should be in, prior to starting the video. Likewise, the folders named chapter number underscore video number underscore end, include the end state of the application, after I've made all of the modifications in the video. In the couple of cases where there are no folders for a particular video, that just means I didn't make any changes to the code in that video.
In a few videos, I'll tell you to copy files or large snippets of code from these exercise files. Whenever I say that, I'll show the path to the files that I'm talking about in the video. But you'll be able to find these files in the artifacts folder for the corresponding video. The second option to get access to the source code is through my GitHub repository for the course. Note that this repository only contains the source code that I write in the course. It will not include the assets for the sample application, such as the initial html, css and images.
You'll have to download these assets from the course website. If you're at all familiar with Git and the GitHub site, or if you just want to browse the files online, I highly recommend the GitHub option. Option number two. However, if you're unfamiliar with Git or you prefer to have all of the source code for all of the videos downloaded once and available immediately, then feel free to download the exercise files directly from the course website. Either way, the full source code is there if you need it.
I encourage you to refer to it as much and as often as you need, in order to get the most out of this course.
- Building blocks of ASP.NET Core applications
- Creating a new project
- Responding to HTTP requests
- Serving static files
- Understanding the MVC pattern
- Handling requests with controllers
- Rendering HTML with Razor
- Rendering data, view markup, and view logic
- Creating HTML forms
- Validating form data
- Reading and writing from a database with Entity Framework
- Improving the user experience
- Exposing data with a web API
- Securing your ASP.NET application