Lesson Weekend

All C# apps we've created thus far have run in the command line. We've made cool stuff, sure, but without a front-end user interface our user interaction remains fairly limited.

But we're about to change that! In this section, we'll begin creating C# web applications that run in the browser, like a 'real' website, instead of just the command line. We'll use a special web application framework called ASP.NET Core MVC to do this.

In this section, we will apply the object-oriented skills we developed last section to create a web application written in C#. We will use ASP.NET Core, an open-source framework that was developed for C#. We'll also take an in depth look at a web application coding pattern, or architecture, called MVC (Model-View-Controller). By the end of the section, you should be able to create a web application with good test coverage of back-end logic.

We will start by delving into routing and app creating with Core MVC's routing system. Then we will build our own custom C# classes and methods. Your work this section will cover the following tools and concepts:

  • Server-Side MVCs
  • HTTP methods
  • RESTful routing
  • Objects within objects
  • Razor templates and syntax
  • Saving data with C#

Always be careful to specify that you are using ASP.NET Core when searching on the internet or conversing with other developers. ASP.NET supports many features that ASP.NET Core does not.

Independent Project Objectives

At the end of this section, you will complete an independent project. Your code will be reviewed for the following objectives:

  • A splash page is used.
  • Project has Vendor and Order classes.
  • Project uses two or more controllers.
  • Models are thoroughly tested.
  • GET and POST requests/responses are used successfully.
  • MVC routes follow RESTful conventions.
  • Project is in a polished, portfolio-quality state.
  • The prompt’s required functionality and baseline project requirements are in place by the deadline.

Lesson 1 of 38
Last updated more than 3 months ago.