Git Product home page Git Product logo

Comments (9)

Sen-Gupta avatar Sen-Gupta commented on July 24, 2024 3

from dotnet-sdk.

Sen-Gupta avatar Sen-Gupta commented on July 24, 2024 2

from dotnet-sdk.

rliberoff avatar rliberoff commented on July 24, 2024 2

From further investigation, we found out that the offending dependency is with library Microsoft.Extensions.Http.Resilience when updated from version 8.1.0 to 8.2.0. Hope it helps.

from dotnet-sdk.

artyom-p avatar artyom-p commented on July 24, 2024

Same here, related to this issue.

image

from dotnet-sdk.

Sen-Gupta avatar Sen-Gupta commented on July 24, 2024

builder.AddServiceDefaults();
builder.Services.AddDaprClient();

System.InvalidOperationException
HResult=0x80131509
Message=This service descriptor is keyed. Your service provider may not support keyed services.
Source=Microsoft.Extensions.DependencyInjection.Abstractions
StackTrace:
at Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ThrowKeyedDescriptor()
at Microsoft.Extensions.DependencyInjection.ServiceDescriptor.get_ImplementationType()
at Microsoft.Extensions.DependencyInjection.DaprServiceCollectionExtensions.<>c.b__0_0(ServiceDescriptor s)
at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func2 predicate)
at Microsoft.Extensions.DependencyInjection.DaprServiceCollectionExtensions.AddDaprClient(IServiceCollection services, Action`1 configure)
at Insights.Worker.Manager.Program.Main(String[] args) in D:\Trade\InsightsOnDaprAspire\src\Workers\Manager\Program.cs:line 15

from dotnet-sdk.

onionhammer avatar onionhammer commented on July 24, 2024

For the contributors, here's a PR that addresses this in Microsoft.Identity.Web, for reference:

AzureAD/microsoft-identity-web#2676

from dotnet-sdk.

rliberoff avatar rliberoff commented on July 24, 2024

Guys!

We really need this for .NET Aspire. Do you have any update when We can expect to have this fixed?

Thank you!

from dotnet-sdk.

rliberoff avatar rliberoff commented on July 24, 2024

Thank you @Sen-Gupta.

The issue is not with AddDapr but with AddDaprClient.

This happens with the newest .NET Aspire Preview 3.

from dotnet-sdk.

Sen-Gupta avatar Sen-Gupta commented on July 24, 2024

@rliberoff

Double Confirmation!

That's correct. I did upgrade Microsoft.Extensions.Http.Resilience to 8.2.0.

from dotnet-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.