5,380 questions
Xamarin.iOS AppDelegate HTTP Calls
Max Houghton
1
Reputation point
I'm using a HttpClient within a data service class to perform HTTP requests. This service is registered with dependency injection (using Autofac) and I create an instance of this service using DI in the AppDelegate FinishedLaunching method. When I try and make any calls using the data service the request takes over 30 seconds then times out every time. Is there a reason I can't do HTTP requests in the FinishedLoading method?
Developer technologies .NET Xamarin
Sign in to answer