Giter VIP home page Giter VIP logo

templates's People

Contributors

aguacongas avatar dependabot[bot] avatar olivieratsien avatar semantic-release-bot avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

templates's Issues

Is this Template still active?

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!

Unit test project in template runs with errors

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.CacheAdminStore2[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, Func2 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 ---

New Template version

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:

image

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

cannot convert from 'Aguacongas.IdentityServer.Store.IAdminStore<Aguacongas.IdentityServer.Store.Entity.Culture>' to 'Aguacongas.TheIdServer.BlazorApp.Services.IReadOnlyCultureStore'

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

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.