Using MongoDB with ASP.NET MVC
MongoDB is quickly becoming a ubiquitous alternative to traditional relational storage systems. This course will give you the knowledge necessary to get started with MongoDB in your ASP.NET MVC applications and .NET development.
What you'll learn
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 using the official C# driver, create documents and customize serialization, overcome the object relational impedance mismatch and start creating rich domain models, store and modify documents, query documents with both LINQ and Mongo query styles, and store files with GridFS. At the end of this course, you will have the skills necessary to begin using MongoDB in your .NET applications.
Table of contents
- Overview 1m
- What is a Document? 6m
- The BsonDocument Model 5m
- Demo: Creating Documents with BsonDocument 8m
- Demo: BsonValue Operations 2m
- Demo: BsonDocument to BSON 2m
- Creating Documents with POCOs 6m
- Modeling Tips 2m
- Demo: Serialization Attributes 3m
- More Serialization Attributes 5m
- Demo: Designing a Rental Model 8m
- Takeaway 1m
- Overview 2m
- MongoCollection and WriteConcern 4m
- The Insert Operation 2m
- Demo: Inserting Rentals 8m
- Demo: Introducing Robomongo 3m
- Replacement Updates 6m
- Demo: Replacement to Adjust Rental Prices. 7m
- Modification Updates 6m
- Updating Multiple Documents 1m
- Considerations: Replace vs. Modify, Concurrency, Growth, Size 5m
- Atomic Find and Modify Operation 2m
- The Remove Operation 2m
- Demo: Removing Rentals 2m
- Takeaway 1m
- Overview 2m
- Find and Query Documents 5m
- Demo: Using Find to Add a Price Limit Filter 4m
- MongoCursor 3m
- Demo: Using MongoCursor to Sort Rentals 2m
- LINQ 2m
- Demo: Using LINQ to Add a Minimum Rooms Filter 4m
- Aggregate 7m
- Demo: Using Aggregate to Query Rental Price Distributions 6m
- Query Performance 2m
- Takeaway 1m