.Net Core 3.1.1 breaking azure web app

Somnath Shukla 411 Reputation points
2020-01-20T15:05:52.483+00:00

Moved my webapp to .NET core 3.1.101 sdk added the extension in web app but still getting issue. every thing was ok with .NET 3.1.100 sdk and working fine locally with updated sdk

AggregateException: Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: Microsoft.Extensions.Options.IPostConfigureOptions`1[Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectPostConfigureOptions': Could not load file or assembly 'Microsoft.AspNetCore.DataProtection.Abstractions, Version=3.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler': Could not load file or assembly 'Microsoft.AspNetCore.DataProtection.Abstractions, Version=3.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.) (Error while validating the service descriptor 'ServiceType: IdentityModel.AspNetCore.AccessTokenManagement.IAccessTokenManagementService Lifetime: Transient ImplementationType: IdentityModel.AspNetCore.AccessTokenManagement.AccessTokenManagementService': Could not load file or assembly 'Microsoft.AspNetCore.DataProtection.Abstractions, Version=3.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.) (Error while validating the service descriptor 'ServiceType: IdentityModel.AspNetCore.AccessTokenManagement.ITokenEndpointService Lifetime: Transient ImplementationType: IdentityModel.AspNetCore.AccessTokenManagement.TokenEndpointService': Could not load file or assembly 'Microsoft.AspNetCore.DataProtection.Abstractions, Version=3.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.) (Error while validating the service descriptor 'ServiceType: IdentityModel.AspNetCore.AccessTokenManagement.ClientAccessTokenHandler Lifetime: Transient ImplementationType: IdentityModel.AspNetCore.AccessTokenManagement.ClientAccessTokenHandler': Could not load file or assembly 'Microsoft.AspNetCore.DataProtection.Abstractions, Version=3.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.)

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,863 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Somnath Shukla 411 Reputation points
    2020-01-21T02:18:52.657+00:00

    Thanks. but i think this is not scenario based issue in general will affect all the the apps and running x86. this should have been tested thoroughly before release.

    0 comments No comments