locked
Expose Windows8 app as web application to non-windows 8 user.

    Question

  • Hi , 

    We want to develop a windows 8 application for windows 8 machines. for non-windows 8 machines we want to expose same application via intranet web. Basic approach one can take to meet this is to have 2 different solutions built for windows 8 and non-windows 8 machines. I'm wondering is it possible to meet this requirement with single solution ?

    Thanks in advance for any inputs.

    Sunday, January 6, 2013 3:54 AM

Answers


  • Hi cellulo,

    Although windows store app support HTML5 + javascript as first class development language, it has quite a few difference from traditional web page based web applications. In windows store app, you have access to windows runtime library API and classes which is much richer than the tradiional web app's javascript support (even if HTML5 is included). So if you consider developing the application with two version, standard web and windows store one, you need to consider if both of them will include the same feature set. Generally, I think windows store app can support more advanced (OS related) features than normal web page based web application. You can try implementing the traditional web page based version first and then build the windows store one according to the web page based version.

    Here are some references about the difference between windows store app and traditional web app when developing via javascript:

    #Windows Store apps using JavaScript versus traditional web apps (Windows)
    http://msdn.microsoft.com/en-us/library/windows/apps/hh465408

    and also the rich API and classes supported by windows store app:

    #Windows API reference for Windows Store apps (Windows)
    http://msdn.microsoft.com/en-us/library/windows/apps/br211377

    BTW, one possible approach is to use <iframe> element to directy display an external/intranet web page in your windows store app. Thus, you can build the web page version and then quickly implement the windows store one by displaying the web pages in windows store app via iframe. However, a windows store app which only displays an external web site/pages is not recommended and might not pass windows store app certification. But if you choose to publish it as an enterpse specific app or you just use this approach for implementing part of your windows store app (not the entire feature set), I think it is totally ok.

     


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Proposed as answer by pcmichaels Monday, January 7, 2013 11:55 AM
    • Marked as answer by Song Tian Friday, January 11, 2013 9:38 AM
    Monday, January 7, 2013 7:45 AM
    Moderator