Base solution for your next web application

Activities of "Mahinthan"

Question

It's been so far good, until I get the following error, while I start the project.

Null is not a valid constant value for this type.

Could anyone help on this please?

  • I have followed the instructions from the following doc.

https://aspnetboilerplate.com/Pages/Documents/Multi-Lingual-Entities

  • When I run an endpoint to create a product, I get the following error

Unmapped members were found. Review the types and members below. Add a custom mapping expression, ignore, add a custom resolver, or modify the source/destination type For no matching constructor, add a no-arg ctor, add optional arguments, or map all of the constructor parameters

AutoMapper created this type map for you, but your types cannot be mapped using the current configuration. ProductDto -> Product (Destination member list) SwissOrdering.Product.ProductDto -> SwissOrdering.Product.Product (Destination member list)

Unmapped properties: Id

  • Im using the following version of Automapper

Abp.AutoMapper 4.6.0

  • May I know, how can I resolve this issue?

Thanks @ismcagdas for the idea,

Alternatively, is it possible to dedicate one tenant (tenant X) to store all users and if they try to login to tenant 1, the authentication to be executed against tenant X. It means, whenever a user registers to tenant 1, the user is created in tenant X.

Looking forward your advise

I have a requirement, as per the diagram in the attachment.

Im going to have a multi-tenant application. My application does have following roles.

Super Admin - Admin of all tenants. Account Manager - Admin of selected tenants Tenant Admin - Admin of a tenant Customers - These users can consume services from different tenant

My requirement is, if a customer has to consume a service from a tenant (tenant 1), he/she must register with the system. If the same customer has to consume a service from another tenant (tenant 2), he/she does not have to register again. He/She should be able to use the same credentials used for the former tenant to the latter tenant too. May I know, how can this be achieved?

Showing 11 to 14 of 14 entries