Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     




.NET interview questions : - How can we improve performance of .NET and show the difference between .NET 1.X, 2.0, 3.0, 3.5 and 4.0?

Below are some common points you can remember. List is endless but I do not want to make it long, so that you can remember important ones.
  • Use string builder for concatenation rather than string when concatenation huge string values.
  • Avoid boxing / unboxing, use generics.
  • Avoid writing in line SQL queries use stored procedures.
  • Choose your indexes (clustered and non-clustered) properly. 
  • Use Caching for data which will not change frequently.
  • In ASP.NET use output cache directive for page level caching.
Difference between .NET 1.X,2.0,3.0, 3.5 and 4.0:-

Below is the list of top differences between the framework versions. Please remember the list is much bigger than what I have put down. But for interview perspective I have taken top 5 in each one of them so that we can remember the important ones.

.NET 2.0

.NET 3.0

.NET 3.5

.NET 4.0

Support for 64 bit application.

Generics

SQL cache dependency

Master pages

Membership and roles

WCF

WPF

WWF

WCS ( card space)

LINQ

Ajax inbuilt
ADO Entity framework
ADO data services

Multi targeting

MEF
Parallel computing
DLR dynamic

Code contract

language runtime

Lazy initialization
Background GC


You can also watch the below video created by www.questpond.com which demonstrates how read only read only is a runtime constant and constant is a compile time constant.

Helpful Website Url
http://www.questpond.com/
Share this article   |    Print    |    Article read by 4483 times
Author:
Shivprasad koirala Koirala
I am a Microsoft MVP for ASP/ASP.NET and currently a CEO of a small E-learning company in India. We are very much active in making training videos , writing books and corporate trainings. Do visit my site http://www.questpond.com for .NET, C# , design pattern , WCF , Silverlight , LINQ , ASP.NET , ADO.NET , Sharepoint , UML , SQL Server training and Interview questions and answers
Related Articles:
Related Interview Questions: