适用于.Net Framework类库的.NET for Windows Store API应用程序。 [英] .NET for Windows Store APIs apps regarding .Net Framework Class Library.

查看:126
本文介绍了适用于.Net Framework类库的.NET for Windows Store API应用程序。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1。 .NET Framework类库 [ ^ ]



2. 适用于Windows应用商店应用API的.NET [ ^ ]



问题:

比'1'强2多少?


我想选择WPF或'2'来制作应用程序,但我看到'2'API并且觉得它很差。

我需要丰富的用户界面,流畅的动画等等。

我喜欢'2',因为我可以通过.Net Native提交存储并将其转换为机器代码,但不知道它的功能。



它们具有相同的功率吗?

或WPF强多倍?

可能是'2'甚至没有UI?



我可以使用'2'创建丰富的用户界面应用吗?

解决方案

没有太多比较两者... .NET for Windows Store Applications是完整.NET框架的子集(大部分),它有一个特定的目标 - 为Windows Store开发应用程序...由于并非所有平台(Windows)都可以运行Windows应用商店应用程序,因此您应该决定要开发什么,而不是选择您的确切平台...

Quote:

我需要丰富的用户界面

有一个Windows.UI命名空间...



引用:

将其转换为机器代码

它不适用于Windows Store应用程序...



引用:

它们是否具有相同的功能

两者都是基于.NET的 - 那么什么问题?


你使用.Net Framework的子集名为.Net for Windows Store应用程序来为Windows运行时带来C#功能。

Windows运行时(WinRT)是不受管理的,但C#是管理的,怎么样?

您使用.Net for Windows Store应用程序类型以及WinRT类型并在执行期间.Net将与非托管WinRT类型互操作。



.NET for Windows应用商店应用API [^]显示.Net子集支持的类型,与非托管WinRT类型一起使用。

因此,不仅仅是C#所拥有的类型)



您可以通过这种方式使用C#的任何无人值守的WinRT类型。


1. .NET Framework Class Library[^]

2. .NET for Windows Store apps APIs[^]

The question:
How much is '2' stronger than '1'?

I wanna choose WPF or '2' to make apps, but i see '2' APIs and feel like poor about it.
I need rich user interface, smooth animations and so on.
I like '2', because i can submit to store and turn it into machine code by .Net Native, but have no idea about its power.

Are they of the same power?
Or WPF is many times stronger?
May be '2' even has no UI?

Can i make rich user interface apps using '2'?

解决方案

There is not much to compare the two... .NET for Windows Store Applications is subset (mostly) of the full .NET framework and it has a specific goal - to develop applications for Windows Store...As not all platforms (of Windows) can run a Windows Store application, you should decide what are you want to develop than choose your exact platform...

Quote:

I need rich user interface

There is a Windows.UI namespace for that...

Quote:

turn it into machine code

It is not for Windows Store apllications only...

Quote:

Are they of the same power

Both are .NET based - so what the question?


You use the subset of .Net Framework called .Net for Windows Store apps to bring C# functionality to Windows Runtime.
Windows Runtime (WinRT) is unmanaged, but C# is managed, how?
You use .Net for Windows Store apps types along with WinRT types and during execution .Net will interop with unmanaged WinRT types.

.NET for Windows Store apps APIs[^] shows types supported by .Net subset that you use alongside with unmanaged WinRT types.
So it is not only types you have by C#)

You can use any unamanged WinRT type by C# in this way.


这篇关于适用于.Net Framework类库的.NET for Windows Store API应用程序。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆