[英]Why should someone use the .NET Framework 4 Client Profile?
Are there any good reasons to use .NET Framework 4 Client Profile instead of the full version ? 是否有充分的理由使用.NET Framework 4 Client Profile而不是完整版 ?
I mean, real-life reasons. 我的意思是,现实生活中的原因。 I am creating a .NET application, and since it's quite easy to create an installer that will install the .NET framework on a client machine, why bother using the Client Profile?
我正在创建一个.NET应用程序,因为创建一个将在客户端计算机上安装.NET框架的安装程序非常容易,为什么还要使用客户端配置文件呢?
The documentation answers this: 文档回答了这个问题:
The .NET Framework 4 Client Profile is a subset of the .NET Framework 4 that is optimized for client applications.
.NET Framework 4 Client Profile是.NET Framework 4的一个子集,针对客户端应用程序进行了优化。 It provides functionality for most client applications, including Windows Presentation Foundation (WPF), Windows Forms, Windows Communication Foundation (WCF), and ClickOnce features.
它为大多数客户端应用程序提供功能,包括Windows Presentation Foundation(WPF),Windows窗体,Windows Communication Foundation(WCF)和ClickOnce功能。 This enables faster deployment and a smaller install package for applications that target the .NET Framework 4 Client Profile.
这样可以为面向.NET Framework 4 Client Profile的应用程序实现更快的部署和更小的安装包。
A smaller install package could be a bonus, especially if you're targeting non-traditional devices like tablets with less storage space. 较小的安装包可能是一个奖励,特别是如果您的目标是非传统设备,如平板电脑具有较少的存储空间。 It's also a shorter download time if the Framework needs to be installed.
如果需要安装Framework,它的下载时间也会缩短。
Applications that target the .NET Framework 4 Client Profile typically improve the deployment experience by having smaller download sizes and quicker install times. 面向.NET Framework 4 Client Profile的应用程序通常具有较小的下载大小和更快的安装时间,从而改善了部署体验。 An application that targets the .NET Framework 4 Client Profile has a smaller redistribution package that installs the minimum set of client assemblies on the user's computer, without requiring the full version of the .NET Framework 4 to be present.
面向.NET Framework 4 Client Profile的应用程序具有较小的重新分发程序包,可在用户的计算机上安装最少的客户端程序集,而无需存在完整版本的.NET Framework 4。
A good answer can be found in Stack Overflow question Differences between Microsoft .NET 4.0 full Framework and Client Profile . 在Stack Overflow问题中可以找到一个很好的答案Microsoft .NET 4.0完整框架和客户端配置文件之间的差异 。 Basically, only use the full framework if you know you need to.
基本上,如果您知道需要,只使用完整的框架。 Normal client applications should only need the client framework.
普通客户端应用程序应该只需要客户端框架。
Some reasons: 一些原因:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.