-
Notifications
You must be signed in to change notification settings - Fork 81
Description
The Microsoft.Extensions.Caching.SqlServer package will use the new Microsoft.Data.SqlClient package starting in 3.0.0-preview7.
This is being done to help align the database providers across the .NET Core stack. EntityFramework already migrated to this new package in 3.0.0-preview6. If your application currently uses System.Data.SqlClient, we recommend converting to the new package. It is generally a drop-in replacement (with some namespace changes).
Please note the following temporary limitation: The current version of Microsoft.Data.SqlClient does not support 32-bit applications running on .NET Framework. When running in this configuration, you will get BadImageFormatExceptions thrown at runtime when trying to load the library. This limitation does not apply to 64-bit applications on .NET Framework or either bitness on .NET Core. The support matrix is below:
| Architecture | .NET Framework | .NET Core |
|---|---|---|
| x64 (64-bit) | Works | Works |
| x86 (32-bit) | BadImageFormatException |
Works |
This is a temporary limitation and will be fixed in time for the 3.0 RTM release.
Please use dotnet/extensions#1876 as the discussion issue for this announcement.
This announcement has been migrated to: dotnet/docs#14847