Skip to content
This repository was archived by the owner on Feb 2, 2026. It is now read-only.
This repository was archived by the owner on Feb 2, 2026. It is now read-only.

Connect Admin Api to the Admin UI #478

Open

Description

@skoruba

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

Activity

  1. self-assigned this
    on Jan 30, 2020
  2. danielmeza commented on Jan 30, 2020

    @danielmeza
    Contributor

    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.

  3. skoruba commented on Jan 30, 2020

    @skoruba
    OwnerAuthor

    Can you describe your idea with Polly?

  4. pinned this issue on Feb 3, 2020
  5. b0 commented on Feb 5, 2020

    @b0
    Contributor

    @skoruba count on me when time comes for this rewrite...

    Thank you

  6. devployment commented on Feb 12, 2020

    @devployment

    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.

  7. skoruba commented on Feb 12, 2020

    @skoruba
    OwnerAuthor

    I want to work still with MVC. Thanks

  8. danielmeza commented on Feb 12, 2020

    @danielmeza
    Contributor

    @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.

  9. skoruba commented on Feb 12, 2020

    @skoruba
    OwnerAuthor

    I agree with you @danielmeza - thanks for feedback. Maybe I will consider some rewrite but in the future, current solution with MVC is stable. 👍🏼

  10. mehyaa commented on Apr 1, 2020

    @mehyaa

    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/*".

  11. skoruba commented on Apr 1, 2020

    @skoruba
    OwnerAuthor

    @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. 👍

  12. vicentt commented on Jul 27, 2020

    @vicentt

    Hey @skoruba!
    Do you want to merge the projects or use the Api on AdminUI for the moment?

  13. raminassar commented on Dec 29, 2021

    @raminassar

    any progress on this?

  14. skoruba commented on Dec 29, 2021

    @skoruba
    OwnerAuthor

    Unfortunately not, currently postponed, I am working on new features to Duende IdentityServer Admin UI.

  15. jdmallen commented on Nov 7, 2022

    @jdmallen

    Can you describe your idea with Polly?

    @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.

    Nick Chapsas (@Elfocrash) made a great and quick video recently on implementing it in a new .NET project if you want to dive in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions