Silverlight 4 WCF RIA Service Timeout Problem
问题 I have a Silverlight 4 usercontrol that calls a very long running WCF RIA service. As shown below, I am increasing the default timeout period. _domainContext = new WindowsDashboardDomainContext(); // Increase timeout -- this can be a very long running query ((WebDomainClient<WindowsDashboardDomainContext.IWindowsDashboardDomainServiceContract>) _domainContext.DomainClient).ChannelFactory.Endpoint.Binding.SendTimeout = new TimeSpan(99, 0, 0); _domainContext.GetSections( "All", "All", "All" )