i want to know what's the diffrence between .NET framework 4.0 and .NET framework 4.0 client??

thanks and regards
Aman Khan

smr replied to aman on 22-Sep-11 01:01 AM

hi

Straight from the Microsoft castle:

What is it:
The .NET Framework 4 Client Profile is a subset of the .NET Framework 4
that is optimized for client applications. It provides functionality for
most client applications, including Windows Presentation Foundation
(WPF), Windows Forms, Windows Communication Foundation (WCF), and
ClickOnce features.

Why:
This enables faster deployment and a smaller install package for applications that target the .NET Framework 4 Client Profile.

NET4 Full framework:
Target NET4 Full only if the features or assemblies that your app need are not included in the Client Profile. This includes:

If you are building Server apps. Such as:
o ASP.Net apps
o Server-side ASMX based web services

If you use legacy client scenarios. Such as:
o Use System.Data.OracleClient.dll which is deprecated in NET4 and not included in the Client Profile.
o Use legacy Windows Workflow Foundation 3.0 or 3.5 (WF3.0 , WF3.5)

If you targeting developer scenarios and need tool such as MSBuild or need access to design assemblies such as System.Design.dll

NET4 Full framework:
Target NET4 Full only if the features or assemblies that your app need are not included in the Client Profile. This includes:

If you are building Server apps. Such as:
o ASP.Net apps
o Server-side ASMX based web services

If you use legacy client scenarios. Such as:
o Use System.Data.OracleClient.dll which is deprecated in NET4 and not included in the Client Profile.
o Use legacy Windows Workflow Foundation 3.0 or 3.5 (WF3.0 , WF3.5)

If you targeting developer scenarios and need tool such as MSBuild or need access to design assemblies such as System.Design.dll

Project Templates that Target the .NET Framework Client Profile

Several project templates in Visual Studio 2010 target the .NET Framework 4 Client Profile. The following is a list of the project templates in Visual Studio 2010 that target the .NET Framework 4 Client Profile by default. All other projects target the .NET Framework 4 by default.