Video description
This is a beginner to an advanced-level course on .NET 6 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 6 as we deploy our final application on Azure as well as IIS.
This is a beginner to an advanced-level course on .NET 6 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 6 as we deploy our final application on Azure as well as IIS.
We will then discuss 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 you 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.
What You Will Learn
- Learn the structure of the ASP NET MVC and Razor project
- Learn basic and advanced fundamentals of ASP.NET MVC Core
- Learn about Stripe's integration choices for accepting online payments
- Add Google and Facebook authentication/login to the project
- Enable SMS and email notifications
- Learn to deploy the website on Microsoft Azure
Audience
This course is for anyone interested in learning ASP.NET MVC core from the ground up, as well as the most recent changes in Microsoft’s newest framework. If you want to learn how to architect large-scale projects, this is the course for you.
You will require a basic understanding of .NET Core 6 (MVC and API) as well as 3-6 months of C# experience. You will need Visual Studio 2022 and SQL Server Management Studio 2018.
About The Author
Bhrugen Patel: Bhrugen Patel is a passionate and creative software engineer with a strong focus on simplicity and thorough details. He has been programming since high school and was involved with multiple web and desktop projects using .NET. He has a master’s degree in computer science and a bachelor’s degree in computer engineering. He also has many years of experience with .NET C# and .NET MVC. He enjoys teaching alongside his full-time job.
Table of contents
- Chapter 1 : Introduction
-
Chapter 2 : MVC Basics - CRUD Operation
- Create Category Model
- Add Data Annotations
- Add Connection String
- Add ApplicationDbContext
- Set Up Program.cs to Use DbContext
- Create Database
- Create Category Controller
- Retrieve All Categories
- Display All Categories
- Bootswatch Theme
- Bootstrap Icons
- Create Category View
- Demo - Create Category
- Server-Side Validations
- Custom Validation
- Add Client-Side Validation
- Display Name and Range Validation
- Edit Category - GET
- Edit Category - POST
- Delete Category
- Tempdata
- Partial Views
- Toastr Alerts
- Scaffold CRUD
-
Chapter 3 : Razor Pages - CRUD Operation
- Introduction
- Create Project
- What's Different
- Razor Pages Introduction
- Pages in Razor Project
- Routing Overview
- Create Category Model
- Data Annotations
- Connection String
- ApplicationDbContext
- Program.cs Database Settings
- Create Database
- Categories Get Action Method
- Display All Categories
- Add Create Category Button
- Create Category UI
- Create Property in Page Model
- Create Category and Bind Property
- Bootswatch
- Server-Side Validations
- Custom Validations
- Display Name and Range Annotation
- Client-Side Validations
- Links for Edit and Delete
- Edit Category
- Back to List
- Delete Category
- TempData
- Toastr
- Partial Views
- Scaffold CRUD Pages
- Back to Main Project
- Chapter 4 : N-Tier Architecture
-
Chapter 5 : Repository Pattern
- Introduction to Repository
- Repository Overview
- Repository Pattern Detailed Flow
- Repository Pattern Architecture
- IRepository Interface
- Implement IRepository
- Category Repository Interface
- Implement Category Repository
- Replace DbContext with Category Repository
- Implementing Unit of Work
- UnitOfWork in Action
- Assignment 1 - Cover Type Repository
- Assignment 1 Solution - Cover Type Repository
- Areas in .NET Core
- Areas in Action
- Assignment 2 - Cover Type Controller and Views
- Assignment 2 Solution - Cover Type Controller and Views
- Dropdown in Navigation
-
Chapter 6 : Product Management
- Create Product Model
- Create Product Table
- Product Repository
- Create Product Controller
- Product Get Action UI
- Projections Using Select
- View Bag in .NET Core
- ViewData in .NET Core
- View Models
- Add File Upload
- Sweetalerts
- Create First Product
- Add API EndPoint for DataTable
- Loading Datatables
- Include Properties
- Render HTML in datatables
- Load Product on Upsert Get
- Update Product
- Update Book Images
- Delete API Endpoint
- Delete Product
- Tinymce Editor
- Chapter 7 : Home Page
-
Chapter 8 : Identity Management
- Scaffold Identity
- What Got Added to Identity
- Add Identity Tables
- Identity Bugs with Scaffolded Pages
- Register and Login in Action
- Add More fields to Identity Table
- Assignment 3 - Company CRUD
- Assignment 3 - Solution Company CRUD
- Add Roles to Application
- Create Roles for Website
- Add More Fields on Register UI
- Display All Roles in Dropdown
- Register User with Roles
- Company Dropdown
- Toggle Company Dropdown
- Register Company User
-
Chapter 9 : Shopping Cart
- Add Shopping Cart Table to Database
- Add Shopping Cart and Application User Repository
- Add Items to Shopping Cart
- Add Items to Existing Cart
- Configure Application Cookie
- Shopping Cart UI
- Load Shopping Cart List in Get Action
- Price Calculation Based on Quantity
- Cart Total
- Updating Quantity in Shopping Cart
- Cart Summary UI
-
Chapter 10 : Order Creation
- Create Order Header and Details Model
- Add Order Header and Details to UnitOfWork
- Summary GET Action Method
- Load Summary UI with data
- Summary POST Action Method
- Create Order
- Create Stripe Account
- Stripe Secrets Configuration
- Call Stripe from Summary Page
- Save Stripe Session ID and Payment Intent ID
- Order Confirmation
- Payments in Action
-
Chapter 11 : Order Management
- Flow for Company User
- Place Order for Company User
- OrderVM and Retrieve All Orders
- Display all Orders
- Add Status Filter to Order List
- Toggle UI For Status Based on Selection
- Demo - Filters in Order List
- Role-Based Order Display
- Order Details Get Action
- Loading Order Details Header
- Display Order Details
- Order Processing Buttons Logic
- Update Order Details and EF Core Tracking
- Ship Order
- Cancel Order
- Cancel Order Issue - PaymentIntentId Null?
- Delayed Payment
- Chapter 12 : MVC Advanced Concepts
- Chapter 13 : Seed Database and Azure Deployment
Product information
- Title: The Complete Guide to ASP.NET Core MVC (.NET 6)
- Author(s):
- Release date: June 2022
- Publisher(s): Packt Publishing
- ISBN: 9781801074247
You might also like
video
.NET Core Microservices - The Complete Guide (.NET 6 MVC)
In this course, you will learn the foundational elements of microservices by incrementally building a real …
book
Pro ASP.NET Core 6: Develop Cloud-Ready Web Applications Using MVC, Blazor, and Razor Pages
Professional developers will produce leaner applications for the ASP.NET Core platform using the guidance in this …
book
Pro ASP.NET Core 3: Develop Cloud-Ready Web Applications Using MVC, Blazor, and Razor Pages
Now in its 8th edition, Pro ASP.NET Core has been thoroughly updated for ASP.NET Core 3 …
book
ASP.NET Core in Action, Third Edition
Build professional-grade full-stack web applications using C# and ASP.NET Core. In ASP.NET Core in Action, Third …