ASP.NET Core MVC - Up and Running (.NET 5)

Video description

Build and enhance a real-world functional website to explore the world of ASP.NET Core 5

About This Video

  • Gain a solid understanding of the ASP.NET Core 5 MVC framework
  • Build a real-world e-commerce application in ASP.NET Core 5 from scratch
  • Learn all the techniques needed to enhance and scale the existing ASP.NET Core 5 application

In Detail

If you want to learn why ASP.NET Core is so popular and how to create and enhance a functional business website and get an overview of ASP.NET Core 5 Model View Controller (MVC), this is the perfect course for you.

After getting a basic introduction to ASP.Net Core 5, you will start building a real-world website that will display products and receive inquiries from the customers about the products they are interested in. By building this website, you will become familiar with the fundamentals of ASP.Net Core 5, learn how to set up and connect your application to the database, get to grips with scaffold identity concepts, work with MailJet to send emails, and a lot more. You will also learn how to scale an existing project, how to architect a mid to large scale project, and how to process payments correctly.

By the end of this course, you will have developed all the essential skills needed to create and scale a functional website using the ASP.Net Core 5 MVC framework.

Publisher resources

Download Example Code

Table of contents

  1. Chapter 1 : Part 1 - Introduction
    1. Welcome
    2. What We Will Build? – Part 1
    3. What We Will Build in This Course? – Part 2
    4. Tools Needed
    5. Project Resources
    6. ASP.NET Core
    7. Creating a Project
    8. Project File
    9. Program.cs File
    10. Dependency Injection
    11. Startup Class – Part 1
    12. Startup Class – Part 2
    13. Routing in Model View Controller (MVC)
    14. AppSettings
    15. wwwRoot and launch launchSettings
    16. Model View Controller (MVC) Applications
    17. Performing Routing
    18. Views in the Default Project
  2. Chapter 2 : Part 1 - Setting up a Database and Category Management
    1. Creating Your First Model
    2. Adding a Connection String
    3. Setting up DbContext
    4. Configuring a Complete DbContext
    5. Pushing a Category to a Database
    6. Checking a Database
    7. Adding a Category Controller – Part 1
    8. Adding a Category Controller – Part 2
    9. Getting All Categories
    10. Displaying All Categories
    11. Adding a Category – Part 1
    12. Adding a Category – Part 2
    13. Adding a Category – Part 3
    14. Assignment
    15. Assignment Solution
  3. Chapter 3 : Client-side Validations and Category Update/Delete
    1. Validations in ASP.NET Core
    2. Client-side and Server-side Validations
    3. Passing Parameters on Redirect
    4. Edit and Delete Option
    5. Updating a Category
    6. Deleting a Category
    7. Adding Font Awesome
    8. Assignment
    9. Assignment Solution
  4. Chapter 4 : Product Management
    1. Adding a Product Model
    2. Pushing a Product to the Database
    3. Adding the List and View Options
    4. Product Upsert
    5. Product Upsert User Interface – Part 1
    6. Product Upsert User Interface – Part 2
    7. ViewBag and ViewData
    8. What is ViewModel?
    9. Demonstration of ViewModel
    10. Introduction to SweetAlert
    11. Introduction to Summernote
    12. Creating a Product
    13. Displaying the Image Edit Option
    14. Product Upsert User Interface – Part 3
    15. ModelState Not Valid
    16. Deleting a Product
    17. Assignment
    18. Assignment Solution
    19. Eager Loading
    20. Modifying the Product Model
  5. Chapter 5 : Part 1 - Customer Facing Website Management
    1. Navbar updates
    2. Creating ViewModel for the Home Page
    3. Working on the Home Index View
    4. Partial View
    5. Demonstration of the Home Page
    6. Details Virtual Machine (VM) and Action
    7. Displaying Product Details
    8. Configuring Sessions
    9. User Session GET method
    10. Adding Cards to Your Session
    11. "Remove From Cart" Button Logic
    12. Adding the RemoveFromCart Logic
  6. Chapter 6 : Part 1 - Scaffold Identity
    1. Scaffold Identity Tables
    2. Scaffold Identity Pages
    3. Modifying Scaffolded Identity Tables
    4. Adding a Name and Phone Number to Registration page
    5. Configuring RoleManager
    6. Registering the First User
    7. Creating New Admin Users
    8. Changes in the User Interface (UI) for Admin
  7. Chapter 7 : Part 1 - Shopping Cart and Inquiry Email
    1. Creating a Cart Controller
    2. Shopping Cart User Interface (UI)
    3. Deleting Cart Items
    4. Adding the Basic Authorization Levels
    5. Adding the Summary Functionality
    6. Designing the Summary Page User Interface (UI)
    7. Summary Solution
    8. Signing up for MailJet
    9. Adding MailJet to the Website
    10. Sending an Email
    11. Introduction to ProtonMail
    12. Accessing the AppSettings Configuration
    13. Using an Inquiry Template for Confirmation
    14. forEach() versus For
    15. Getting Data from the Email Template
    16. Demonstration of the Email Template
    17. Adding Authorization
    18. Resolving the Register Admin User Bug
  8. Chapter 8 : Part 2 - Introduction
    1. Welcome
    2. What We Will Build?
    3. Topics Covered
    4. What We Built in Part 1?
    5. New Requirements
    6. Approaching Change in Requirements
    7. Getting Project Resources
    8. Project Overview of Part 1
  9. Chapter 9 : Part 2 – Code Separation
    1. Introduction
    2. Working with Utility – Part 1
    3. Working with Utility – Part 2
    4. Separating Models
    5. Separating Data Layers – Part 1
    6. Separating Data Layers – Part 2
    7. Testing the New Migration
    8. Packages
    9. Bootstrap 5: Changes – Part 1
    10. Bootstrap 5: Changes – Part 2
    11. Cleaning up the Code
  10. Chapter 10 : Part 2 - Repository Pattern
    1. Repository Interface – Part 1
    2. Repository Interface – Part 2
    3. Repository Interface – Part 3
    4. Category Repository
    5. Implementing the Category Repository
    6. Solution - Application Type Repository
    7. Product Repository
    8. Product Repository Continued
    9. Common Error Properties
  11. Chapter 11 : Part 2 - Inquiry Details (Admin)
    1. Implementing an Inquiry Header Model
    2. Inquiry Details Model
    3. Pushing Inquiry Header and Detail to the Database
    4. Inquiry Repository
    5. Modifying the Repository Pattern – Part 1
    6. Modifying the Repository Pattern – Part 2
    7. Submit Inquiry
    8. Inquiry Controller and ViewModel
  12. Chapter 12 : Part 2 - Inquiry Management
    1. Adding Inquiry Index View
    2. Inquiry.js
    3. Demonstration of DataTables
    4. Getting Inquiry Details
    5. Viewing Inquiry Details
    6. Converting Products to Carts
    7. Deleting Inquiry
    8. Implementing Toastr Notifications
    9. Adding TempData and Toastr to the Website
    10. Adding Alerts to the Application
  13. Chapter 13 : Part 2 - Shopping Cart
    1. Change in Requirements
    2. Adding SqFt to the Model
    3. Adding SqFt to the Session
    4. Modifying the Shopping Cart
    5. Updating the Shopping Cart User Interface (UI)
    6. Updating the Cart User Interface (UI)
    7. Implementing the Update Cart Method
    8. Update Cart Functionality
    9. Update Cart on Clicking the Continue Button
    10. Scenarios for User Details
    11. User Details Based on the Role of User
    12. Summary Page SqFt Calculation
    13. Adding More Fields to the Order Summary Page
    14. Adding Validations
  14. Chapter 14 : Part 2 - Order and Payments
    1. Adding an Order Header and Order Details Model
    2. Working on the Order Repository
    3. Creating an Order
    4. Creating a New Order
    5. Working on Order Confirmation
    6. Registering for Braintree
    7. Setting up Braintree – Part 1
    8. Setting up Braintree– Part 2
    9. Setting up Braintree Transaction Client – Part 1
    10. Braintree Payment Flow
    11. Setting up Braintree Transaction Client – Part 2
    12. Overview of Braintree Transaction
    13. Setting up the Braintree Server
    14. Getting Braintree in Action
    15. Clearing the Cart
  15. Chapter 15 : Part 2 – Social Login
    1. Single Sign-On (SSO) Package and Version Update
    2. Registering with Facebook – Part 1
    3. External Login Changes
    4. Registering with Facebook – Part 2
    5. Social Login Association Samples
    6. Redesigning the User Interface (UI)
    7. Implementing Changes in the Login User Interface (UI)
    8. Resolving the Login Bug
    9. Designing the Register User Interface – Part 1
    10. Designing the Register User Interface (UI) – Part 2
  16. Chapter 16 : Part 2 - Order Management
    1. Order ListView Model
    2. Order Index Action Method - Part 1
    3. Setting up Syncfusion
    4. Adding the Syncfusion Grid
    5. Customizing the Syncfusion Grid
    6. Working on the "Add Filter" User Interface (UI)
    7. Order List Filter Logic
    8. Validating the Cart Summary
    9. Implementing Order Details
    10. Working on Order Details View – Part 1
    11. Order Details View – Part 2
    12. Process and Ship Order
    13. Implementing the Refund Transaction Function
    14. Working on Refund Details with Braintree
    15. Updating Order Details
    16. Fixing Validation Bugs
    17. Fixing Admin Registration Bugs
  17. Chapter 17 : Part 2 – Azure Deployment
    1. Seeding the Database – Part 1
    2. Seeding the Database – Part 2
    3. Testing DbInitializer
    4. Azure – Part 1
    5. Azure – Part 2
    6. Adding a Facebook Login Option

Product information

  • Title: ASP.NET Core MVC - Up and Running (.NET 5)
  • Author(s): Bhrugen Patel
  • Release date: January 2021
  • Publisher(s): Packt Publishing
  • ISBN: 9781801071826