Comments (9)
from dotnet-sdk.
from dotnet-sdk.
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.
Same here, related to this issue.
from dotnet-sdk.
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, Func
2 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.
For the contributors, here's a PR that addresses this in Microsoft.Identity.Web, for reference:
AzureAD/microsoft-identity-web#2676
from dotnet-sdk.
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.
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.
Double Confirmation!
That's correct. I did upgrade Microsoft.Extensions.Http.Resilience to 8.2.0.
from dotnet-sdk.
Related Issues (20)
- Cryptography Support Enhancements
- SaveBulkStateAsync does not respect DAPR_API_TOKEN
- Standardize README with shield badges HOT 8
- Dead letter subscription not working with pub sub having consumer ID specified in metadata
- Allow access to injected services during DI registration of DaprClient HOT 1
- Publish message to Kafka topic (KRaft) with Dapr C# HOT 1
- Best way to create a Dapr HttpClient with custom delegating handler? HOT 1
- [Workflow] GRPC connection to workflow runtime doesn't self-heal when app restarts
- Same application doesn't allow to process CloudEvent and raw messages HOT 5
- Azure App Configuration - Feature Flags with Dapr HOT 5
- GetMetadataAsync throws NullReferenceException HOT 1
- Some pods with dapr actors deployed on K8S seem idle HOT 1
- Dapr pub sub with C ++ based application HOT 1
- Have you set the - name: actorStateStore value: "true" in your state store component file? HOT 1
- Passing query string parameters on method invocation HOT 3
- Actor example method invocation doesn't respect method signature HOT 6
- Change Actor methods involving Reminders and Timers from protected to public HOT 2
- Azure Keyvault not loaded by Dapr Client during Asp net core web api app start HOT 2
- Non-Dapr endpoints invocation supported? HOT 5
- .Net implementation of InvokeBinding doesnt return result HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotnet-sdk.