Focusing on MicroServices
Subscriber and Publisher (Message Broker)
Designing an Agregate and Utilizing Mapping. modelEntity.Entity<YourModelClass>().HasKey("Id"); //This let Entity Framwork use that column as an Index, helps in retrieving the data and inserting the data. //Another good practice is to encopsulate certain properties that you don't want other class to access. //If you have a private field Property in your Model Class, you can late Entity Framework know about that field property by explicitly including it HasField("_nameOfField") modelEntity.Entity<YourModelName>().Property(b => b.TeamName).HasField("_YourPrivateField"); This way even when your Field Property is private EFCore can still utilize it.?