MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.

I'm not curious

Using MongoDB with ASP.NET MVC

Course Summary

Interested in using MongoDB to store information in your ASP.NET MVC applications? This course covers the decisions you will face and the tools available to incrementally build an MVC application with MongoDB. You will learn how to connect to MongoDB usin

  • +

    Course Syllabus

    ● Course Introduction
        ◦ Welcome
        ◦ Why Use MongoDB in MVC?
        ◦ What Will I Learn?
    ● Connecting to MongoDB
        ◦ Overview
        ◦ The Official Driver
        ◦ Exploring the Driver Connection Abstractions
        ◦ Getting Mongo Running
        ◦ Setting Up an MVC App to Connect to Mongo
        ◦ Extracting a Context Class to Connect to Mongo
        ◦ Takeaway
    ● Creating Documents
        ◦ Overview
        ◦ What is a Document?
        ◦ The BsonDocument Model
        ◦ Demo: Creating Documents with BsonDocument
        ◦ Demo: BsonValue Operations
        ◦ Demo: BsonDocument to BSON
        ◦ Creating Documents with POCOs
        ◦ Modeling Tips
        ◦ Demo: Serialization Attributes
        ◦ More Serialization Attributes
        ◦ Demo: Designing a Rental Model
        ◦ Takeaway
    ● Storing and Modifying Documents
        ◦ Overview
        ◦ MongoCollection and WriteConcern
        ◦ The Insert Operation
        ◦ Demo: Inserting Rentals
        ◦ Demo: Introducing Robomongo
        ◦ Replacement Updates
        ◦ Demo: Replacement to Adjust Rental Prices.
        ◦ Modification Updates
        ◦ Updating Multiple Documents
        ◦ Considerations: Replace vs. Modify, Concurrency, Growth, Size
        ◦ Atomic Find and Modify Operation
        ◦ The Remove Operation
        ◦ Demo: Removing Rentals
        ◦ Takeaway
    ● Querying Documents
        ◦ Overview
        ◦ Find and Query Documents
        ◦ Demo: Using Find to Add a Price Limit Filter
        ◦ MongoCursor
        ◦ Demo: Using MongoCursor to Sort Rentals
        ◦ LINQ
        ◦ Demo: Using LINQ to Add a Minimum Rooms Filter
        ◦ Aggregate
        ◦ Demo: Using Aggregate to Query Rental Price Distributions
        ◦ Query Performance
        ◦ Takeaway
    ● GridFS
        ◦ Overview
        ◦ What is GridFS?
        ◦ Storing Files
        ◦ Demo: Attaching Images to Rentals
        ◦ Reading Files
        ◦ Demo: Displaying Rental Images
        ◦ Replacing Files
        ◦ Demo: Replacing Rental Images
        ◦ Takeaway
        ◦ Next Steps
        ◦ Course Recap
        ◦ Further Client Learning
        ◦ Further Server Learning


Course Fee:
USD 29

Course Type:


Course Status:



1 - 4 hours / week

This course is listed under Open Source , Development & Implementations and Data & Information Management Community

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top