Windows桌面C#应用程序和仅应用程序之间有什么区别?

时间:2018-06-06 17:45:31

标签: c# windows notifications

以下是两篇类似的文章:

1)https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/send-local-toast

2)https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/send-local-toast-desktop

我无法获得信息。第一篇文章提供了应用的通知教程。另一篇文章展示了桌面C#app 的教程。选择什么,有什么区别?感谢。

1 个答案:

答案 0 :(得分:1)

当他们称他们为应用程序时,他们的意思是使用名为UWP(通用Windows平台)的新技术制作的应用程序,它只适用于Windows 10.您可以在此处查看。

  

先决条件

     

为了完全理解这个主题,以下内容将有所帮助......

A working knowledge of toast notification terms and concepts. For more information, see Toast and action center overview.
A familiarity with Windows 10 toast notification content. For more information, see toast content documentation.
A Windows 10 UWP app project

然后他们称之为Desktop C#app,是执行Windows应用程序的“经典”方式。例如,在大多数Windows机器(如Windows 7或Vista)中运行的C#中的WPF(Windows Presentation Foundation),它们也意味着使用c ++生成的应用程序。

主要区别在于他们所谓的应用是用UWP制作的,这些在Windows桌面,Windows手机等上运行良好。 桌面c#app  是一个用WPF创建的应用程序,它有点旧,但适用于较旧的操作系统。