Hello @ismcagdas
It might be the cache, but I don't know how could I measure how fast how each cache is loading to find the problematic one. Any ideas on how to log the time that each cache takes to load?
Then I don't think it's the SQL queries, as you can see in the screenshot I attached to the first post, SQL takes around 300 ms of the 32622 ms that the page took to load.
The DisplayName Attribute could work, but how do I hook it up with the ABP Localization source?
Does AbpDisplayNameAttribute
work for this?
I think that's not exactly what I'm talking about.
Look at this example.
public class RegisterInput
{
[Required]
public string FirstName { get; set; }
[Required]
public string LastName { get; set; }
}
Using that DTO with validation and provide this JSON to the app service:
{ firstName: "Emiliano", lastName: null }
Then I will end up with an exception with a message like
The field LastName is required
I want to change that LastName
to Last Name
Is there any data attribute to set to the property to tell ABP to show Last Name
as the display name for that property?
You can query data using Repositories. Read more: <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Repositories">https://aspnetboilerplate.com/Pages/Doc ... positories</a>
<cite>aaron: </cite> Override ShouldFilterEntity and CreateFilterExpression in your DbContext.
Ok, I see I can get it done easily that way.
In order to get the filter parameter defined with IUnitOfWork.SetFilterParameter, I have to use IUnitOfWork.GetFilter and check in the DataFilterConfiguration.FilterParameters collection, right?
Hello,
I understand that, but I would have performance issues doing it that way because I have to join though many entities and domain services should not use repositories according to DDD guidelines.
Maybe I should implement custom repositories when I need to do complex queries with multiple joins?