Framework .Net 4.0.2
La mise à jour 4.0.2 est maintenant disponible depuis peu. Parmi les améliorations, il est à noter que ces dernières concernent notamment Windows Presentation Foundation (WPF) et aussi Click Once.
Mais, intéressons-nous à la partie de gestion des données de bases de données. La modification principale concerne la prise en charge AlwaysOn dans l’assembly SqlClient. AlwaysOn est une nouvelle fonctionnalité de SQL Server 2012. Elle constitue une topologie de haute disponibilité.
De plus dans l’assembly SqlClient, il faut signaler la prise en charge de SQL Server Express LocalDB. Cette nouvelle version de SQL Server s’exécute comme un fichier exécutable autonome. Ceci ressemble à SQL Server Compact Edition à l’exception du fait que SQL Server CE s’exécute via une DLL et ne contient pas autant de fonctionnalités que SQL Server Express Local DB (procédures stockées par exemple).
Enfin, nous pouvons citer une ultime fonctionnalité : la prise en charge de DbProviderFactories.GetFactory.
Pour plus d’informations, voir ici.
Pour le téléchargement, voir ici.
Framework .Net 4.5 Developer Preview
De plus, Microsoft propose la version 4.5 du Framework .Net en Developer Preview. Là encore plutôt que tout le Framework, nous nous intéressons à la partie ADO.Net.
Voici ce que nous voyons dans la documentation :
- Support has been added for asynchronous programming. See Asynchronous Programming for more information.
- Connection failures will now be logged in the extended events log. For more information, see Data Tracing in ADO.NET.
- SqlClient now has support for SQL Server’s high availability, disaster recovery feature, AlwaysOn. For more information, see SqlClient Support for High Availability, Disaster Recovery.
- A password can be passed as a SecureString when using SQL Server Authentication. See SqlCredential for more information.
- When TrustServerCertificate is false and Encrypt is true, the server name (or IP address) in a SQL Server SSL certificate must exactly match the server name (or IP address) specified in the connection string. Otherwise, the connection attempt will fail. For more information, see the description of the Encrypt connection option in ConnectionString. If this change causes an existing application to no longer connect, you can fix the application using one of the following:
- Issue a certificate that specifies the short name in the Common Name (CN) or Subject Alternative Name (SAN) field. This solution will work for database mirroring.
- Add an alias that maps the short name to the fully-qualified domain name.
- Use the fully-qualified domain name in the connection string.
- SqlClient supports Extended Protection. For more information about Extended Protection, see Connecting to the Database Engine Using Extended Protection.
- SqlClient supports connections to LocalDB databases. For more information, see SqlClient Support for LocalDB.
- Type System Version=SQL Server 2012; is new value to pass to the Type System Version connection property. The Type System Version=Latest; value is now obsolete and has been made equivalent to Type System Version=SQL Server 2008;. For more information, see ConnectionString.
- SqlClient now supports sparse columns, a feature that was added in SQL Server 2008. If your application already accesses data in a table that uses sparse columns, you should see an increase in performance. The IsColumnSet column of GetSchemaTable indicates if a column is a sparse column that is a member of a column set. For more information about sparse columns, see Using Sparse Columns.
- The assembly Microsoft.SqlServer.Types.dll, which contains the spatial data types, has been upgraded from version 10.0 to version 11.0. Applications that reference this assembly may fail. For more information, see Breaking Changes to Database Engine Features.
Pour plus d’informations, voir ici.
Pour le téléchargement, voir ici.
Bien à vous.