Связь между приложением Windows Store и собственным настольным приложением

! For the sake of simplifying things I will refer to Windows Store applications (also known as Metro or Modern UI) as "app" and to common desktop applications as "application" !

Я считаю, что это все еще один из самых неясных, но важных вопросов, касающихся разработки приложений для разработчиков, которые уже создали приложения на рынке: Как управлять связью между приложениями и приложениями в системе Windows 8? (пожалуйста, давайте не будем начинать дискуссию о принципах - существует очень много случаев, когда это действительно необходимо!)

Я в основном читаю сотни статей за последние несколько дней, но до сих пор неясно, как продолжать делать это правильно с первого раза. Главным образом потому, что я нашел несколько противоречивой информации. В связи с моим вопросом здесь я бы хотел еще раз подойти к этой проблеме с точки зрения окончательных возможностей Windows 8.

Given situation:

App and application run on same system 1:1 communication Application is native (written in Delphi) Administrator or if required even system privileges are available for the application In 90% of the use cases the app requests an action to be performed by the application and receives some textual result. The app shouldn't be left nor frozen for this! In 10% the application performs an action (triggered by some event) and informs the app - the result might be: showing certain info on the tile or in the already running and active app or if possible running the app / bringing it to the foreground.

Now the "simple" question is, how to achieve this?

Is local webserver access actually allowed now? (I believe it wasn't for a long time but now is since the final release) WCF? (-> apparently MS doesn't recommend that anymore) HTTP requests on a local REST/SOAP server? WinRT syndication API? (another form of webservice access with RSS/atom responses) WebSockets (like MessageWebSocket)? Some other form of TCP/IP communication? Sharing a text file for in- and output (actually simply thinking of this hurts, but at least that's a possibility MS can't block...) Named Pipes are not allowed, right?

Здесь обсуждаются некоторые темы по SO, однако большинство из них уже не актуальны, поскольку MS сильно изменилась перед выпуском окончательной версии Windows 8. Вместо того, чтобы смешивать старую и новую информацию, которую я хотел бы найти определенный и актуальный ответ на эту проблему для меня и для всех других разработчиков приложений и приложений для Windows. Спасибо!

Ответы на вопрос(1)

Ваш ответ на вопрос