Click here to Skip to main content
15,904,934 members

Comments by Member 2719936 (Top 1 by date)

Member 2719936 1-Jan-19 2:49am View    
I did as suggested
GlobalConfiguration.Configuration.Formatters.JsonFormatter.SerializerSettings.ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize;
GlobalConfiguration.Configuration.Formatters.Remove(GlobalConfiguration.Configuration.Formatters.XmlFormatter);

But, I am still getting the same error. Anything else to add/modify?