Base solution for your next web application

Activities of "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

Hello Expert,

I deploy the angular application on AWS S3. When I growse the URL am getting the following error...Any idea what may have went wrong...

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

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....

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

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

Regards, Mahendra

Question

Hello Expert,

I am refering to following support ticket created by someone.

https://support.aspnetzero.com/QA/Questions/10468/How-to-allow-extension-of-application-through-Plugins

We need the similar functionality. We are using ASPNetZero Version 10.3 (.Net Core + Angular Version)

Do you have a demo project where the UI as well as API both have been extended. It would be really a great help if you can throw some light on it.

Basically, the requirement is very simple. We have a base application ready. Now we want some other team to keep creating plugins that could jel in my main application.

Any help would be appreciated....

Regards, Mahendra

Question

Hello Expert,

I was following the below document

https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Feature-Dynamic-Entity-Parameters-Angular#:~:text=Dynamic%20Property%20System%20is%20a,operations%20on%20these%20objects%20easily.

I have following two questions for dynamic property:

  1. Hwo to specify the data source for combo box dynamic property.
  2. How to specify the validator for a dunamic property.

If you have a working sample it would be great...

Please advise...

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

Question

Hello Expert,

When we use refresh.bat in angular application, it creates a single proxy file which is huge and then further this file increases the size of the main bundle and hence increases the initial load time of the application.

How can we split the one proxy.ts file into multiple files.

While searching on internet, I can see that ABP.io provides a command "abp generate-proxy -t ng" that creates seperate file for every controller and app service. Do we have similar approach for ASPDotNetBoilerplate.

Please advise. Regards, Mahendra

Hi there,

Any update on this please....

Regards, Mahendra

Showing 191 to 200 of 203 entries