ASP.NET MVC Basics

Treehouse
Course Summary
ASP.NET MVC is a popular server-side framework developed by Microsoft that is used to build dynamic websites. In this course, you'll learn about the basics of ASP.NET MVC while we build a comic book gallery website using Visual Studio Community. Along the way, you'll learn how to create a new project, add controllers and views, model data, and create repositories.
-
+
Course Description
About this Course ASP.NET MVC is a popular server-side framework developed by Microsoft that is used to build dynamic websites. In this course, you'll learn about the basics of ASP.NET MVC while we build a comic book gallery website using Visual Studio Community. Along the way, you'll learn how to create a new project, add controllers and views, model data, and create repositories. What you'll learn
- Creating a Project Using Visual Studio Community
- Adding Controllers and Views
- URL Routing
- Data Modeling and Repositories
- Creating List and Detail Pages
About the Teacher
Before joining the Treehouse team, James worked as a consultant for over 10 years doing web development using .NET and variety of open source technologies. James enjoys participating in the developer community, presenting at and attending meetups, code camps, and conferences. When not working, James enjoys learning, skiing, playing music, and watching movies. Find him on Twitter @SmashDev.
-
+
Course Syllabus
Project Setup
We'll start with an overview of the ASP.NET MVC framework and then learn how to create a project using Visual Studio Community. We'll also learn how to run our website so that we can preview it in a browser. 7 steps- Introduction 3:01
- What is ASP.NET MVC? 4:51
- ASP.NET MVC Review 5 questions
- Creating a GitHub Repo 2:58
- Creating a Project Using Visual Studio 5:13
- Running Our Website 2:00
- Section Review 5 questions
Controllers
We'll learn how to add a controller to our website. Along the way, we'll take a look at URL routing and the important role that it plays in an MVC website. 8 stepsViews
We'll learn how to add a view to our website. We'll also take a first look at the Razor syntax and update the design of our website. 11 stepsModeling and Presenting Data
We'll learn how to model data using C# classes and present that data in a strongly typed view. We'll also learn about repositories and how they improve the overall design of our website. 16 stepsAdding a List Page
We'll learn how to add a list page to our website. Along the way, we'll also learn how to update our default route and create links between the pages in our website. 10 steps