different between .net 4.0 and 4.5

Posted by Gow.net under Interview Questions on 12/19/2011 | Points: 10 | Views : 10897 | Status : [Member] | Replies : 4
different between .net 4.0 and 4.5 please any one guide me



Posted by: Sksamantaray on: 12/19/2011 [Member] Silver | Points: 25


Hope the above links will help you


Gow.net, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jeyaraj on: 1/16/2012 [Member] Starter | Points: 25

Core New Features and Improvements
The following features and improvements were added to the common language runtime and to .NET Framework classes:
. Ability to limit how long the regular expression engine will attempt to resolve a regular expression before it times out.
. Ability to define the culture for an application domain.
. Console support for Unicode (UTF-16) encoding.
. Support for versioning of cultural string ordering and comparison data.
. Better performance when retrieving resources.
. Zip compression improvements to reduce the size of a compressed file.
. Ability to customize a reflection context to override default reflection behavior through the CustomReflectionContext class.
ASP.NET 4.5 Developer Preview includes the following new features:
. Support for new HTML5 form types.
. Support for model binders in Web Forms. These let you bind data controls directly to data-access methods, and automatically convert user input to and from .NET Framework data types.
. Support for unobtrusive JavaScript in client-side validation scripts.
. Improved handling of client script through bundling and minification for improved page performance.
. Integrated encoding routines from the AntiXSS library (previously an external library) to protect from cross-site scripting attacks.
. Support for WebSockets protocol.
. Support for reading and writing HTTP requests and responses asynchronously.
. Support for asynchronous modules and handlers.
. Support for content distribution network (CDN) fallback in the ScriptManager control.
The .NET Framework 4.5 Developer Preview provides a new programming interface for HTTP applications. Improved internationalization and IPv6 support.
. RFC-compliant URI support.
. Support for Internationalized Domain Name (IDN) parsing.
. Support for Email Address Internationalization (EAI).
Windows Presentation Foundation (WPF)
In the .NET Framework 4.5 Developer Preview, Windows Presentation Foundation (WPF) contains changes and improvements in the following areas:
. The new Ribbon control, which enables you to implement a ribbon user interface that hosts a Quick Access Toolbar, Application Menu, and tabs.
. The new INotifyDataErrorInfo interface, which supports synchronous and asynchronous data validation.
. New features for the VirtualizingPanel and Dispatcher classes.
. Improved performance when displaying large sets of grouped data, and by accessing collections on non-UI threads.
. Data binding to static properties, data binding to custom types that implement the ICustomTypeProvider interface, and retrieval of data binding information from a binding expression.
. Repositioning of data as the values change (live shaping).
. Better integration between WPF and Win32 user interface components.
. Ability to check whether the data context for an item container is disconnected.
. Ability to set the amount of time that should elapse between property changes and data source updates.
. Improved support for implementing weak event patterns. Also, events can now accept markup extensions.
Windows Communication Foundation (WCF)
In the .NET Framework 4.5 Developer Preview, the following features have been added to make it simpler to write and maintain Windows Communication Foundation (WCF) applications:
. Simplification of generated configuration files.
. Support for contract-first development.
. Ability to configure ASP.NET compatibility mode more easily.
. Changes in default transport property values to reduce the likelihood that you will have to set them.
. Updates to the XmlDictionaryReaderQuotas class to reduce the likelihood that you will have to manually configure quotas for XML dictionary readers.
. Validation of WCF configuration files by Visual Studio as part of the build process, so you can detect configuration errors before you run your application.
. New asynchronous streaming support.
. New HTTPS protocol mapping to make it easier to expose an endpoint over HTTPS with Internet Information Services (IIS).
. Ability to generate metadata in a single WSDL document by appending ?singleWSDL to the service URL.
. Websockets support to enable true bidirectional communication over ports 80 and 443 with performance characteristics similar to the TCP transport.
. Support for configuring services in code.
. XML Editor tooltips.
. ChannelFactory caching support.
. Binary encoder compression support.

Jeyaraj R
Everything Is Possible

Gow.net, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jitendrasoft09 on: 3/27/2013 [Member] [MVP] Starter | Points: 25

As practically the difference between dot net 4.0 and 4.5 are mentioned below-
>> You can compile an application for .NET 4.5 and run it on the 4.0 runtime - that is a new feature of 4.5, that doesn't exist on 4.0.
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />

Jitendra Kumar
If my post helps you, plz mark as an answer.

Gow.net, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 3/27/2013 [Member] [MVP] Bronze | Points: 25

refer this


Mark as Answer if its helpful to you
EmailId : Kumaraspcode2009@gmail.com

Gow.net, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response