Supporting .NET Framework 3.5 SP1 Client Profile?

♀尐吖头ヾ 提交于 2019-12-11 01:55:05

问题


Are there any design considerations that need to be made when targeting the .NET Framework 3.5 SP1 Client Profile? I know it's a subset of the full framework, but what is missing and how will I know if my application will require the Client Profile or the full framework? Has anyone successfully developed an application using the Client Profile that can share their thoughts about it?


回答1:


The Client Profile is mainly missing server-side things, i.e. ASP.NET and the like. You can just develop for client profile and let the compiler handle the rest (you'll get warnings if you use something that is not available on client profile). And if you can't do anything about it, switching to the full framework is just a click on a check box.




回答2:


You only need .NET Framwork 3.5 features if you consider using LINQ and ADO.NET Entity Framework or the new System.Addin namespace.

When creating a new project in Visual Studio 2008 you can select the target framework. This will automatically show or hide the namespaces which are not available to the selected version.



来源:https://stackoverflow.com/questions/615354/supporting-net-framework-3-5-sp1-client-profile

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!