aguafrommars / templates Goto Github PK
View Code? Open in Web Editor NEWTheIdServer dotnet new template
License: Apache License 2.0
TheIdServer dotnet new template
License: Apache License 2.0
Hey,
is this template still active maintained? It looks like it currently creates a .Net 7 Solution, which for me at least is broken, are there any plans to support .Net 8 with this template?
Thanks in advance!
All of the unit tests within ExternalClaimsTransformerTest project in the template run into errors.
The error occurs in all cases when tests try to resolve ExternalClaimsTransformer service from serviceprovider within line
var sut = builder.GetRequiredService<ExternalClaimsTransformer<ApplicationUser>>();
A registration seems to be missing, but I haven't been able to figure out what exactly is missing or which extension still needs to be added to the registration.
This is the stack trace:
Message:
System.InvalidOperationException : Unable to resolve service for type 'Aguacongas.IdentityServer.Abstractions.IFlushableCache1[Aguacongas.IdentityServer.Store.Entity.ExternalClaimTransformation]' while attempting to activate 'Aguacongas.IdentityServer.Store.CacheAdminStore
2[Aguacongas.IdentityServer.EntityFramework.Store.AdminStore`2[Aguacongas.IdentityServer.Store.Entity.ExternalClaimTransformation,Aguacongas.IdentityServer.EntityFramework.Store.ConfigurationDbContext],Aguacongas.IdentityServer.Store.Entity.ExternalClaimTransformation]'.
Stack Trace:
CallSiteFactory.CreateArgumentCallSites(ServiceIdentifier serviceIdentifier, Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)
CallSiteFactory.CreateConstructorCallSite(ResultCache lifetime, ServiceIdentifier serviceIdentifier, Type implementationType, CallSiteChain callSiteChain)
CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain, Int32 slot)
CallSiteFactory.TryCreateExact(ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain)
CallSiteFactory.CreateCallSite(ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain)
CallSiteFactory.CreateArgumentCallSites(ServiceIdentifier serviceIdentifier, Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)
CallSiteFactory.CreateConstructorCallSite(ResultCache lifetime, ServiceIdentifier serviceIdentifier, Type implementationType, CallSiteChain callSiteChain)
CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain, Int32 slot)
CallSiteFactory.TryCreateExact(ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain)
CallSiteFactory.CreateCallSite(ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain)
CallSiteFactory.GetCallSite(ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain)
ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier)
ConcurrentDictionary2.GetOrAdd(TKey key, Func
2 valueFactory)
ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
ServiceProvider.GetService(Type serviceType)
ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
ExternalClaimsTransformerTest.TransformPrincipal_should_transform_claims() line 58
--- End of stack trace from previous location ---
Hi There,
I notice there are updates to this repository, but in terms of releases on NuGet there is still only a 4.0.0 release which (when used) doesnt seem to work correctly:
Please could you advise as I have updated libraries, but it appears the bugs being found are in the supporting use of the framework and I am not quite sure where to look first ?
Thanks
On following instructions for setting up from template, I receive the following error on build.
Severity Code Description Project Path File Line Suppression State
Error CS1503 Argument 2: cannot convert from 'Aguacongas.IdentityServer.Store.IAdminStore<Aguacongas.IdentityServer.Store.Entity.Culture>' to 'Aguacongas.TheIdServer.BlazorApp.Services.IReadOnlyCultureStore' TheIdServer C:\dev\theidserverbp\TheIdServer\src\TheIdServer\Services C:\dev\theidserverbp\TheIdServer\src\TheIdServer\Services\PreRenderStringLocalizer.cs 13 Active
I believe that pulling in the following change from the parent project would resolve thie issue. Aguafrommars/TheIdServer#331
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.