Coffeehouse Thread

9 posts

Protocol Test

Back to Forum: Coffeehouse
  • User profile image
    Ian2

    Store link to my Windows 8 Apps

    Just curious to see if the above will work in relation to this post

    Update:  Shame it doesn't, maybe it should though?  Guessing there is some sort of security thing preventing this in Ch9?

    NB Type the following into your address bar if you are running Windows 8to see the link I was hoping to get from the above:

    ms-windows-store:Search?Query=Web Surfaces 

  • User profile image
    ZippyV

    The store link doesn't work and when I copy paste the ms-windows-store... text I get 0 results(Belgium).

  • User profile image
    Jim Young

    @Ian2:I ran the query from the address bar and it worked for me. I got 43 results with your app at the top. (USA)

  • User profile image
    cbae

    The only reason you can't do this in C9 is because the forum editor is doing some validation on URLs and strips it out. You can work around this with a URL shortener.

    However, with a URL shortener, the redirect works, but you get a "The webpage cannot be displayed" message. The URL, however, is still displayed in the address bar, so you can click refresh. Then it works.

    Test

    Note: TinyURL is one of the few services that doesn't do URL validation.

    You'll see that a direct link from HTML does work. Go to this preview page, and click the "Proceed to this site link".

    http://preview.tinyurl.com/bvf823h

    Note: Obviously, this works only in IE10 and above. Other browsers have no idea what the hell the "ms-windows-store:" protocol is.

  • User profile image
    Ian2

    Surprisingly it does seem to work in most of the major browsers, guessing that MS did the plumbing as part of the Windws8 rollout?

  • User profile image
    cbae

    @Ian2: I just tried in in Chrome and couldn't get it to work.

  • User profile image
    Ian2

    (works on my machine)

  • User profile image
    Sven Groot

    , Ian2 wrote

    Surprisingly it does seem to work in most of the major browsers, guessing that MS did the plumbing as part of the Windws8 rollout?

    URL handlers have been part of Windows for a very long time, and many browsers support them. Adding one for the Windows store in Windows 8 was hardly a lot of plumbing. Smiley

  • User profile image
    Ian2

    So I think it would be useful to post direct links to Windows 8 Apps on channel 9. Are there any security concerns or other issues?

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.