Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change SqlConnection type to fix compatibility issues #15

Merged

Conversation

jrunestone
Copy link
Contributor

As per this issue Hangfire's default SQL connection uses System.Data but it doesn't support connection string parameters such as "authentication", which is needed for managed identities in Azure for example.

Switching to Microsoft.Data for the connection string parameter fixes this issue and should be backwards compatible.

@nul800sebastiaan
Copy link
Owner

Thanks for the investigation and update @jrunestone, good stuff! 👍 🚀

@nul800sebastiaan nul800sebastiaan merged commit 30cebe2 into nul800sebastiaan:main Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants