Base solution for your next web application

Activities of "mahendra"

Hi there,

Can't we use this in ASPNetZero project based on ASPNetBoilerplate framework?

Our problem is when we do a prod build of angular project, the service-proxies.ts (which itself is huge) is always gets included in main js and it hapmers the initial load time of the application.

Regards, Mahendra

Is this available with ABP.io Framework?

Regards, Mahendra

Is there any workaround?

Hi there,

Any update on this please....

Regards, Mahendra

Answer

Hi ismcagdas,

please see the below screen shot. Looking at the ABP code, it seems that we can specify the data source and validator.... Could you please reconfirm if both are not possible...

Regards, Mahendra

Never mind...it got resolved....

We need not to put slash(/) at the end of the remoteServiceBaseUrl and appBaseUrl setting....

Regards, Mahendra

Here is my both settings (front end and back end)

Angular Application Settings(appconfig.production.json)


"remoteServiceBaseUrl": "http://healic-prodserver-env.us-east-1.elasticbeanstalk.com/", "appBaseUrl": "http://healic-prodclient-env.s3-website-us-east-1.amazonaws.com/",

BackEnd API Application Settings(appsettings.Production.json)


"App": { "ServerRootAddress": "http://healic-prodserver-env.us-east-1.elasticbeanstalk.com/", "ClientRootAddress": "http://healic-prodclient-env.s3-website-us-east-1.amazonaws.com/", "CorsOrigins": "http://healic-prodclient-env.s3-website-us-east-1.amazonaws.com/" }

Please advise....

I have following configuration setup at the Backend API file appsettings.Production.json

"App": { "ServerRootAddress": "http://healic-prodserver-env.us-east-1.elasticbeanstalk.com/", "ClientRootAddress": "http://healic-prodclient-env.s3-website-us-east-1.amazonaws.com/", "CorsOrigins": "http://healic-prodclient-env.s3-website-us-east-1.amazonaws.com/" }

Please advise....

Regards, Mahendra

Hi @mahendra

The easiest solution comes to my mind is, you can define a user for such Tenants (for example admin user which exist for all tenants) and automatically login admin user of Tenant D (or such tenants). In that case, all operations will work as expected.

Otherwise, you will face problems like app will try to set CreationUserId, LastModifierUserId of many entities and it will fail.

We have a self registration mechanism for tenant registration. Saying so, when to create such a user? I can't create such user during tenant registration. Because once tenant is registered, then after that tenant purchsa an additional feature (scan and pay - Scan the bar code at the table in the resturant). Once user purchase this feature then only I need such a requirement.

On a second thought, can i use user impersonation by login into host account and then impesonating the admin user of the tenant?

Regards, Mahendra

Answer

Thanks...it worked....

Showing 1 to 10 of 123 entries