The differences between .NET 4.0 and .NET 4.5 are high-level in .NET.

It is advisable to know the differences between .NET 4.0 and .NET 4.5 at a high level in .NET, as well as the differences in ASP.NET, C # also within this framework

+83
May 8 '12 at 4:40
source share
5 answers

What's New in .NET Framework 4.5 and What's New and Expected in .NET Framework 4.5 :

  • Windows Runtime Support
  • Metro Style App Support
  • Asynchronous programming support
  • Garbage Collector Enhancements
  • Quick Start ASP.NET
  • Improved data access support
  • WebSockets Support
  • Workflow Support - BCL Support

differences in ASP.NET in this framework

Compare What's New in ASP.NET 4 and Visual Web Developer and What's New in ASP.NET 4.5 Beta and Visual Studio 11 :

Asp.net 4.0

  • Web.config File Refactoring
  • Extensible Output Caching
  • Web applications to run automatically
  • Permanent page redirection
  • Session Reduction
  • Expandable URL Range
  • Extensible Request Validation
  • Enhanced caching of objects and objects
  • Extensible HTML, URL, and HTTP Header Encoding
  • Performance monitoring for individual applications in a single workflow.
  • Multi-targeting
  • etc.

And for Asp.net 4.5 there is also a long list of improvements:

  • Read and write HTTP requests and responses asynchronously
  • HttpRequest Processing Improvements
  • Asynchronous Reset Response
  • Support for pending and asynchronous modules and task-based handlers

differences in c # also within this framework

Go through C # 4.0 - What's New in C # in the .NET Framework and What's New for Visual C # in Visual Studio 11 Beta .

Edit:
Language documentation for C # and VB changes:

VB: Changes in Visual Basic in Visual Studio 2012

C #: Visual C # Breaking Changes in Visual Studio 2012

Hope this help helps you get what you are looking for.

+63
May 8 '12 at 5:14
source share



.NET Framework 4




Microsoft announced plans to ship the .NET Framework 4 on September 29, 2008. The public beta was released on May 20, 2009.

  • Parallel extensions to improve support for parallel computing that target multi-core or distributed systems. Toward this end, technologies such as PLINQ (Parallel LINQ), parallel implementations of the LINQ mechanism, and a parallel task library that exposes parallel constructs through method calls. Are included.
  • New features in Visual Basic.NET and C #, such as an implicit continuation line, dynamic dispatch, named parameters, and optional Parameters.
  • Support for code contracts.
  • The inclusion of new types for working with arithmetic of arbitrary precision (System.Numerics.BigInteger) and complex numbers (System.Numerics.Complex).
  • Introduce Common Language Runtime (CLR) 4.0.

Following the release of the .NET Framework 4, Microsoft released a set of enhancements called Windows Server AppFabric for application server capabilities in the form of AppFabric hosting and support for in-memory distributed caching.




.NET Framework 4.5




The .NET Framework 4.5 was released on August 15, 2012. A set of new or improved features has been added to this version .. The .NET Framework 4.5 is only supported on Windows Vista or later. The .NET Framework 4.5 uses Common Language Runtime 4.0 with some additional runtime features.

1..NET for Metro style apps

Metro style applications are designed for specific form factors and use the capabilities of the Windows operating system. A subset of the .NET Framework is available for creating Metro style apps for Windows 8 using C # or Visual Basic. This subset is called the .NET API for applications. The .NET Framework version, runtime, and libraries used for Metro-style applications are part of the new Windows Runtime, which is the new platform and application model for Metro-style applications. This is an ecosystem in which there are many platforms and languages, including the .NET Framework, C ++ and HTML5 / JavaScript.

2. Main functions

  • Ability to limit the runtime of the regex engine to resolve the regex before time runs out.
  • The ability to define a culture for the application domain.
  • Console support for Unicode encoding (UTF-16).
  • Version support for organizing and comparing cultural data strings.
  • Better resource extraction performance.
  • Zip compression enhancements to reduce the size of the compressed file.
  • The ability to customize the reflection context to override the default reflection values โ€‹โ€‹through the CustomReflectionContext class.

3. Managed Extensible Structure (MEF)

  • Support for generic types.
  • A convention-based programming model that allows parts to be created based on naming conventions rather than attributes.
  • Several areas.

4. Asynchronous operations

In the .NET Framework 4.5, new asynchronous functions were added to C # and Visual Basic. These functions add a task-based model for performing asynchronous operations.

5. ASP.NET

  • Support for new types of HTML5 forms.
  • Support for binding models in web forms. They allow you to bind data directly controls data access methods and automatically converts user input to and from the .NET Framework data types.
  • Support for unobtrusive JavaScript in client-side validation scripts.
  • Improved script client handling through linking and minimization to improve page performance.
  • Integrated encoding procedures from the AntiXSS library (previously an external library) to protect against cross-site scripting attacks.
  • WebSocket protocol support.
  • Support for reading and writing HTTP requests and responses asynchronously.
  • Support for asynchronous modules and handlers.
  • Support for redundant content distribution network (CDN) in ScriptManager.

6. Network

  • Provides a new programming interface for HTTP applications: System.Net.Http namespaces and System.Net.Http.Headers namespaces added.
  • Other enhancements: Improved internationalization and IPv6 support. URI support with RFC support. Support for internationalized domain name (IDN) analysis. Email Internationalization Support (EAI).

7. Windows Presentation Foundation (WPF)

  • A new Ribbon control that allows you to use the ribbon user interface, which houses the quick access panel, application menus and tabs.
  • New INotifyDataErrorInfo interface that supports synchronous and asynchronous data validation.
  • New features for VirtualizingPanel and Dispatcher classes.
  • Improved performance when displaying large sets of grouped data and by accessing collections for streams other than the UI.
  • Binding data with static properties, binding data to user-defined types that implement the ICustomTypeProvider interface and obtain data required information from a required expression.
  • Moving data when changing values โ€‹โ€‹(real-time formatting).
  • Improved integration between WPF and Win32 user interface components.
  • The ability to check if the data context for the item container is disconnected.
  • The ability to set the time that must elapse between the property changes and updates of data sources.
  • Improved support for implementing weak event patterns. In addition, events can now accept markup extensions.

8. Windows Communication Foundation (WCF)

The following features have been added to the .NET Framework 4.5 to simplify the recording and support of Windows Communication Foundation (WCF) applications:

  • Simplified creation of configuration files.
  • Support for contract development.
  • Ease of setting ASP.NET compatibility mode.
  • Changing the default transport property values โ€‹โ€‹to reduce the likelihood that you will have to set them.
  • Updates to the XmlDictionaryReaderQuotas class to reduce the chance that you will have to manually configure quotas for XML dictionary readers.
  • Checking WCF configuration files using Visual Studio as part of the build process so that you can detect configuration errors before starting your application.
  • New support for asynchronous streaming.
  • New HTTPS mapping to simplify endpoint mapping through HTTPS using Internet Information Services (IIS).
  • Ability to generate metadata in a single WSDL by adding? singleWSDL to the service url.
  • Web socket support to enable true bidirectional communication ports 80 and 443 with performance characteristics similar to TCP transport.
  • Support for configuring services in code.
  • XML Editor tooltips.
  • ChannelFactory caching support.
  • Support for binary encoder compression.
  • Support for UDP transport, which allows developers to write services that use "fire and forget" messaging. The client sends a service message and does not expect a response from the service.
  • The ability to support multiple authentication modes on one WCF endpoint when using HTTP transport and transport security.
  • Support for WCF services using internationalized domain names (IDNs).

9. Tools

  • The Resource File Generator (Resgen.exe) allows you to create a .resw file for use in Windows Store applications from a .resources file built into the .NET Framework assembly.
  • Managed Profiled Optimization (Mpgo.exe) allows you to improve program startup time, memory usage (working set size) and throughput by optimizing your own image assembly. The command line tool generates profile data for collectors of their own images.



For more information and access to link links, please visit:

============ .Net 4.5 Poster =========

enter image description here

+38
Aug 31 '13 at 14:00
source share

You can find the latest .NET Framework 4.5 beta features here

It breaks down structural changes in the following categories:

  • .NET for Metro Style Applications
  • Portable class libraries
  • Key new features and improvements
  • Parallel computing
  • Web
  • Network
  • Windows Presentation Foundation (WPF)
  • Windows Communication Foundation (WCF)
  • Windows Workflow Foundation (WF)

It seems you are more interested in the Web section, as this shows the changes in ASP.NET 4.5. Other changes can be found in other sections.

You can also see some of the new features when the .NET Framework 4.0 was posted here .

+5
May 08 '12 at 4:55 a.m.
source share

This answer may be a belated answer, but it will be useful for viewing this topic in the future.

The features of the .NET framework 4.5 can be seen in the following.

Summarizing:

  • Installation

    The .NET Framework 4.5 does not support Windows XP or Windows Server 2003, so if you need to create applications targeted at these operating systems, you will need to stay with the .NET Framework 4.0. In contrast, Windows 8 and Windows Server 2012 include the .NET Framework 4.5 in all of their releases.

  • Support for arrays larger than 2 GB on 64-bit platforms
  • Advanced garbage collection for the background server.
  • Support for timeouts in regular expression evaluations
  • Support for Unicode 6.0.0 in crop and casing rules in Windows 8.
  • Easy default culture setting for application domain
  • Internationalized domain names in Windows 8 applications
+3
May 01 '13 at 10:23
source share

Here is an excellent resource from Microsoft, which includes an overview of the high-level features for each version of .NET from 1.0 to the present. It also includes information about the associated version of Visual Studio and compatibility with the version of Windows.

. .NET Framework Versions and Dependencies

0
Dec 04 '14 at 7:22
source share



All Articles