Mastering MongoDB with ASP.NET Core: A Complete Guide to MVC
- Description
- Curriculum
- FAQ
- Reviews
This is an all-level course in Building apps with ASPNET Core 3 MVC 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.
Some of the comments about the course:
“An elaborate and detailed description for a beginner. The author has put a lot of effort into structuring the content. Certainly proved useful to me as a starter.” – Sudeep Ghatak
“to whom all want to know what is MongoDB and use it with MVC Core i would strongly recommend you to attend in this course .” – Abdalla Ben Omran
“I thought the course is quite relevant for beginners who want to learn ASPNet Core 3 with MVC and MongoDB from scratch. I liked the course so far. The instructor is very clear and to the point. There are good resources made available in the course for practice, thereby gaining more insight. The buildup of the course is gradual, therefore easy to grasp.” – Moumita Chatterjee
The 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!
-
1Course Review and Rating SystemVideo lesson
This lecture intends to make the students aware of the rating system for a course, how it could be skipped or rescheduled to appear at the end of the course when they have a better overview of the course rather than at the start of the course.
-
2IntroductionVideo lesson
This is a video on the overview of the entire course based on ASP.NET Core 3. After watching this tutorial, the students will have a broad outlook on what to expect from the course.
-
3Downloading and Installation of Visual Studio 2019 for Mac and LinuxVideo lesson
This lecture will provide the download links for students opting to work on Mac and Linux operating systems. It also provides links to the other pre-requisite resources essential to create and run the asp.net core 3 application with MongoDB as detailed in this course.
-
4Preview of the Completed ASP.NET Core 3 MVC ApplicationVideo lesson
This is a preview of the completed as-built application which the students will build from scratch. The lecture shows all the CRUD functionalities of the completed application with ASP.NET Core MVC with MongoDB as a database server.
-
6Section IntroductionVideo lesson
This is the section introduction video. This lecture covers the lectures to be covered in this section. It discusses briefly about the highlights of the topics covered
-
7What is a NoSQL Database and why they are needed?Video lesson
The students will develop an understanding of the NoSQL concept. This course uses MongoDB as database which is a popular NoSQL document based database.
-
8Comparing NoSQL databases with relational databasesVideo lesson
This lecture discusses and compares the two common types of databases: NoSQL and RDBMS (Relational Database). The students will be able to see the relatives merits of both.
-
9NoSQL Database Concepts AssignmentText lesson
-
10Section IntroductionVideo lesson
This is the section introduction video. This lecture covers the lectures to be covered in this section. It discusses briefly about the highlights of the topics covered
-
11How to install MongoDb on the local machine?Video lesson
This lecture discusses the procedure of installing the MongoDb server. It gives the links and details of installation. The lecture discusses the importance of the mongod.exe and mongo.exe files.
-
12Section IntroductionVideo lesson
This is the section introduction video. This lecture covers the lectures to be covered in this section. It discusses briefly about the highlights of the topics covered
-
13Connect to the MongoDB Server and Start the MongoDb ClientVideo lesson
This lecture discusses how to connect to the MongoDB server and start a MongoDB client to handle the database commands. The students will be able to connect to the server and start a MongoDB client for issuing further commands.
-
14Create a MongoDB Database and add a CollectionVideo lesson
This lecture teaches the method of creating a Mongo database. It also shows how to add a collection to the Mongo database so created. The students will be able to create a MongoDB database and add a Customer collection to the database which will be required later for connecting to the ASP.NET Core application.
-
15Querying the MongoDB Database - Part 1Video lesson
This lecture introduces the queries in MongoDB for the read and create operations. The students will know the query syntax for these and will have some hands-on practice on the Mongo shell(on Windows command prompt).
-
16Querying the MongoDB Database - Part 2Video lesson
This lecture introduces the queries in MongoDB for the update and delete operations. The students will know the query syntax for these and will have some hands-on practice on the Mongo shell(on Windows command prompt).
-
17Couple of Important MongoDB Concepts to RememberVideo lesson
This lecture emphasizes on two most important concepts:
1) The demonstration of handling unstructured data (documents that have a different set of properties than other documents in a given collection)
2) Auto-generated ObjectId in MongoDB
-
18Writing and Testing the MongoDB QueriesText lesson
-
20Section IntroductionVideo lesson
This is the section introduction video. This lecture covers the lectures to be covered in this section. It provides a brief discussion of the topics covered
-
21What is ASP.NET Core?Video lesson
This lecture gives a somewhat detailed overview of ASP.NET Core. ASP.NET Core has evolved from the popular Microsoft web framework known as ASP.NET and released in June 2016. The course uses ASP.NET Core to build the applications, hence it will be beneficial for the students to have an overview of the ASP.NET Core web development platform offered by Microsoft.
The timing of the publication of this course is significant since the ASP.NET Core 3 ( the version used for the course is ASP.NET Core 3 preview 8 ) has just seen its first official version released September 23-25 in Microsoft Conference in US.
-
22Highlights and Features of ASP.NET CoreVideo lesson
This lecture details the highlights and special features of ASP.NET Core web platform. The students will appreciate the need to involve with this modern, cross-platform and open source technology which is bound to be the future of web development.
-
23Asynchronous Programming FundamentalsVideo lesson
This is a lecture that covers the fundamentals of asynchronous programming. Asynchronous programming is at the core of ASP.NET Core 3 so it is an essential concept to learn for streamlining the entry into the world of ASP.NET Core framework.
-
24Quizzing ASP.NET Core3Quiz
It is a fun quiz to assess how much the learner has grasped the concepts of ASP.NET Core3
-
25Section IntroductionVideo lesson
This is the section introduction video. This lecture covers the topics to be covered in this section. It discusses briefly the highlights of the topics covered in the section
-
26Create an ASP.NET Core 3 MVC ApplicationVideo lesson
This lecture shows an actual ASP.NET Core 3 MVC (Model-View-Controller) completed app that the students are going to learn and build hands-on. The students will also learn how to create an ASP.NET Core 3 MVC web application.
-
27Inspect the project structure in ASP.NET Core 3 MVC ApplicationVideo lesson
In this tutorial, the project structure of the ASP.NET Core 3 MVC application created earlier is inspected and discussed. The students will become aware of Dependencies, Properties, wwwroot folder, Controller, Models and Views folder, appsettings.json file as well as the Program and Startup classes.
-
28Model-View-Controller Architecture DescriptionVideo lesson
This lesson covers the MVC architecture in detail with animations. At the end of this lesson, the students will be able to appreciate the function of controller, model and views in an MVC application. They will be able to grasp the separation of concern concept which is the main feature of this design pattern.
-
29Section IntroductionVideo lesson
This is the section introduction video. This lecture covers the lectures to be covered in this section. It discusses briefly about the highlights of the topics covered
-
30Add a Class Library Project for Data Access LayerVideo lesson
This lecture shows how to add a Class Library project to the ASP.NET Core 3 solution to create a data access layer. Students will know the process to add another project to an existing solution.
-
31Create a Customer Class as ModelVideo lesson
This lecture shows the creation of a Models folder in the data access project. It then demonstrates how to create a Customer class to work as a Model for the solution. It shows the ways to add the required NuGet packages from the package manager library as well. The students will be able to create the models and also understand the function of various attributes for client-side validations.
-
32Create a Customer Context that Implements an ICustomerContext interfaceVideo lesson
This lecture shows how to add a Customer context for database operations, which implements an Interface. After attending this lecture the students will be able to add a CustomerContext implementing an ICustomerContext interface.
-
33Create an ICustomerRepository InterfaceVideo lesson
This lecture shows the creation of an interface for implementing the repository pattern. The students will know how to create and add relevant members to an interface that will be implemented.
-
34Create a CustomerRepository that Implements the ICustomerRepository InterfaceVideo lesson
This lecture walks through the creation of a CustomerRepository that implements the interface created earlier.
-
35How to Configure the MongoDB Settings?Video lesson
This lecture shows the students the process of setting up the appsettings.json file to access the MongoDB database. The students will be able to configure the ConnectionString and Database after completing this lecture
-
36Register Settings, Context and Repository Classes in the Startup classVideo lesson
This lecture shows how to register Settings, Context and Repository Classes in the Startup class for the ASP.NET Core MVC project. By the end of this lecture, the students will have a good idea of registering the various services through the ConfigureServices() method.
-
37Edit the Index() Action Method in the Home ControllerVideo lesson
This lecture shows how to edit the Index action method to use the Customer Repository. The students will learn how to write the asynchronous action method in this ASP.NET Core 3 application with the await keyword. Asynchronous programming is the pillar of any ASP.NET Core application.
-
38Edit the Default Index View for the Home Controller to Show the Customer ListVideo lesson
This lecture takes the students through the steps to edit the Index view of the Home Controller to customize it.
-
39Create an Action Method to Get a Customer By IdVideo lesson
This lecture shows the creation of an action method to get a customer by Id.
-
40Create Get Customer By Id View to Show the Customer by IdVideo lesson
This lecture walks through the steps to create a view to show the customer by Id.
-
41Create Action Methods to Insert a CustomerVideo lesson
The students will be able to create Insert Action method of the Home Controller after going through the lecture. This lecture is edited to now include BindAttribute explanation and contains external resources on model binding and BindAttribute for additional knowledge into the Binding syntax.
-
42Create the Insert View to Add a New CustomerVideo lesson
Walks through the process and creates the Insert view to add a new customer to the database.
-
43Create the Action Methods to Update a CustomerVideo lesson
Walks through the process and creates the action method to update a customer by id to the database.
-
44Create the Update View to Update a CustomerVideo lesson
Walks through the process and creates the Update view to update an existing customer to the database.
-
45Create the ConfirmDelete Action Methods to Confirm the Customer before DeletingVideo lesson
Walks through the process and creates the ConfirmDelete action method to confirm before deleting a customer from the database.
-
46Create the ConfirmDelete View to Confirm the Customer Before DeletingVideo lesson
Walks through the process and creates the ConfirmDelete view to confirm the customer for deletion.
-
47Create the Delete Action MethodVideo lesson
This lecture steps through and writes the code for the Delete action method.
-
48Test the Completed ASP.NET Core 3 MVC ApplicationVideo lesson
This lecture shows how the application is run and tested with test data for checking all the CRUD functionalities. The students will be able to test the application for completeness after completing the lecture.
-
49ASP.NET Core 3 MVC Application AssignmentText lesson
-
50Bonus Lecture: How Does MongoDB Handle Many-to-Many Associations?Video lesson
This lecture discusses how MongoDB models multiple entities and associates two collections that have many to many relationships. The familiar case of Customers and Products collections have been used to demonstrate this association by querying the database. The students will know how to create multiple documents in a many to many relationships and query them to retrieve the result.
External Links May Contain Affiliate Links read more