Activities of "punta"

Welcome, Alper! I hope I will do. I am making something out of the reach of my experience today, but I am halfway through it with a profound help of ABP and the support team!

Thanks Maliming! I will always do that.

Amazing! A good Nurture to my knowledge underneath. All this is useful as my PrivateSite navigation links are prepared dynamically at runtime, and page components may also have jumping links too.

Thanks very much for nurturing everyone reading it!

Helpful suggestions! I will explore ABP 10's IRepository.EntityName / SetEntityName(...) API; it looks promising for some special situations. Runtime repository resolution is also a good insight, we haven't considered it at all. It is also promising for future features.

The ADO.NET approach was the fist one in our arsenal, but we put it aside in favor of the ever-improving cross-cutting concerns of ABP. We afraid of cutting off from the promising future.

Thanks!

Hi Maliming, Alper! To the questions,

  1. Each table has its own different columns, containing different sets of information
  2. The set of tables is quasi fixed, only changing on future versions of the app

My Progress:- I worked out with the AI's suggestion above and refactored everything. Each table is now backed up by a ViewComponent that injects its repository service. Shaped the client side to deal with the ViewComponents instead. In essence, it is the ViewComponent, (and the repository, as such) that is dynamic than the TableName

We are safe in ABP Infrastructure now! Resorting to ADO.NET is just COSTLY for future progress.

Thanks Maliming, for always going deeper with my craving for professionalism. Thanks ALL!

Awesome! Helpful Details, Thanks Very much!

I want to render a ViewComponent from an AJAX call dynamically. The type of ViewComponent to render is determined at runtime on the server, and an AJAX fetch will render it. What is the best way to do this in the realm of ABP?

Wonderful! Actually each table has its own repository service and DbSet<>. It is better to make the Repository name dynamic than the Table Name. Let me wait for the Support Staffs to have their experience say!

In a part of the application that we are building with ABP Commercial, pages render data dynamically based on a presentation template selected at run time. Those templates target different database tables for data storage. Therefore, our controller uses a Dictionary<TKey, TValue> of Function Delegations to return the table name and/or data. What do you advice on Direct Table access alongside the Repository in ABP.

- v10.3, MVC, SQL Server, Tiered.

Thanks!

Hi, Maliming! Success story: I used the Option 2 above: Controller-level route prefix + multiple actions and it worked SUCCESSFULLY.

But One Caveat Once navigated to, all the navigation links on the private site lost the Handle and didn't work, until I worked out around it and added the Handle as a route attribute, as with the following links:

<ul class="navbar-nav flex-grow-1"> <li class="nav-item"> <a class="nav-link text-dark" asp-route-handle="@Model.Handle" asp-action="Index">Home</a> </li> <li class="nav-item"> <a class="nav-link text-dark" asp-route-handle="@Model.Handle" asp-action="About">About</a> </li> </ul>

Triumph! Thanks again!

Very detailed, very useful LECTURE! ... invalid handles, awesome! Thanks a lot Maliming!!!


Showing 1 to 10 of 58 entries
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 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.