Open Closed

ABP Framework upgrade 8.2.1 replaced identity service doesn't generate proxy #7623


User avatar
0
DominaTang created

Our project extend some app service in Identity service:

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IIdentityUserAppService))]
public class AbcIdentityUserAppService : IdentityUserAppService
{
 //Some override methods
//Some new methods
}

When in ABP 7, when generate identity-service proxy, in angular side, there are two sub folder generated, one called abp, one called volo. After upgrade to ABP 8, the proxy for identity-service, only one folder volo generated, the new methods in class AbcIdentityUserAppService is not available for client side to call.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

9 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    After upgrade to ABP 8

    Which version?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    DominaTang created

    ABP 8.2.1

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    i will check it

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    I could not reproduce the problem.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    DominaTang created

    I checked the Swagger UI for identity service. There is no new method. Plus, we have a separate app service: public class CustomIdentityAppService : ApplicationService, ICustomIdentityAppService { }

    So in Identity Service, there are two controllers, the second controller doesn't show in swagger at all. Even I exclude first controller from project, the User APIs has no new method exposed. How could you make swagger can access the new method? If swagger APIs are all from ABP's build-in ones, when generate proxy, the new methods wouldn't be available.

    [Dependency(ReplaceServices = true)] [ExposeServices(typeof(IdentityUserController))] public class AbcIdentityUserController : IdentityUserController { }

    [Area("identity")] [RemoteService(true, Name = "AbpIdentity")] [Route("api/identity/custom")] [Authorize] public class BdoCustomIdentityUserController : AbpControllerBase, ICustomIdentityAppService { }

    In Saas Service, we have additional controllers, those controllers APIs was shown on swagger though.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    DominaTang created

    When I downgrade proxy generator from 8.2.1 to 7.4.5, another difference I found: IdentityUserDto doesn't exist in proxy models in 8.2.1 but exists in 7.4.5

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    https://abp.io/support/questions/7623/ABP-Framework-upgrade-821-replaced-identity-service-doesn%27t-generate-proxy#answer-3a1438d2-184a-0763-1f04-ab7c8c8b4936

    How do i reproduce the problem, could you share the full steps

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    DominaTang created

    Can we book a session to share screen?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    sure,

    my email is shiwei.liang@volosoft.com

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 21, 2026, 06:18
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.