Base solution for your next web application

Activities of "arctechnicalteamaus"

Prerequisites

  • What is your product version? ASPNET Zero 10.4
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net core 5.0
  • What is ABP Framework version? 6.4

We use the latest ASPNET Zero genrated solution. We are adding a new integration test project. Most is working fine.

However, the generated class MyCompanyJwtSecurityTokenHandler under MyCompany.Web.Authentication.JwtBearer uses lots of IocManager.Instance to resolve dependencies. IocManager.Instance is fine normally, but in a test project, it doesn't resolve dependencies. IIocManager should be used in my reading, that is designed for test projects.

How should we fix this class? It is hard constructed by AuthConfigurer.Configure() method.

Thanks for your response.

Dear Support,

We are using ASPNET Zero subscription, that has a maximum developers count. We have a support personnel - he reads the source code from Visual Studio, and runs it locally to play with. But he doesn't write or change any source code - read only access. Does he count to the developers in the subscription? We just reach out limit, and not sure whether we need to buy an extra developer licence.

Thanks! Richard

Issue related with ABP Framework

  • What is ABP Framework version? 6.3

In the Abp.DynamicEntityProperties.DynamicPropertyManager class, the cache is defined as:

private ITypedCache<int, DynamicProperty> DynamicPropertyCache => _cacheManager.GetCache<int, DynamicProperty>(CacheName);

TypedCache is not tenant safe. We use a multi-tenant configuration. When we get the DynamicProperty by Id, the cache returns the DynamicProperty with that Id, from a different tenant.

The same bug occurs for DynamicEntityPropertyManager class too.

Suggest to review all ITypedCache usage.

Dear Support,

Aspnet Zero provides a language text customistion at host level. Can it be adpated to tenant level? So each tenant can customise languiage text by them self. What should we be aware to do that?

Are language texts cached?

Thanks! Richard

This is just a suggestion / feedback.

PagedAndSortedResultRequestDto is the DTO used Power Tool generated code. PagedAndSortedInputDto is the code used in other places by Zero.

They are really the same thing at the server side. However, nswag generated Angular code has different sequence on sorting/paging fields. It causes confusion, and causes strange error if not following the field sequence exactly.

It is better to just use one of them.

Dear support,

We have 1 host database, and multiple separate tenant databases for those tenants with large amount of own data.

Host database stores some common host data, such as tenants / editions tables. Because of primary / foreign key enforcement, we have to replicate these host data to every separate tenant database.

Do you have a way to maintain these? For example, when creating a new separate tenant database, we need to copy host data; when tenant information changed in the host database, we have to replicate manually to each separate tenant database. Would you recommend a better way?

Thanks Richard

Thank you very much!

Thank you!

We got all these working.

My question is to enhance the DynamicParameter entities themself. We have an ETL process to produce a data warehouse, relies on LastModificationTime. We need to transfer dynamic values to the data warehouse, but DynamicParameter entities don't have any time stamps. How can we add?

Dear support,

We use Zero 8.7. How do we customise DynamicParameter entity to add more properties? such as IsDeleted, auditing timstamps, and other our own property.

In the Zero template. common entity like "User" has provioded a way to customise. For other entities, what's the recommended way to customise?

Thanks! Richard

Showing 1 to 10 of 25 entries