Ever tried to serialize Entity Framework with WCF?
Have you tried it with the Lazy-Initialization feature?
And how about the Proxy Creation Enabled?
There's a problem of circular reference if one table is referencing another table - which referencing the first one.
We have had a great deal of problems with it. We even tried to consult an external expert of Entity Framework who simply told us it's impossible to serialize it on WCF.
oh darn... :(
We tried many solutions before we gave up:
like that one:
We even used t4templates to create a whole new set of flattened objects (!!!)
But it doesn't really make life easier as one has to load separately each and every object.
But this was not what we were looking for. We needed a solution that finds the spanning tree of a graph and serializing it into JSON.
Eventually the solution unexpectedly arise in the form of the open source JSON Serialization for .NET:
One of the features of this excellent util is to keep track of the objects which were already serialized in order not to re-serialize it again.
I was ready to implement it myself as I found out it already exists - which saved me a lot of time and work.
So, I would like to thank these guys who made this excellent code.
This article was written for the Data Science Society's Datathon held on February 2018, as an answer to questions from the participant...
I've tried to install pymssql on Windows using command line: pip install pymssql The operation fails with an error: fatal error C108...
A bit late, I admit, but finally I've started using Sencha's ExtJS framework. The first project I was executing was involving chart...