The Complete Guide to ASP.NET Core MVC (.NET 5)

Video description

Learn the basic and advanced concepts of ASP.NET Core MVC (.NET 5) by building two applications and developing them on Microsoft Azure and IIS

About This Video

  • Learn new and advanced topics in ASP.NET MVC Core
  • Build a Razor app with CRUD operations using the Entity framework for integration with the database
  • Deploy our project website on Microsoft Azure and IIS

In Detail

This is a beginner to an advanced-level course on .NET 5 that will take you from basics all the way to advanced mode. This course is for anyone who is new to ASP.NET Core or who is familiar with ASP.NET and wants to take the first stab at understanding what is different in ASP.NET Core. From there, we will build multiple projects to understand all the concepts in .NET 5 as we deploy our final application on Azure as well as IIS.

Throughout this course, we will understand the evolution of ASP.NET Core, and then take a look at the modified files and folder structure.

We will then take a look at new concepts in ASP.NET Core. We will build a small Razor application with CRUD operations using the Entity framework for integration with the database. We will build our Bulky Book website where we will learn advanced topics in ASP.NET MVC Core. Finally, we will deploy our Bulky Book website on Microsoft Azure and IIS.

By the end of the course, you will be able to build your own application using ASP.NET Core MVC, Entity Framework Core, and ASP.NET Core Identity.

Publisher resources

Download Example Code

Table of contents

  1. Chapter 1 : Introduction
    1. Introduction
    2. Live Preview
    3. Demo Project 1 (Razor)
    4. Demo Project 2 (MVC) - Part 1
    5. Demo Project 2 (MVC) Part 2
    6. Tools Needed
    7. Evolution of ASP.NET Core
  2. Chapter 2 : Razor Projects in ASP.NET Core
    1. Introduction
    2. Create Project
    3. Razor Pages
    4. CSPROJ
    5. Launchsettings
    6. WWWROOT
    7. Pages Folder
    8. Routing in Razor Pages
    9. Tag Helpers
    10. Main Method
    11. Startup - Part 1
    12. Startup - Part 2
    13. Middleware
    14. AppSettings
    15. Dependency Injection
  3. Chapter 3 : Book List Razor Project
    1. Introduction
    2. Create Book Model
    3. Add Connection String and Packages
    4. Add Book Table to Database
    5. Book Index Get Handler
    6. Designing Book Index Page
    7. Designing Book Index Page - Part 2
    8. Create Book Page Model
    9. Create Book Page UI
    10. Create Book and Validations
    11. Client-Side Validations
    12. Edit Book Get Handler
    13. Edit Book UI
    14. Edit Post Handler
    15. Delete Book
    16. Book Get API
    17. DataTables
    18. Delete API Call
    19. Delete Book
    20. Upsert Page Handlers
    21. Upsert Page UI
  4. Chapter 4 : Bulky Book Project - ASP.NET Core MVC
    1. Introduction
    2. Create Project
    3. Add Project to GitHub
    4. File Overview
    5. MVC Folders and Overview of Individual Folders
    6. Routing in MVC
    7. Routing with Areas
  5. Chapter 5 : Setting Up a Project - Bulky Book
    1. Introduction
    2. Creating Projects Inside Bulky Book
    3. Separating Out the Data Layer
    4. Separating Out Models and Add References
    5. Creating Customer Areas
    6. Creating Admin Area and configuring View Import and View Start
    7. Bootswatch
    8. Bootswatch Header and Footer
    9. Third Party Tools
    10. Push Initial Migration to DB
    11. Add Dropdown to NavBar
    12. Add Category Model and push to DB
  6. Chapter 6 : Repository Pattern
    1. Introduction
    2. Introduction to Repository
    3. Repository Overview
    4. Repository Pattern Detailed Flow
    5. Repository Detailed Architecture
    6. Repository Interface
    7. Implement Repository Interface
    8. Category Repository and Interface
    9. Implement Stored Proc Repository
    10. Stored Proc Class
    11. Unit of Work
  7. Chapter 7 : Category CRUD
    1. Introduction
    2. Create Category Controller
    3. Category Index and Get All Actions
    4. Category Index View
    5. Category JS
    6. Category Upsert Get Action
    7. Partial Views
    8. Category Upsert View
    9. Category Upsert Post Action
    10. Category Delete API Call
    11. Category Delete JS
  8. Chapter 8 : Cover Type CRUD
    1. Introduction
    2. Assignment - Add Cover Type Model and Repository Setup
    3. Solution - Add Cover Type Model and Repository
    4. Assignment - Cover Type Controller, View, JS and _layout
    5. Solution - Cover Type Controller, View, Js and _layout
    6. Add Stored Procedure for Cover Type
    7. Convert Cover Type to use Stored Proc
  9. Chapter 9 : Product CRUD
    1. Introduction
    2. Add Product Model and push to Db
    3. Add Product Repository
    4. Add Product Controller
    5. Product Controller Part 2
    6. Project JS and Index View
    7. Product Upsert View Part 1
    8. Product Upsert View Part 2
    9. Product Upsert Post Action
    10. Product Upsert Action Part 2
    11. Common Error and Delete Product
    12. Home Page
  10. Chapter 10 : Company and User
    1. Introduction
    2. Add More Properties to Existing Users Table
    3. Assignment - Company and Application User Models
    4. Solution - Company and Application User Models
    5. Assignment - Company JS Controller and Repository
    6. Solution - Company JS Controller and Repository
    7. Assignment - Index and Upsert View
    8. Solution - Assignment Company Index and Upsert View
    9. Assignment - Add Application User to Repository
    10. Solution - Add Application User to Repository
  11. Chapter 11 : Registration
    1. Introduction
    2. Add More Fields to Registration
    3. Update to .NET 5 (for Students who are Using .NET core 3.1/3.0)
    4. Admin Registration
    5. Configuring Email Sender Class
    6. Working on Registration Page with Roles
    7. Registration Page Model Code Changes
  12. Chapter 12 : User Management
    1. Introduction
    2. User Controller
    3. Display User List
    4. User Lock Unlock JS
    5. Lock Unlock Action Method
    6. Final Lock Unlock API Call
  13. Chapter 13 : Authorization
    1. Introduction
    2. Authorization in Project
    3. Display Links based on Role
    4. Sign in with Facebook
    5. Register Facebook User
    6. Register with Google
  14. Chapter 14 : Emails
    1. Introduction
    2. Signup for SendGrid
    3. Send Grid Sender Verification Fix
    4. Set Up Email Options
    5. Send Email
  15. Chapter 15 : Models and Repository
    1. Introduction
    2. Shopping Cart Model
    3. Order Header Model
    4. Order Details Model
    5. Add Repository for Models
  16. Chapter 16 : Details and Shopping Cart
    1. Introduction
    2. Product Details
    3. Add Product to Shopping Cart Part 1
    4. Add Product to Shopping Cart Part 2
    5. Configure Session in the Project
    6. Default Session Implementation
    7. Shopping Cart Refresh
  17. Chapter 17 : Shopping Cart Management
    1. Introduction
    2. Shopping Cart Index Action Get
    3. Cart UI - Part 1
    4. Cart UI - Part 2
    5. Confirm Email for Authorized Company User
    6. Error Debugging
    7. Increment Item in Shopping Cart
    8. Shopping Cart Minus and Remove
  18. Chapter 18 : Summary and Payments
    1. Introduction
    2. Summary Get Action
    3. Summary UI View
    4. Adding and Configuring Stripe
    5. Adding Stripe to Summary Page
    6. Summary Post Action Method
    7. Place Order without Payment
    8. Place Order with Stripe Payment
    9. Process Payments for Authorized Company
    10. Validations for Summary
  19. Chapter 19 : Order Management
    1. Introduction
    2. Order Controller Index API
    3. Order List Index View Part 1
    4. Order List Index View Part 2
    5. Order Controller Modification
    6. Order JavaScript API Call
    7. Order Details View Model and Get Action
    8. Order Details View Part 1
    9. Order Summary In Order Details
    10. Buttons to Process Order
    11. Order Status Change Action Method
    12. Ship Order and Cancel Order
    13. Take Payments for Authorized Company
    14. Process Delayed Payments
    15. Change Navbar Title for Order
  20. Chapter 20 : Advanced Concepts
    1. Introduction
    2. Redesign Register Page
    3. Login UI Change
    4. Debugging Errors
    5. Two Factor Authentication
    6. Set Up Twilio
    7. Send SMS
    8. View Component Action
    9. Consume View Component
    10. Async Repository Pattern
    11. Consume Async Repository
    12. Custom Tag Helper Model
    13. Build Custom Tag Helper
    14. Changing Category Index Action for Custom Tag Helper
    15. Consuming Custom Tag Helper
    16. Delete Category
    17. Temp Data Alerts
    18. Set Up Braintree Account
    19. Configure Braintree Keys
    20. Add Braintree to DI
    21. Add Brain Tree Get Action
    22. Braintree UI and Js
    23. Process Braintree Payment
    24. PayPal with Braintree
    25. Using Email Templates
    26. Employee Registration Fix
  21. Chapter 21 : Deployment
    1. Introduction
    2. DbInitializer - Deployment Setup
    3. Deploy to Azure
    4. Assignment - Order Details Update

Product information

  • Title: The Complete Guide to ASP.NET Core MVC (.NET 5)
  • Author(s): Bhrugen Patel
  • Release date: June 2021
  • Publisher(s): Packt Publishing
  • ISBN: 9781801074247