Coding the movie booking app

In this section, we will code the movie booking app, according to the requirements and design we put together in the preceding sections. We will be using the EF Core code-first approach with SQL Express. To make the coding easy to understand, we will code in a step-by-step manner. The steps are as follows:

  1. Create a new ASP.NET Core 2.0 MVC app named MovieBooking, as we did in the Creating a simple running code section of Chapter 1, Getting Started.
  2. If you wish to add authentication in your web app, you can click on the Change Authentication button at the time of selecting the template, as shown in the following screenshot:

A new dialog will display, as shown in the following screenshot, which will offer multiple ...

Get .NET Core 2.0 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.