3 Key new features in .net 4.0

Posted on May 20 2010 by Sachin Jain

Following are the 3 new Key features in .net 4.0

1) Windows work flow and WCF 4.0:- This is a major change in 4.0.
In WCF they have given following features :-
  1. Dynamic Service and End Point discovery – The problem was faced in earlier version of WCF that if theend point has been changed at service side the how the client will know about this change? This is the very basicchange which is prone to error. To overcome this problem WCF 4.0 supports WS – Discovery standard or protocol.WCFprovides, WCF Discovery API for dynamic publish and discovery of web service using WS – Discovery protocol. This API helps service to publish them and helps client to find service on the network. There are two modes in this
  2. Simple Configuration – WCF 4.0 has reduced the pain of WCF 3.0 developers  by providing defauconfigurations for hosting WCF service. It is now possible to host services free of any configurations
  3. Better serialization is provided for both typed and untyped content of WCF service
  4. Routing Service – It is the feature to have one universal contract and route the incoming message based on content to appropritae business services.
Following are the Work flow enahancements:-
  1. Improved Workflow Activity Model- The Activity class provides the base abstraction of workflow behavior.
  2. Rich Composite Activity Options-Workflows benefit from new flow-control activities that model traditional flow-control structures, such as Flowchart, TryCatch, and Switch.
  3. Expanded Built-In Activity Library- New features of the activity library include new flow-control activities, activities for manipulating member data, and activities for controlling transactions.
  4. Explicit Activity Data Model- New options for storing or moving data include variable and directional arguments.
  5. Enhanced Hosting, Persistence, and Tracking Options: Hosting enhancements include more options for running workflows, explicit persistence using the Persist activity, persisting without unloading, preventing persistence using no-persist zones, using ambient transactions from the host, recording tracking information to the event log, and resuming pending workflows using Bookmark.
  6. Easier ability to extend the WF designer- The new WF Designer is built on Windows Presentation Foundation (WPF) and provides an easier model to use when rehosting the WF Designer outside of Visual Studio.
2) Dynamic Language runtime: – In .net 4.0 DLR has been introduced with CLR to make dynamic programming possible. DLR makes dynamic languages like python, ruby, php to run on .net framework. CLR + DLR gives us dynamic programming model. There are two types of languages statically typed languages and dynamically typed languages. In statically typed languages you need to specify the object during design time / compile time. Dynamically typed languages can identify the object during runtime. .NET . DLR helps you to host code written in dynamic languages on top of your CLR.
3) Parallel extensions: - This will help to support running parallel queries on multi-core processors. .NET 4.0 has PLINQ in the LINQ engine to support parallel execution. Parallel Language Integrated Query (PLINQ) offers an easy way to take advantage of parallel hardware, including traditional multi-processor computers and the newer wave of multi-core processors.
VN:F [1.9.0_1079]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.0_1079]
Rating: 0 (from 0 votes)

Leave a Reply

Get Adobe Flash playerPlugin by wpburn.com wordpress themes

Powered by Sachin Jain

Powered by Olark