简体   繁体   English

为什么有人会使用.NET Framework 4 Client Profile?

[英]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: 一些原因:

  • The client profile has been available as a recommended update on Windows Update since Vista (ref: http://support.microsoft.com/kb/982670 ), so chances are you don't need to install it at all on your target machines 自Vista以来,客户端配置文件已作为Windows Update上的推荐更新提供(参考: http//support.microsoft.com/kb/982670 ),因此您可能根本不需要在目标计算机上安装它
  • being a separate profile it will be updated separately (so clients will not need to update as much, if a security patch for a server-only feature is released) 作为一个单独的配置文件,它将单独更新(因此,如果发布仅用于服务器的功能的安全修补程序,则客户端不需要更新太多)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么Microsoft .NET Framework客户端配置文件是256 MB? - Why Microsoft .NET Framework Client Profile is 256 MB? .NET Framework 4客户端配置文件与.NET Framework 3.5客户端配置文件 - .NET Framework 4 Client Profile vs .NET Framework 3.5 Client Profile .NET Framework 4 客户端配置文件是否安全? - Is .NET Framework 4 Client profile secure? 什么时候是使用.NET Framework 4而不是.NET Framework 4 Client Profile的正确时间? - When is the right time to use .NET Framework 4 rather than .NET Framework 4 Client Profile? 为什么将目标框架从“ .NET Framework 4客户端配置文件”更改为“ .NET Framework 4”会发出警告消息? - Why did changing my target framework from “.NET Framework 4 Client Profile” to “.NET framework 4” give me warning messages? 是否有可与.NET客户端配置文件一起使用的模拟框架? - Is there a mocking framework that works with the .NET Client Profile? .net 框架 4 客户端配置文件参考 .netframework 4.dll - .net framework 4 client profile with reference to .netframework 4 .dll .NET Framework 4.0客户端配置文件与.NET Framework 4.0 - .NET Framework 4.0 Client Profile vs .NET Framework 4.0 .Net Framework 4 Full 和 Net Framework 4 Client Profile Targeting - .Net Framework 4 Full and Net Framework 4 Client Profile Targeting .NET Framework和.NET Framework客户端配置文件之间的区别 - Difference between .NET Framework and .NET Framework Client Profile
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM