locked
[UWP] Project Westminster Hosted Web App Issue with Intranet vs Internet Host RRS feed

  • Question

  • Toying around with Project Westminster, I have been able to easily (and successfully) create a Win 10 Hosted Web App using an internet-hosted web site as the target.

    However, after I created a clone of that target website on a VM in my intranet (with identical code) that works fine from the Edge browser and used the intranet version as my target website for the app, it freezes at the splashscreen.   I am at a total loss to explain this and/or fix it.    Is there some sort of restriction there?

    There is a DNS entry for the website machine in my intranet DNS server, so http://machinename or http://IP Address both bring up the internally hosted site in the Edge browser.

    Setting the StartPage to the internal URL using the machine name or IP address makes no difference.

    Same with the ApplicationContentUriRules.

    Is this a bug or a feature?

    Eric

    Sunday, August 23, 2015 6:41 PM

Answers

  • I just figured out the problem, folks.

    I had to add a new Capability in the package.appxmanifest:

     <Capability Name="privateNetworkClientServer" />

    Now it works.

    Sunday, August 23, 2015 7:05 PM
  • I just figured out the problem, folks.

    I had to add a new Capability in the package.appxmanifest:

     <Capability Name="privateNetworkClientServer" />

    Now it works.

    Yes, see the description in MSDN document: https://msdn.microsoft.com/en-us/library/windows/apps/BR211423.aspx

    On Windows, this provides access to a home or work network – the app can send information to or from your computer and other computers on the same network. On Windows Phone, provides the same access as internetClient or internetClientServer.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, August 24, 2015 10:06 AM

All replies

  • I just figured out the problem, folks.

    I had to add a new Capability in the package.appxmanifest:

     <Capability Name="privateNetworkClientServer" />

    Now it works.

    Sunday, August 23, 2015 7:05 PM
  • I just figured out the problem, folks.

    I had to add a new Capability in the package.appxmanifest:

     <Capability Name="privateNetworkClientServer" />

    Now it works.

    Yes, see the description in MSDN document: https://msdn.microsoft.com/en-us/library/windows/apps/BR211423.aspx

    On Windows, this provides access to a home or work network – the app can send information to or from your computer and other computers on the same network. On Windows Phone, provides the same access as internetClient or internetClientServer.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, August 24, 2015 10:06 AM