ASP.NET Core 3 MVC Application with MongoDB
Created by Kaushik Roy Chowdhury, Last Updated 11-Oct-2019, Language:English
ASP.NET Core 3 MVC Application with MongoDB
ASP.NET Core 3, MVC, MongoDB and Data Access Layer
Created by Kaushik Roy Chowdhury, Last Updated 11-Oct-2019, Language:English
What Will I Get ?
- The students will learn building an MVC application with ASPNET Core 3 Using MongoDB as Database. In the process they will learn about NoSQL concepts and significance of ASPNET Core as Microsoft's latest and versatile web framework.
- They will learn the querying of MongoDB database and how it connects to the MVC application for providing CRUD functionality.
- The students will have plenty of hands-on coding as well as a number of assignments and a quiz to assess their grasp on the topics covered.
Requirements
- A Computer installed with Windows with 1.8 GHz or faster processor. Quad-core or better recommended
- 2 GB of RAM; 8 GB of RAM recommended
- Video card that supports a minimum display resolution of 720p (1280 by 720);
- Broadband Internet Connection (Preferably fibre or ADSL at least)
- Installation of Visual Studio 2019 (Community Edition) which is free to download and install.
- It will be beneficial if the students have about six months experience in C# or any other high level programming language
Description
This is an all-level course in Building an MVC app with ASP.NET Core 3 Using MongoDB as a back-end database. To start with, it handles the concept of a NoSQL database comparing it with the conventional relational databases (RDBMS). The course then proceeds with one of the most popular NoSQL databases, the MongoDB which is a document-based database for proceeding further with applications developed with the popular ASP.NET Core framework. The course uses the latest ASP.NET Core 3 for the hands-on development work. It shows and teaches the creation of an ASP.NET Core 3 MVC application in-depth, from scratch. It covers all the critical concepts associated with an MVC (Model-View-Controller) application built with the ASP.NET Core framework.
The main highlights of the MVC application being the introduction of a data access layer using a repository pattern in keeping with Industry best practices. It also uses async programming (as opposed to synchronous programming) which is at the core of the new web framework of ASP.NET Core that has been rewritten from the earlier popular ASP.NET framework.
ASP.NET Core 3 has just been released in the .NET Conference 2019 on September 23, 2019, so the course uses the latest cutting edge technology released by Microsoft for which the Microsoft developer community has been waiting for long!
Course Content
-
Introduction to the Course
1 Lectures 00:12:17-
Course Introduction
Preview00:12:17
-
-
Concept of NoSQL database and Comparison with Conventional Relational Databases
4 Lectures 00:08:45-
Section Introduction
Preview00:00:36 -
What is a NoSQL Database and why they are needed?
00:03:47 -
NoSQL databases versus relational databases
00:04:22 -
NoSQL Database Concepts Assignment
-
-
Where to Install MongoDB From?
2 Lectures 00:04:14-
Introduction to Section
Preview00:00:31 -
How to install MongoDb on the local machine?
00:03:43
-
-
How to Install MongoDB and Create a Database?
7 Lectures 00:32:37-
Section Overview
Preview00:00:56 -
Connecting to the MongoDB Server and Starting the MongoDb Client
00:04:30 -
Creating a MongoDB Database and adding a Collection
00:04:13 -
Querying the MongoDB Database - Part 1
00:06:01 -
Querying the MongoDB Database - Part 2
00:11:10 -
Couple of Important MongoDB Concepts to Remember
00:05:47 -
Writing and Testing the MongoDB Queries Assignment
-
-
ASP.NET Core - An Introduction
4 Lectures 00:22:36-
Section Introduction
Preview00:01:13 -
What is ASP.NET Core?
00:04:00 -
Highlights and Features of ASP.NET Core
00:03:00 -
How Asynchronous Programming Works in ASP.NET Core ?
00:14:23
-
-
Build an ASP.NET Core 3 Application with MongoDB Database
4 Lectures 00:23:34-
Introduction and Overview
Preview00:01:12 -
Create an ASP.NET Core 3 MVC Application Project
00:06:06 -
Inspect the project structure in ASP.NET Core 3 MVC Application
00:09:31 -
Model-View-Controller Architecture Description
00:06:45
-
-
Complete Building the MVC Application Step-by-Step in Visual Studio 2019
22 Lectures 02:47:53-
Introduction to Section
Preview00:01:55 -
Add a Class Library Project for Data Access Layer
00:01:43 -
Create a Customer Class as Model
00:11:30 -
Create a Customer Context that Implements an ICustomerContext interface
00:13:07 -
Create an ICustomerRepository Interface
00:08:32 -
Create a CustomerRepository that Implements the ICustomerRepository Interface
00:21:20 -
Configuring the MongoDB Settings
00:04:28 -
Register Settings, Context and Repository Classes in the Startup class
00:10:03 -
Edit the Index() Action Method in the Home Controller
00:08:33 -
Edit the Default Index View for the Home Controller to Show the Customer List
00:14:28 -
Create an Action Method to Get a Customer By Id
00:07:21 -
Create Get Customer By Id View to Show the Customer by Id
00:07:22 -
Create Action Methods to Insert a Customer
00:07:53 -
Create the Insert View to Add a New Customer
00:02:26 -
Create the Action Methods to Update a Customer
00:14:33 -
Create the Update View to Update a Customer
00:01:58 -
Create the ConfirmDelete Action Methods to Confirm the Customer before Deleting
00:02:51 -
Create the ConfirmDelete View to Confirm the Customer Before Deleting
00:08:33 -
Create the Delete Action Method
00:07:17 -
Create the Delete View for Deleting the Customer Confirmed for Deletion
00:08:18 -
Test the Completed ASP.NET Core 3 MVC Application
00:03:42 -
ASP.NET Core 3 MVC Application Assignment
-

Kaushik Roy Chowdhury
Software Developer, Tutor, Coach and Mentor
I am Kaushik Roy Chowdhury from Christchurch, New Zealand (God’s own country) whose main passion in life is all about software education, teaching and mentoring. I am a Microsoft Certified Professional (MCP). I have a Master's degree in Computer Science (from AUT University, Auckland) which is accompanied by more than 15 years of commercial experience working in several assignments for companies in New Zealand. I have also taught extensively in tertiary institutions (Including two Universities in New Zealand) in programming languages such as C#, Java, and C. My vision statement is Software consultation, mentoring, learning and teaching new technologies. Everyday I do what I love most: Learning new technologies and tools related to software development and translate this knowledge for creating useful and engaging e-learning materials for willing learners . I have been to mentor and train young and intelligent minds with the cutting edge technologies that will enable them to enjoy a great career path and settle in the pursuit of a great profession.