The situation is as follows: when adding an object that has 2 levels of detail in the database using EF, the process works fine on SaveChanges () for the first time, since all the data is loaded from the database.
I tried to save lists in sessions and even in ViewState (to avoid serialization problems) but when I create a new object and add details to it, the insertion process failed at the web level due to serialization problems
Note: Calling the business layer and data layer is routed through the WCF service.
source
share