Thursday, September 22, 2011

.NET interview questions: - What are the difference between .NET Framework 4 and .NET Framework 4 Client Profile?

.NET Framework 4 Client Profile: - The .NET Framework 4 Client Profile is a downsized version of .NET Framework 4 and is basically used when you want to create windows based applications and you do not want the complete framework to be installed.
Now, let’s see the features that are not included in the .NET Framework 4 Client Profile.

As it’s a downsized version following are not included in the .NET Framework 4
Client Profile as compared to the .NET Framework 4.


1. ASP.NET.

2. Advanced Windows Communication Foundation (WCF) Functionality.

3. .NET Framework Data Provider for Oracle.

4. MSBuild for Compiling.

Now, let’s see a small demonstration to understand it better manner and also
prove the above points.

Step1: - create a new windows application for that just GoTo > File >
New > Project > Windows > Select Windows Form Application
like below
diagrams.








Note: - In the above diagram you can see that I have target the framework
as .NET Framework 4.

Now, let’s see that which framework is been assigned to your Windows Application
by the visual studio for that just Right click on the Project Name > Go To >
Properties
. As soon as you click on properties a new window will open like
below diagram.





In the above diagram you can clearly see that the Visual Studio selected the Framework as .NET Framework 4 Client Profile by default.

Now, let’s see what happens when we create a project on ASP.NET.

Create a new project of ASP.NET application for that just go to > File > New
> Project > Web > Select ASP.NET Web Application
like below diagrams.







Note: - In the above diagram you can see that I have target the framework as .NET Framework 4.

Similarly, let’s see that which framework is been assigned to your Windows
Application by the visual studio for that just Right click on the Project
Name > Go To > Properties
. As soon as you click on properties a new window
will open like below diagram.


Now, in the above diagram you can clearly see that the Visual Studio has selected the framework as .NET Framework 4.

The above difference proves that the .NET Framework 4 Client Profile does not
include feature of ASP.NET.

Similarly, you can demonstrate simple to see the further differences between the
.NET Framework 4 and .NET Framework 4 Client Profile.

Watch video on regular expression with practical demonstration as follows: -





Get more materials on interview questions and answers for .NET

Regards,

See more stuffs on author’s blog for Most asked Dotnet interview question

No comments: