Ouvert Fermé

How to add and customize FileManagement module with Microservice template #1724


User avatar
0
thaithiendi créé

Hi support team,

I created Microservice template project. I Started AuthServer, Web, WebGateway, AdministrationService.HttpApi.Host. projects success. After that I want to add and customize FileManagement module. I see the link https://docs.abp.io/en/commercial/latest/modules/file-management So i run "abp add-module Volo.FileManagement" command. But I restarted Started AuthServer, Web, WebGateway, AdministrationService.HttpApi.Host projects fail I see log write: The system cannot find the file specified.: Volo.FileManagement.HttpApi.Client, Version=4.4.0.0 Volo.FileManagement.EntityFrameworkCore

How to fix it to started AuthServer, Web, WebGateway, AdministrationService.HttpApi.Host. projects success and add customize FileManagement module in solution?

  • ABP Framework version: v4.4
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

6 Réponse (s)
  • User Avatar
    1
    maliming créé
    Équipe d'assistance Fullstack Developer

    hi

    I think you need to add FileManagement module to the AdministrationService manually. https://docs.abp.io/en/commercial/latest/startup-templates/microservice/microservices#administrationservice

    Please refer to how the permission-management, setting-management, language-management, audit-logging modules was added.

  • User Avatar
    0
    thaithiendi créé

    I don't know how to get code FileManagement module before add it to AdministrationService?

  • User Avatar
    0
    maliming créé
    Équipe d'assistance Fullstack Developer

    hi

    You can get source by run

    abp get-source Volo.FileManagement

  • User Avatar
    0
    thaithiendi créé

    I used abp get-source Volo.FileManagement command to get source,but i can not see DbMigrator project to generate database. What i have to do to generate database FileManagement?

  • User Avatar
    0
    cotur créé

    Hi @thaithiendi

    The downloaded solution with abp get-source Volo.FileManagement command is not a standalone application, it contains the module source code,

    If you want to test the module, there is a small applications (for test purpose) in the host folder. They don't need a migrator project, just cast dotnet ef database update in the related host project.

    Please don't forget that the host projects are just for testing.

    For now, unfortunately you need to add it to your microservice template by yourself.

    @maliming : Please refer to how the permission-management, setting-management, language-management, audit-logging modules was added.

  • User Avatar
    0
    ServiceBot créé
    Équipe d'assistance Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11