Monday, April 13, 2009

Framework Differences

Framework 2.0

C# 2.0
  • generics
  • Partial Classes
  • Anonymous methods
  • Nullable type
  • Iterating over collections
  • Static Classes
  • Property accessor accessibility-Diiferent Accesors for Get and Set
  • System.IO.Ports ->Supply the SerialPort class to implement serial port operation.
  • System.IO.Compression -> Implement compression and decompression operation on files.
  • System.Net.NetworkInformation -> Gather information about network events, changes, statistics, and properties.
  • System.Security.AccessControl -> Provide programming elements used to control access to and audit security-related actions on securable objects.

General 2.0
  • 64-bit support
  • Click once deployement
  • Runtime debug and modify.

ASP.Net 2.0
  • ASP.NET WebParts
  • Richer ASP.NET controls which leads to quicker development cycles.
  • Master Pages
  • Themes and Skins
  • Introduction of new controls like GridView FormView DetailsView4.
  • dynamic menu
  • Navigation Controls.
  • classes in app_data folder that makes the classes define in it to be as a Compiled dll.
  • Compilation model: With 1.1, all code was compiled into one assembly placed in the bin directory. With 2.0, the assembly is separated into multiple assemblies. These multiple assemblies may be created on-the-fly or precompiled. Examples of multiple assemblies are one assembly for each ASP.NET directory like App_Code and App_Data as well as individual assemblies for Web Forms, User Controls, and so forth. This is a major shift in the application structure; it offers more deployment options in how the application is delivered to the users.
  • Built in Security engine and Profile Object (user profile persisted between sessions)
  1. Microsoft ASP.NET 2.0 supports a new object called the Profile object. We can store any type of information within a user profile including both simple data types such as strings and integers and complex types such as custom objects.
  2. The Profile object is similar to the Session object, but better. Like the Session object, In other words, each user of a Web application automatically has their own profile.
  3. However, unlike the Session object, the Profile object is persistent. When you add an item to the Session object, the item disappears after you leave the Web site. When you modify the state of the Profile object, in contrast, the modifications are saved between visits to the Web site

Framework 3.0
  • system.speech namespace, which contains Windows Desktop Speech technology types for implementing speech recognition.
  • Debugger Edit and Continue (enables a user who is debugging anapplication in Visual Studio to make changes to source code while executing in Break mode. After source code edits are applied, the user can resume code execution and observe the effect. ) With the release of 3.0 the .net framework 1.1 won't be patched
  • Windows Communication Foundation (WCF), formerly called Indigo; a service-oriented messaging system which allows programs to interoperate locally or remotely similar to web services.
  • Windows Presentation Foundation (WPF), formerly called Avalon; a new user interface subsystem and API based on XML and vector graphics, which uses 3D computer graphics hardware and Direct3D technologies.
  • Windows Workflow Foundation (WF) allows for building of task automation and integrated transactions using workflows.

Framework 3.5

It implement Linq evolution in language. So we have the following evolution in class:
  • Linq for SQL, XML, Dataset, Object
  • Automatic Properties, Object Initializer and Collection Initializers
  • Extension Methods
  • Lambda Expressions
  • Anonymous Types
  • Active directory
  • ASP.NET Ajax
  • Paging support for ADO.NET
  • ADO.NET synchronization API to synchronize local caches and server side datastores
  • Asynchronous network I/O API
  • Support for HTTP pipelining and syndication feeds





No comments: