Attività di "ageiter"

  • ABP Framework version: v6.0.0-rc.3
  • UI type: Blazor
  • DB provider: EF Core

I installed the preview (6.0.0-rc.3) and created a new Blazor Server App by using the template.

Because of OpenIddict, I then had to install Redis on my machine (via WSL2).

Then I did a deployment to Azure. And there I wondered why the app worked without adding the "Azure Cache for Redis".

Why does it work without the Redis service in Azure App Service? And when would it be important to use it?

By the way, in order for OpenIddict to work in Azure, I still had to do some configuration in BlazorModule. I scraped the information together from issues from others. It works, but I don't understand everything yet (e.g. generating the SigningKey & EncryptionKey) and it would be great if you could document the necessary steps to deploy it to Azure (so that the application can be run securely).

Thanks, Adrian

  • ABP Framework version: v5.3.0

  • UI type: Blazor

  • DB provider: EF Core

  • Steps to reproduce the issue:"

  1. Use ABP Suite to generate entities
  2. Generate any entity (with backend selected)
  • Problem / Bug:"

The file name of the AppService class is named in singular, but the class itself is named in plural.

Example: Entity "Country":

  • Class name: CountriesAppService
  • Filename: CountryAppService.cs

This should match. Probably rather singular (CountryAppService).

Thanks, Adrian

  • ABP Framework version: v5.3.0
  • UI type: Blazor Server
  • DB provider: EF Core

Situation: We have many entities which we want to create via ABP Suite. For each entity a folder is created. This makes the project very confusing. Therefore we have moved the entities into subfolders.

Problem: If we now make changes to existing entities, the ABP Suite does not notice that the entity already exists, because it is not in the usual folder. So the file is created again and you have to merge the changes manually, which is inconvenient. Is there a better option? Is there a way to define in which subfolders the entities are located?

Wish for the future: A possibility to group logically related entities in the ABP Suite. This can also be realized in such a way that we could define a parent folder for each entity. Such a grouping could also be included in the namespace.

  • ABP Framework version: v5.3.0 (Stable)
  • UI type: Blazor-Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: -

Steps to reproduce the issue:

  1. Use ABP Suite to generate entities
  2. Create 2 navigation properties to the same entity
  3. Go to "Advanced" and change "Property Name" in section "3 Others" to a meaningful name
  4. Save and generate the code

Current result: The properties with the foreign key (Guid) are generated correctly with my specified name. But in the classes with postfix "...WithNavigationProperties" and "...WithNavigationPropertiesDto" the entity name is used and numbered. It would be desirable that the chosen name would be used there as well.

My expectation: In all classes where this property is used, my chosen name will be used as property name. The property name chosen for the foreign key should also be used for the navigation property (without the "Id" postfix). If necessary to define separatly with another field in the ABP Suite form.

Example: The class "Book.cs" should have two navigation properties to "Author.cs": MainAuthorId & CoAuthorId

Result in BookDto.cs, Book.cs, ...

public Guid? MainAuthorId { get; set; } 
public Guid? CoAuthorId { get; set; }

Result in BookWithNavigationPropertiesDto.cs / BookWithNavigationProperties.cs:

using BookStore.Author;
using BookStore.Author;

public Author Author { get; set; } 
public Author Author1 { get; set; }

The other bug is that the "using" is added twice (as seen above). I have seen this several times and would find it useful to check if the "using" is already present before adding it.

I hope my concern has been explained in an understandable way.

Thanks, Adrian

171 - 174 di 174
Made with ❤️ on ABP v8.2.0-preview Updated on marzo 25, 2024, 15:11