1
I developed an Api that communicates with my database and put it on IIS. Testing in Windows Forms applications, the search of the api data works normally, but when I try to run it inside the Windows Phone app returns the following error:
{System.Net.Webexception: The remote server returned an error: Notfound. ---> System.Net.Webexception: The remote server returned an error: Notfound. at System.Net.Browser.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult) at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClasse.b__d(Object sendState) at System.Net.Browser.AsyncHelper.<>c__DisplayClass1.b__0(Object sendState) --- End of inner exception stack trace --- at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state) at System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.WebClient.GetWebResponse(Webrequest request, Iasyncresult result) at System.Net.Webclient.Downloadbitsresponsecallback(Iasyncresult result)}
Why is the error occurring? I test the app by the emulator of Visual Studio 2013 itself, will it be necessary to disable some firewall or do some special configuration?