Sunday, June 29, 2008

Comparison Between .Net 2.0, .Net 3.0 and .Net 3.5

Microsoft released many versions of .net (like: 1.1, 2.0, 3.0, 3.5). Some times people think which version should they use. So, here i will try to give a comparison between these versions....


.NET 2.0 :

The key feature of .NET Framework version 2.0 are:


· 64-Bit Platform Support
· ADO.NET
· ASP.NET
· Console Class Additions
· Web Services
· .NET Framework Remoting


It is bring a lot of evolution in class of the framework and refactor some control.The other big evolution here is on language with support of :

- generics
- anonymous methods
- partial class
- nullable type

etc.


.NET 3.0 :

This framework is the key for developing application under Vista.It is just a set of assembly which use XML to map:

-Communication (WCF)
-View (WPF)
-Workflow (WWF)
-Digital identity (CardSpace)

The framework is still the .NET framework2.0 behind it.For a lot of developer this is not a real framework.


.NET 3.5 :

NET Framework 3.5 New Features:

Faster .NET Framework execution
1. Faster garbage collection

2. Smarter, faster NGen requiring smaller working set RAM
3. 64 bit client improvements
4. ThreadPool performance improvements
5. Security check caching during NGen

Base Class Library – New Class Additions

6. BigInteger, HashSet and DateTime2 types
7. NSA Suite ”B” and FIPs compliant cryptography
8. Lightweight Reader/Writer Lock Classes
9. Anonymous and Named Pipes IO Classes
10. Integration with Event Tracing for Windows
11. New Addin hosting model for extensibility


Language Integrated Query (LINQ) :

Language-Integrated Query (LINQ) is a new feature in Visual Studio 2008 and the .NET Framework 3.5. LINQ extends powerful query capabilities to the language syntax of C# and Visual Basic in the form of standard, easily-learned query patterns.

Workflow Enabled Services – Process and Messaging together :

Using workflow to provide for durable and long-running services. New Tools, WF activities and new programming model classes have been added to simplify building workflow-enabled services using WF and WCF.

Web 2.0 Friendly and AJAX Enabled WCF Services :

Ajax is a web development technique for making asynchronous exchanges of small amounts of data between browser and web service calls from the browser client script to the web server. A programming model is provided for building Ajax style web applications using WCF services. An HTTP programming model is also provided allowing for REST style web services.