打开 关闭

transfer data between pages #6834


User avatar
0
nabass 创建

good morning hope u r well is there a way to transfer data between pages with mvc ?? EX: in angular we separate the page into component then collect the selector of these components to build a page this selector carries all the data , logics and styles. can i do the same thing using ABP Framework ?? in my project i use razor pages and MVC and there are a lot of folders created with js files and razor pages can i create a new page and collect aother folders into the new page i created instead of repeating the code or collect the all code into one page??

  • ABP Framework version: v8
  • UI Type: MVC
  • Database System: EF Core (SQL Server)

1 答案
  • User Avatar
    0
    liangshiwei 创建
    支持团队 Fullstack Developer

    Hi,

    You can consider using the ViewComponent: https://learn.microsoft.com/en-us/aspnet/core/mvc/views/view-components?view=aspnetcore-8.0

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