I wish to use some of the new features of EF Core 8 in a new ABP application. The application is not due for release until well after the EF Core 8 release date. What steps do I need to take?
Thanks, Phil
I am trying to create some extensive data seeding for a Demo tenant when I run the DbMigrator.
I am having a number of challenges.
First, there seems to be no way to control the ordering of different IDataSeedContributors so it is not possible to ensure that dependent objects are seeded in the right order.
Second, even if I can accidentally get the IDataSeedContributors to seed in the correct order, there appears to be no reliable way to retrieve rows that have previously been seeded. This appears to be because the entire data seeding process is performed in a single transaction and it is not possible to query the database and find rows that were already created, because they have not yet been committed.
Are there any examples or blog posts showing how to perform anything but the simplest of data seeding?
I am sorry Anjali but I am no wiser on how this is supposed to work.
The documentation says that LogoReverseUrl
on IBrandingProvider
should specify the application logo on a reverse color theme. This is ambiguous because 'reverse' means it is the relative to something else, but what that something else is, is not clear.
In an apparent attempt to clarify the documentation then says '(dark, for example)'. It is worded in a very confusing way and IMHO the documentation should be made much clearer - particularly for something that virtually very ABP user will want to customise right out of the box.
It also seems to be absolutely the opposite of what SideMenuLayout.cshtml
actually does -- that component will cause the variable
--lpx-logo
to be set to IBrandingProvider.LogoReverseUrl for .lpx-theme-light
, or to IBrandingProvider.LogoUrl for .lpx-theme-dark
or .lpx-theme-dim
.
So I still have no answer to my original question - the documentation and the code are total opposites of each other.
Thanks very much Anjali for getting back to me.
We are doing some prototyping and due to the lack of consistency in capabilities between Blazor and MVC we have now decided to build with the MVC version. It seems that this will require less dev effort at our end until ABP fully supports Blazor.
It might be worth correcting the documentation to show where samples are specific to a certain UI. E.g. this page: https://docs.abp.io/en/abp/7.3/Modules/Cms-Kit/Tags contains no indication that the instructions are only relevant for the MVC UI.
Cheers, Phil
Provide us with the following info:
The documentation for customising MVC states the following:
This indicates that the LogoReverseUrl will be used on when the dark theme is selected. However, the code in SideMenuLayout.cshtml does exactly the opposite:
Is this a problem in the documentation or the code?
Yes. I am aware of the work around, which I have done.
But there was an indication that the problem would be fixed in an imminent patch. (around 2 months ago I think)
Has the problem been fixed in ABP Suite? If not, are you able to provide a timeline?
Thanks, Phil
Yep. That fixed it. Thanks!
I am unable to find any question at this URL.