"by the way you need HTTPS connection to be able to work for iOS."
That's the info I needed!
So yes once I changed my DefaultHostUrl to https rather than http it worked. I knew it had to be something simple. I guess the fact that the http works on andorid threw me off, but no where did I come across it had to be https to run for ios.
I now have the basic no mod app running for android (simulator only), and ios (both simulator and sideloading onto a device).
Thanks
I am confused how this is out of aspnet zero?
Does the ios app not have the ablity to run in production mode?
The only thing I am changing is the url to point to a non-localhost host. Based on the code it should just use that url (not not replace localhost with the ip address code). I can access the web service production url and port fine from the mac (and any computer) and it works fine on the android.
Is there some sort of setting that needs to be set to allow the ios app to consume webservices from external networks? Again it works fine with the droid app, it is the ios app only that give me connection error.
Ok thanks. A few things.
I update the bug on seed code. I deleted the binand obj folders.
So my mac I pair with to compile/use xcode simulator is not on the same network as my pc.
That is why I am not running the DefaultHostUrl = "http://localhost:22742/";
but rather pointing it to the deployed web.host I have out there. I have tested and I can manually connect to that service just fine from the mac. I also use that same value with my andorid simulator and that connects and runs just fine. You can try that url and see that.
This all would seem to make sense if I was debugging and had a mac on the same network, but I am not trying to debug and the mac is an external that I am pairing with.
However since I am entered in the correct production url and compiling the IPA and simulator in release mode should it not work?
Thanks
Sorry forgot about that, password sent.
Ok I have sent the share.
Yes I can go on the mac and browse to to the server address (I set up both host and mvc at those ports in order to test this) and get back data.
I've tried changing the <span class="colour" style="color: rgb(0, 0, 0);">DefaultHostUrl to both the host and mvc addresses and both times it has worked fine in the Android app and I have been able to update data just like I would expect. Every time I use the iOS app no matter what way I have tried it (and I have tried multiple) I get the "A problem occurred while trying to communicate with the server. Do you want to try again?" after opening.</span>
I am remotely connecting to a Mac server from visual studio. I have my provising profile all set up and am able to compile to ipa file and run the iOS simulator fine. On the simulator and when running on multiple actual iPhones / iPads all give me the same connection error. I am not running mvc project from visual studio and the android app works fine (which is connecting via same apis from what I can see).
<br> <br>
How many should I try? This is two servers now that have had problems making the software unusable. What is the normal memory usage? I can try another host but this is a clean new install with no mods. You said "generally" does that mean that it does sometimes blow up memory like this?
OK yes I just checked my local host and on both AspNetCoreModule and AspNetCoreModuleV2 my memory size of the core host goes up over 500megs just by opening a few pages.
Winhost said they have a 300 meg limit with the basic hosting package. They said the enterprise level has a 500 megs limit but based on what I am seeing it would go over that also and be forced to recycle.
Am I missing something when compiling? What does the memory typically run?