Book Image

.NET Core 2.0 By Example

By : Neha Shrivastava, Rishabh Verma
Book Image

.NET Core 2.0 By Example

By: Neha Shrivastava, Rishabh Verma

Overview of this book

With the rise in the number of tools and technologies available today, developers and architects are always exploring ways to create better and smarter solutions. Before, the differences between target platforms was a major roadblock, but that's not the case now. .NET Core 2.0 By Example will take you on an exciting journey to building better software. This book provides fresh and relevant content to .NET Core 2.0 in a succinct format that’s enjoyable to read. It also delivers concepts, along with the implications, design decisions, and potential pitfalls you might face when targeting Linux and Windows systems, in a logical and simple way. With the .NET framework at its center, the book comprises of five varied projects: a multiplayer Tic-tac-toe game; a real-time chat application, Let'sChat; a chatbot; a microservice-based buying-selling application; and a movie booking application. You will start each chapter with a high-level overview of the content, followed by the above example applications described in detail. By the end of each chapter, you will not only be proficient with the concepts, but you’ll also have created a tangible component in the application. By the end of the book, you will have built five solid projects using all the tools and support provided by the .NET Core 2.0 framework.
Table of Contents (16 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

Movie booking app requirements


In this section, we will discuss the requirements for developing our movie booking web app in ASP.NET Core 2.0. To keep things simple and understandable, we will create a single-screen cinema hall and not a multiplex. The requirements for our sample movie booking app are as follows.

As a user or a movie buff, I should be able to:

  1. See the list of movies showing in the cinema hall with timings
  2. See the short description and star cast of the movie before booking
  3. Select seats from the available seats
  4. Book the selected seats
  5. Optionally log in to the seat with Facebook/Google credentials or continue as a guest.

Now that we have the requirement specifications in place, let's see the activity flow of the app and come up with a flowchart. The following is the rough flowchart of the app workflow:

Let's discuss this flowchart in detail:

  1. Start: This is the start of the flow. The user browses the movie booking app.
  2. Now Showing Movie Listing: The user can see the the list of movies...