Supporting .NET Framework 3.5 SP1 Client Profile?

2019-07-09 03:29发布

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?

2条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-07-09 03:34

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.

查看更多
Summer. ? 凉城
3楼-- · 2019-07-09 03:42

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

.NET Framework Stack

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.

查看更多
登录 后发表回答