Update 4.0.2 for the Microsoft .NET Framework 4 is a platform update that includes a set of new features and bug fixes, based on top customer requests and .NET Framework scenarios.
Platform updates are feature upgrades to the .NET Framework 4. These updates add types and members that developers can target when building new applications. The goal of platform updates is to incrementally expose newer features so that you can build richer applications now, before the next major .NET Framework release.
Update 4.0.2 does not impact your existing .NET Framework 4 applications; you access the new features only when you create a new application that targets the .NET Framework 4.0.2. However, if you have existing .NET Framework 4 applications, you will still be able to take advantage of the bug fixes included with Update 4.0.2.
Quick links
- Download the Design-time Update; for more information, see KB2544525
- Download the Run-time Update; for more information, see KB2544514
- Download the Multi-Targeting Pack; for more information, see KB2544526
Which package should you install?
Update 4.0.2 for Microsoft .NET Framework 4 consists of three packages:
- Update 4.0.2 for Microsoft .NET Framework 4 – Design-time Update for Visual Studio 2010 SP1 (KB2544525)
AlwaysOn support in SqlClient
In SQL Server code named "Denali," AlwaysOn is introduced as a High Availability topology. With this topology, secondary nodes can be accessed by read workloads. To do this, secondary nodes must only accept read-only connections. This operation requires a special intent lock to be passed together with a connection. To meet this requirement, and also to keep the connectivity information decoupled from the application, SqlClient includes the following new connection string keywords:- ApplicationIntent
This keyword is passed as a connection string parameter. When this keyword is used, applications can directly connect to a read-only secondary server, or can be automatically redirected to secondary servers in an availability group. - MultiSubnetFailover
This keyword supports fast failover connectivity for geographically-distributed topologies.
SQL Server Express Local Database Runtime support in SqlClient
SQL Server Express LocalDB is a new installation and execution mode of SQL Server Express that runs as a stand-alone executable and that requires a minimum amount of effort for installation. When developers connect to database files directly, a transparent SQL Server Express infrastructure runs in the background. For current SQL Server technology, LocalDB offers a Run As Normal User (RANU) user instance in a smaller package.SqlClient adds support for SQL Server Express LocalDB connectivity that can be used by a developer.
For more information about SQL Server Express LocalDB, visit the following Microsoft website:
For more information about the DbProviderFactory methods, visit the following MSDN website:For more information about the supported features from Update 4.0.1, click the following article number to view the article in the Microsoft Knowledge Base:
Consider the following scenario:
Issue 2
Consider the following scenario:
Note After you install this update, WPF returns the correct dimensions of the child window.
To use any new feature installed by this update, install the following update, and then develop applications in Microsoft Visual Studio 2010 Service Pack 1 (SP1):
For more information about SQL Server Express LocalDB, visit the following Microsoft website:
A new DbProviderFactories.GetFactory overload
With this overload, you can use a valid DbConnection object to obtain a DbProviderFactoryobject.For more information about the DbProviderFactory methods, visit the following MSDN website:For more information about the supported features from Update 4.0.1, click the following article number to view the article in the Microsoft Knowledge Base:
2478063 Microsoft .NET Framework 4 Platform Update 1 - Runtime Update
Issues that this update resolves
Issue 1Consider the following scenario:
- You create a .NET Framework application that targets the Microsoft .NET Framework 4.0.1 or the Microsoft .NET Framework 4.0.1 Client Profile.
- You publish the application.
- You install the application. ClickOnce is used to install the application.
Version 4.0.1 is required
Consider the following scenario:
- You create a Windows Presentation Foundation (WPF) application.
- You set a window to be a child window of two windows.
Note After you install this update, WPF returns the correct dimensions of the child window.
Visual Studio 2010 support
2544525 Visual Studio 2010 SP1 – Design-time Update for Microsoft .NET Framework 4.0.2
Note This update installs a multi-targeting pack and other supporting files for the development environment. After you install these files, you can develop applications for the .NET Framework 4.0.2.Courtesy- http://msdn.microsoft.com
No comments:
Post a Comment