Is it possible to make a WinRT service

Since WinRT has unique features, I wonder if you need to make a Windows service designed for WinRT? If this was not possible, can it be possible to use the invisible WinRT / Metro application?

Many thanks.

+5
source share
3 answers

No, this is the correct answer. The Metro application runs inside the Metro shell and inside the execution container, which creates an isolated environment from system resources, including services. For this reason, the metro application cannot access the local service. Similarly, for this reason, the metro application may not be a service.

push- Windows - , . , ( ), ( ).

, 2 ( ). Push- , -.

:

Metro ( Intel ). Metro - , . Metro . Metro , , . Metro - , Windows.

, , ​​ . , .

+5

, ( "" ).

, , , .

+1

, .

WinRT - API Metro (Windows Store) Desktop/#.

However, the full API is not displayed - see what you can access here: http://msdn.microsoft.com/en-us/library/windows/desktop/hh920511%28v=vs.85%29.aspx

Hanselman shows how to add a link to WinRT:

  • Edit csproj:
<PropertyGroup>
  <TargetPlatformVersion>8.0</TargetPlatformVersion>
</PropertyGroup>
  • Then add the link to Core / Windows.

http://www.hanselman.com/blog/HowToCallWinRTAPIsInWindows8FromCDesktopApplicationsWinRTDiagram.aspx

0
source

All Articles