-
Notifications
You must be signed in to change notification settings - Fork 9
Lesson 8 (Intro to MVC and Controllers)
- About the MVC design pattern.
- What ASP.NET is.
- How to initialize an MVC project using Visual Studio and ASP.NET.
- How to handle routing and write controllers in ASP.NET.
- Check with your course manager for any important announcements.
-
The C#/ASP.NET development environment can be tricky. Some students may encounter issues that we were not able to anticipate in the text. Some minor versions of the software may be different than what is listed in the text. If a student has an environment or build issue, do your best to reassure them that these types of configuration hurdles can be common.
-
Lesson 8 content includes a number of short videos meant to be coding walkthroughs. Remind the students that it is critical to code along with these. We introduce some Visual Studio tips they may find useful, as well as provide visual aids for the controller tasks we give them.
-
You may find it useful to review some relevant HTTP topics since a foundational understanding of the protocol is expected.
-
Though the students have been introduced to C# attributes in the unit testing lesson, the attributes introduced in this chapter are the first they have seen that can take parameters. Spend some time reviewing what these parameters accomplish on the attributes.
- This studio will be the students' first foray into creating their own MVC project. Remind them that they will only need to pay close attention to the
Controllers
directory for now. - Some students may also benefit from a reminder of how to create a
select
tag.