.NET for Windows Store apps
Windows Store apps are designed for specific form factors
and leverage the power of the Windows operating system. A subset of the
.NET Framework 4.5 is available for building Windows Store apps for
Windows by using C# or Visual Basic. This subset is called .NET for
Windows Store apps and is discussed in an overview in the Windows Dev Center.
Portable Class Libraries
The Portable Class Library project in Visual Studio 2012
(and later versions) enables you to write and build managed assemblies
that work on multiple .NET Framework platforms. Using a Portable Class
Library project, you choose the platforms (such as Windows Phone and
.NET for Windows Store apps) to target. The available types and members
in your project are automatically restricted to the common types and
members across these platforms. For more information, see Cross-Platform Development with the .NET Framework.
Parallel Computing
The .NET Framework 4.5 provides several new features and
improvements for parallel computing. These include improved performance,
increased control, improved support for asynchronous programming, a new
dataflow library, and improved support for parallel debugging and
performance analysis. See the entry What’s New for Parallelism in .NET 4.5 in the Parallel Programming with .NET blog.
Web
ASP.NET 4.5 includes the following new features:
In the .NET Framework 4.5, the following features have
been added to make it simpler to write and maintain Windows
Communication Foundation (WCF) applications:
-
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.
-
Performance enhancements such as ASP.NET app suspension (in ASP.NET 4.5.1 Preview).
-
ASP.NET 4.5 and Visual Studio 2012 in the MSDN Library.
-
ASP.NET and Web Tools for Visual Studio 2013 Release Notes on the ASP.NET site.
-
The "ASP.NET app suspension" section of the .NET Framework 4.5.1 Preview blog post.
Windows Presentation Foundation (WPF)
In the .NET Framework 4.5, 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).
-
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)
-
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.
-
Support for a UDP transport that enables developers
to write services that use "fire and forget" messaging. A client sends a
message to a service and expects no response from the service.
-
Ability to support multiple authentication modes on a single WCF endpoint when using the HTTP transport and transport security.
-
Support for WCF services that use internationalized domain names (IDNs).
0 comments :
Post a Comment