Difference features of .NET framework version

.NET Framework 3.0

The only update to .NET Framework version (from 2.0) is the inclusion of the following technologies:

  1. Windows Communication Foundation (WCF). Important to follow this technology if you are into developing service-oriented applications.
  2. Windows Presentation Foundation (WPF) . If you are mostly developing web applications, you probably will not be needing this.
    Windows Workflow Foundation (WF).
  3. Windows Cardspace.
  4. .NET Framework 3.0 did not come with any version of Visual Studio. But .NET Framework 2.0 did and it came with Visual Studio 2005

.NET Framework 3.5

The following are some of the features added:

  1. Language-Integrated Query (LINQ) which allows you to query .NET Framework collections, SQL Server databases, ADO.NET Datasets, and XML documents.
  2. Workflow Services which allow you to author WCF services using WF or expose existing WF workflow as a WCF service.
  3. WCF REST Programming Model which allows you to expose WCF web services through basic HTTP requests without requiring SOAP.
    You can now easily work with syndication feeds in Atom, RSS, or other custom formats, if you’re into blogging applications.
    With new support to ASP.NET AJAX and Javascript Object Notation (JSON) data format, you can now expose operations from a WCF service to AJAX clients.
    REST : REST which stands for Representational State Transfer is basically an architectural style attributed to a distributed system, like the World Wide Web, consisting of clients and servers, dealing with requests and responses revolving around resources.
    JSON : JSON is an alternative to XML for sending data over a network connection that is also text-based like XML but derived from the Javascript language. It would look something like this

    {
    "firstName": "John",
    "lastName": "Smith",
    "age": 25,
    "address": {
    "streetAddress": "21 2nd Street",
    "city": "New York",
    "state": "NY",
    "postalCode": 10021
    },
    "phoneNumbers": [
    {
    "type": "home",
    "number": "212 555-1234"
    },
    {
    "type": "fax",
    "number": "646 555-4567"
    }
    ]
    }
  4. Peer-to-Peer Networking which allows you to share and collaborate between several network devices without using any server.
  5. ADO.NET Entity Framework which allows you to work with data in a much higher level of abstraction without having to concern with tables and columns, thus reducing code required to create and maintain data-oriented applications.
  6. .NET Framework 3.5 was released with Visual Studio 2008.
    For a complete list of what’s new in 3.5, go to this link.

.NET Framework 4.0

The following are what’s new in this version

  1. In-Process Side-by-Side Execution which allows you in your application to load and start multiple versions of .NET Framework in the same process.
  2. Application Domain Diagnostics and Performance Monitoring which allows you to monitor all application domains in the process, not just the process itself.
  3. Parallel Computing which allows you to write efficient, fine-grained, and scalable parallel code in a natural idiom without having to work directly with threads and thread pool.
  4. The rest of the changes are mostly improvements on .NET Framework 3.5.
  5. .NET Framework 4.0 was released with Visual Studio 2010.
    For a complete list of what’s new in 4.0, go to this link.

.NET Framework 4.5

Some of the features added are

  1. .NET for Windows Store apps which allows you to build Windows Store apps for Windows.
  2. Portable Class Libraries which allow you to build assemblies that can work without code modification on multiple platforms like Windows 7, Windows 8, Silverlight, Windows Phone, and XBox 360.
    The rest of the changes are mostly improvements on .NET Framework 4.0.
  3. .NET Framework 4.5 was released with Visual Studio 2012.
    For a complete list of what’s new in 4.5, go to this link.