You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 2, 2026. It is now read-only.
Currently, the Admin UI is connected to services directly from the controllers.
I am considering using Admin Api from Admin UI.
It will required some rewrite, but it should be cleaner solution.
Feedback is welcome. 👍
Thanks
Reacted by bravecobra, Daniel Meza, Guilherme Lopes de Morais Filho, Henry, b0, Charmedme, James Jackson-South, Mahmoud Kandeel, Walid, Denis Ivanov and 10 more
That's great! This allow us to reduce the maintenance effort and will propagate new features across all system. Remember to use HttpClientFactory and Polly for reduce HTTP connection issues.
Reacted by Jan Škoruba, Charmedme, Tomasz, Florian Maier, J.D. Mallen and Weihan Li
Would that mean in general, staying with MVC or going down the SPA route? If SPA would be an option, any thoughts on the frontend stack? Maybe it would be nice to bring some love to https://aurelia.io/
IMHO they deserve being used by great projects to showcase their stuff. :)
I have not too much experience with Aurelia, but would love to get my hands dirty if the time comes.
@devployment I have a lot of experience with aurelia, and it is a awesome JS framework, but it is JS. Although since the project is oriented to rest noting stop us to build a different UI stack. Personally I will chose something closed to the .net world like Blazor, but for now MVC is just fine.
In my opinion Admin and Admin Api projects can be merged.
Connecting Admin to Api will cause unnecessary navigation, auth steps. That will cause unnecessary delay and complexity. Merging two projects into one and execute all the business logic in common services will be more simple.
Api endpoints can serve under a logical route base name like "/Api/*".
Reacted by Jan Škoruba, Charmedme and Ajden Towfeek
@mehyaa I agree with you. This merge will required bigger rewrite, so I will work on this issue in Q3 of this year - help with this is really welcome. 👍
@skoruba Not @danielmeza, but I know what he's talking about and fully agree. Since no one addressed your question: Polly is a 3rd party transient fault handling framework for .NET that is fully endorsed by Micsosoft, so much as that they introduced their own extension packages for Polly as part of .NET, including some to add retries and other forms of transient fault handling to the HttpClientFactory pattern.
The HttpClientFactory pattern along with Polly is the new and preferred way of injecting HttpClients into classes (over the old way of making it static, or worse, constructed with every instance). More here on using it with Polly.
Activity
danielmeza commentedon Jan 30, 2020
That's great! This allow us to reduce the maintenance effort and will propagate new features across all system. Remember to use HttpClientFactory and Polly for reduce HTTP connection issues.
skoruba commentedon Jan 30, 2020
Can you describe your idea with Polly?
b0 commentedon Feb 5, 2020
@skoruba count on me when time comes for this rewrite...
Thank you
devployment commentedon Feb 12, 2020
Would that mean in general, staying with MVC or going down the SPA route? If SPA would be an option, any thoughts on the frontend stack? Maybe it would be nice to bring some love to https://aurelia.io/
IMHO they deserve being used by great projects to showcase their stuff. :)
I have not too much experience with Aurelia, but would love to get my hands dirty if the time comes.
skoruba commentedon Feb 12, 2020
I want to work still with MVC. Thanks
danielmeza commentedon Feb 12, 2020
@devployment I have a lot of experience with aurelia, and it is a awesome JS framework, but it is JS. Although since the project is oriented to rest noting stop us to build a different UI stack. Personally I will chose something closed to the .net world like Blazor, but for now MVC is just fine.
skoruba commentedon Feb 12, 2020
I agree with you @danielmeza - thanks for feedback. Maybe I will consider some rewrite but in the future, current solution with MVC is stable. 👍🏼
mehyaa commentedon Apr 1, 2020
In my opinion Admin and Admin Api projects can be merged.
Connecting Admin to Api will cause unnecessary navigation, auth steps. That will cause unnecessary delay and complexity. Merging two projects into one and execute all the business logic in common services will be more simple.
Api endpoints can serve under a logical route base name like "/Api/*".
skoruba commentedon Apr 1, 2020
@mehyaa I agree with you. This merge will required bigger rewrite, so I will work on this issue in Q3 of this year - help with this is really welcome. 👍
vicentt commentedon Jul 27, 2020
Hey @skoruba!
Do you want to merge the projects or use the Api on AdminUI for the moment?
raminassar commentedon Dec 29, 2021
any progress on this?
skoruba commentedon Dec 29, 2021
Unfortunately not, currently postponed, I am working on new features to Duende IdentityServer Admin UI.
jdmallen commentedon Nov 7, 2022
@skoruba Not @danielmeza, but I know what he's talking about and fully agree. Since no one addressed your question: Polly is a 3rd party transient fault handling framework for .NET that is fully endorsed by Micsosoft, so much as that they introduced their own extension packages for Polly as part of .NET, including some to add retries and other forms of transient fault handling to the
HttpClientFactorypattern.The
HttpClientFactorypattern along with Polly is the new and preferred way of injectingHttpClients into classes (over the old way of making it static, or worse, constructed with every instance). More here on using it with Polly.Nick Chapsas (@Elfocrash) made a great and quick video recently on implementing it in a new .NET project if you want to dive in.