I created an new ASP.NET web forms app that has the new moble features I tried to see how it switches from desktop to moble on the phone but the new emulator won't access localhost any one have an answer please
Windows Phone 8 emulator is different then in the past so you'll have to treat it differently. An answer to the same question was answered with this:
The Windows Phone 8 emulator is actually a full virtual machine with its own internal IP address. Therefore,
localhost means the (virtual) phone, not your PC.
To connect to the host PC, you need to enter its internal IP address.
You also need to configure IIS Express and your firewall to accept connections from other computers.
Hi thanks for getting back to me I've tried that solution I run ipconfig in the comand promp got the IP address where in IIS express and fire wall do you configure to accept connections you'd think if it was this complicated there would be a walk through
I heard that one of my colleagues spent several days installing and trying to get it to work. Another colleague tried as well and stated that he was up and running within a day following the guidelines provided by Microsoft.
Grz, Kris.
Read my blog | Twitter Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
rickj1
Member
385 Points
203 Posts
Access Localhost from windows 8 phone emulator
Dec 15, 2012 08:19 PM|LINK
I created an new ASP.NET web forms app that has the new moble features I tried to see how it switches from desktop to moble on the phone but the new emulator won't access localhost any one have an answer please
www.barterlinks.net
XIII
All-Star
182702 Points
23463 Posts
ASPInsiders
Moderator
MVP
Re: Access Localhost from windows 8 phone emulator
Dec 15, 2012 08:51 PM|LINK
Hi,
Windows Phone 8 emulator is different then in the past so you'll have to treat it differently. An answer to the same question was answered with this:
The Windows Phone 8 emulator is actually a full virtual machine with its own internal IP address. Therefore, localhost means the (virtual) phone, not your PC.
To connect to the host PC, you need to enter its internal IP address.
You also need to configure IIS Express and your firewall to accept connections from other computers.
Taken from http://stackoverflow.com/questions/13149304/windows-phone-8-emulator-access-localhost (found via google).
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
rickj1
Member
385 Points
203 Posts
Re: Access Localhost from windows 8 phone emulator
Dec 15, 2012 09:48 PM|LINK
Hi thanks for getting back to me I've tried that solution I run ipconfig in the comand promp got the IP address where in IIS express and fire wall do you configure to accept connections you'd think if it was this complicated there would be a walk through
www.barterlinks.net
XIII
All-Star
182702 Points
23463 Posts
ASPInsiders
Moderator
MVP
Re: Access Localhost from windows 8 phone emulator
Dec 15, 2012 09:51 PM|LINK
Hi,
I heard that one of my colleagues spent several days installing and trying to get it to work. Another colleague tried as well and stated that he was up and running within a day following the guidelines provided by Microsoft.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
rickj1
Member
385 Points
203 Posts
Re: Access Localhost from windows 8 phone emulator
Dec 15, 2012 10:41 PM|LINK
any Idea were to find these guid lines
www.barterlinks.net
XIII
All-Star
182702 Points
23463 Posts
ASPInsiders
Moderator
MVP
Re: Access Localhost from windows 8 phone emulator
Dec 16, 2012 11:13 AM|LINK
Hi,
this is the one that my colleague followed: http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff626524(v=vs.105).aspx.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!