Not able to setup always encryption with hangfire

Tags: #<Tag:0x00007f8ba3952d20>


I setup my always encryption for my aspnetcore api project where I am using Microsoft.Data.SqlClient package , I upgraded Hangfire.SqlServer package to latest v1.7.11 which support Microsoft.Data.SqlClient insted of System.Data.SqlClient but its not working its taking System.Data.SqlClient to connect with DB.

Can you please help me how can i setup Hangfire.SqlServer package to work with Microsoft.Data.SqlClient insted of System.Data.SqlClient.

Below errors i am getting with System.Data.SqlClient,