-
Notifications
You must be signed in to change notification settings - Fork 25.2k
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
Microsoft.AspNetCore.DataProtection is v3 not compatible with azure functions anymore #16581
Comments
@petrce doesn't Data Protection: DataProtection.AzureStorage uses new Azure Storage APIs explain it? |
@Rick-Anderson could you clarify how your link is related to the issue @petrce referenced? |
Hmm @Rick-Anderson I'm confused. Your link states that "DataProtection.AzureStorage uses new Azure Storage APIs" and nothing about Microsoft.AspNetCore.DataProtection being incompatible with AF v3. |
I was able fix this issue while using IWebJobsStartup instead of FunctionsStartup. The issue seems to be IFunctionsHostBuilder in the DI container. So this might work with this line of code in Startup.cs public class Startup : IWebJobsStartup
// Your code In order to resolve dependency injection you need to use third party DI resolver and I used Willezone.Azure.WebJobs.Extensio |
The original issue has been fixed Azure/azure-functions-host#5447 (comment) dotnet#16581 dotnet#17037
The original issue has been fixed Azure/azure-functions-host#5447 (comment) #16581 #17037
according to this: Azure/azure-functions-host#5447
DataProtection since version 3 is not compatible with Azure Functions anymore (v2 is fine), I think the documentation should mention it...
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: