Open Closed

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


User avatar
0
thaithiendi created

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 Answer(s)
  • User Avatar
    1
    maliming created
    Support Team 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 created

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

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can get source by run

    abp get-source Volo.FileManagement

  • User Avatar
    0
    thaithiendi created

    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 created

    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 created
    Support Team Automatic process manager

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

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09