Join Jess Chadwick for an in-depth discussion in this video Using the exercise files, part of Up and Running with ASP.NET 5.
- View Offline
- 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 the 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 running 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. So, to make that possible, I've captured a snapshot of the code that I show you at the end of every video, and it is available to you in two ways.
Your first option is to download the exercise files as one big archive from the lynda.com website. Simply click on the download exercise files button on the page you're currently on. This archive will contain a whole bunch of folders, one for each video in the course, and each folder containing the full source code as it is at the end of that video. The top level folders are named for the chapter, using the convention Chp_chapter number, and inside each of these chapter folders, are folders for each of the videos following the convention of chapter number_video number.
The second option to get access to the source code is through my GitHub repository for this course. Since it contains a few dozen copies of the full source code, the archive file I mentioned in option one tends to be rather big, so if you're at all familiar with Git and the GitHub site, or if you're just looking to see the contents of one file, this is the option for you. Simply make a local clone of the repository, and start looking through it. Note that this repository also contains snapshots at the end of each video, but rather than folders, I represent each one as a tag in the repository.
That means if you want to see the code for a specific video, you can switch to that tag in your local repository, or select that tag from the drop-down on the GitHub site. For instance, in order to see the source code for chapter three, video two, you can select this tag. On the GitHub site, this will change the context of the whole source code tree, and you can then use the website to browse through the code as it stands at the end of that video. Also note that you can download a ZIP archive of any tag as well by visiting the Releases tab, and clicking on the zip link for that tag that you'd like to download.
If you're familiar with the Git source control system, or just interested in quickly looking at the contents of one or two files, 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 lynda.com website. Either way, the full source code is there if you need it, I encourage you to refer to it as often as you need, in order to get the most out of this course.
- Understanding ASP.NET 5's new request processing pipeline
- Downloading client-side libraries using Grunt and Bower in Visual Studio
- Adding ASP.NET MVC 6 to your application
- Handling web requests with controllers
- Rendering dynamic views with Razor markup
- Using Entity Framework to write and read data to a database
- Using TagHelpers to create simple dynamic HTML forms
- Registering and authenticating users with Identity services
- Dynamically update portions on the server using partial rendering
- Using dynamic routing logic to customize URLs
- Exposing data with web APIs
- Leveraging custom configuration and logging
- Increasing application maintainability with dependency injection