Self referencing loop detected for property Entity Framework

Code Example - Self referencing loop detected for property Entity Framework

                
                        HttpConfiguration config = GlobalConfiguration.Configuration;

config.Formatters.JsonFormatter
            .SerializerSettings
            .ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore;