Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peaceandlove 1 post 71 karma points
    Oct 29, 2023 @ 19:04
    Peaceandlove
    0

    .Net Core Web API using umbraco services

    Hello,

    i have one question,

    im trying to scope UmbracoCms.IMemberService and UmbracoCms.IScopeProvider in the startup class of a web api that i have to connect to a Umbraco web proj.

    im a little green working with umbraco, when i try to do the DI i get the message:

    Unable to resolve service for type 'Umbraco.Cms.Core.Scoping.IScopeProvider' while attempting to activate 'UserRepository'.
    

    is there something im missing? How can i DI the umbraco methods i needed to call custom made classes

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies