Open Closed

abp FrameWork question #8248


User avatar
0
dhaoo created

version:8.1.3 UI:mvc

1、微服务怎么的服务怎么单独调试UI 必须搭载着微服务里的web程序吗 不可以像模块儿开发一样单独调试吗 (How do microservices enable individual debugging of UI without having to run the web application within the microservice? Can't UI components be developed and debugged independently, like modules?) 2、针对excel的上传下载,abp框架有没有解决方案(Does the ABP framework have a solution for uploading and downloading Excel files?)


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    1. 是的, 你也可以在微服务集成的模块中测试UI, 就是你的模块中有一些host项目可以调试你的模块功能
    2. ABP框架和excel上传下载没有本质上的关系, 你可以使用IRemoteStreamContent在应用服务层中表示文件流, suite有一些样板代码提供excel导入/导出

    https://abp.io/docs/latest/framework/architecture/domain-driven-design/application-services#working-with-streams https://github.com/abpframework/abp-samples/pull/64 https://github.com/abpframework/abp-samples/tree/master/ExcelIO https://abp.io/community/articles/how-to-export-excel-files-from-the-abp-framework-wm7nnw3n

  • User Avatar
    0
    dhaoo created

    您好,您回信邮件中提到的文档是api的开发文档,我想了记得是微服务中,新建的微服务如何独立运行他的UI,如图所示,想要运行Order里的web必须依附于微服务解决方案里的web可以运行,有没有办法可以单独只运行order这个微服务来进行调试他的UI,新建的微服务并没有Host项目 Hello, the document mentioned in your reply email is the api development document. I remember how the newly created microservice independently runs its UI in microservice. As shown in the figure, if you want to run the web in Order, you must be attached to the web in the microservice solution. Is there a way to debug the UI by running the order microservice alone

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    你可以在你的module(LCFC.MOM.OrderService)项目中创建一个引导项目来调试UI. 我们之前的module模版中包含这样的项目, 你可以参考一下.

    https://github.com/abpframework/abp/tree/dev/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11