I chose MongoDB and .Net Core 2.3 as technologies for a new webapp and was wondering what guidelines should I use. As i'm coming from Relational DB world, I watched like 5 MongoDB/C# tutorials so far but i'm still wondering:
- Is there a way to implement in a "clean" way Data Access Layer ? (like making a new Project for example)
- Is repository pattern really useful or overkill ? (I may change DB source if MongoDB is too tricky to maintain and switch back to RDB but MongoDB already won half of my heart so far)
- How to implement "n-n relationships" such as a list of object in an object ? If i'm doing an update on one of the object of the list, am I going to update all same instances of it everywhere ? Sorry for the heresy.
There it is. Thanks in advance for every answer, every link, every vote.
I already started to use MongoDB.Bson lib and watched Tim Corey's tutorial (https://www.youtube.com/watch?v=69WBy4MHYUw).