Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "omkarchoudhari"

Currently in the ABP Framwwork , while fetching any data , in case of a multitenant application, the currently logged-in user and the tenantId are checked by default. But for our application we want to be able to extend the ABPSession to also include another field called AccountId. So our session should check Logged-inUserId + TenantId + AccountId. Is it possible to override the existing methods (like GetAll() etc.)so that we can check the above OR it will manage automatically ?

Please also let us know how we can publish client and server separately (Local IIS or Azure) and what configuration changes are to be made in order to achieve this ? We are using ASPNET Core and Angular2 template. Does the single web application work both as client and server ? or if separate , do we need to publish them separately ,and if so , how ?

For our Aspnet core and Angular2 based application (latest version), we would like to setup three different deployment environments on Azure. 1. QA 2. Staging and 3. Production. Please let us know how we can deploy the applications to Azure. Can you provide us stepwise instructions on how we can deploy this application to Azure ? Secondly , we would like to employ continuous Integration and continuous Deployment to these environments. Please provide your recommendations on how we can achieve this. Especially how we can configure application for (Client and server) for CI/CD to Azure ?

Thanks. Looking forward to your reply urgently.

We are using ASP.NET Core and Angular 2 template for our application. Unable to generate service proxies . After running swagger we are able to see the API , but the method proxy is not generated in the serviceproxy.ts file after executing refresh.bat in nswag folder. Really stuck at this critical time . Please help !!!! Unable to locate error in the Logs.txt file .

Question

We have a multi-tenant angular1.X and mvc application .

Problem that we are facing is “If different users are logged in as admin for different tenants on separate machines, then the data for one tenant is shown to other tenant.”

We have tried clearing Cache etc. However the data still spills over into another tenant.

Do not have an idea as to why this is happening.

Please advise

We are using the asp.net core and angular 2.X template for our application. We are having many issues with code-first migrations. Whenever we make any changes to the models in the core project , and add migrations, either the migrations run but changes are not reflected completely. We then delete the migrations history and migration files and try again . But the framework simply generates empty migrations.

Is this a bug in the framework that is leading to unstable behavior ? Please suggest workaround for this. Its become very tedious to delete migrations every time and try regenerating them.

Thanks

Question

We are thinking of using MongoDB as backend for one of our applications. This application will utilize aspnetzero's Core and Angular 2.x template. We would like to host it on Linux or Mac (On-Premise) as well for some of the customers apart from Windows. That is the reason for choice of MongoDB. However i read in one of your Jan 2017 replies that your framework does not support MongoDB fully . Please let me know if there are any updates in this regard. Should we safely use MongoDB as backend or consider some other DB option. Will MongoDB work well with Windows as well ?

These decisions are critical for us as we decide the architecture of our application. Please reply at length asap.

Thanks

Why does our web application throw a runtime error when a page is not in use for some time ? If we refresh we get runtime error. Whereas it should redirect to login page as the user session has expired. We tried changing the session timeout in web.config, but it does not help.

Please provide us way to redirect to login page when session timeout happens.

How do we automate the process of adding migrations and updating tenant databases automatically for a multi-tenant application ? Our product is single web app and database per tenant. Right now we are manually updating each tenant database individually.

Please inform how we can maintain and automate the code first migrations and update database for all tenants at the same time whenever a new migration is added.

Thanks

In our Multi-tenant application using angularJS and MVC5 (Database per Tenant) our email send feature goes through following steps :

Login to tenant : Switch to HostDB to get Tenant ID Authenticate Send Email from UI Creates Job in Hangfire.Job in HostDB Queue Job Switch to Tenant DB get email configuration and summary Switch to Host DB Execute Job to send Email

However , we are getting the Abp.Domain.Entities.EntityNotFoundException after few emails are sent from a perticular tenant. Our initial guess is that because of the number of swithches between HostDB and TenantDB, we are getting this error. We have now switched to Hangfire Pro for background job processing.

========================================================================================== There is no such an entity. Entity type: C2C.Email.EmailConfiguration, id: 19

Abp.Domain.Entities.EntityNotFoundException: There is no such an entity. Entity type: C2C.Email.EmailConfiguration, id: 19 at Abp.Domain.Repositories.AbpRepositoryBase2.Get(TPrimaryKey id) at Castle.Proxies.EfRepositoryBase3Proxy_24.Get_callback(Int64 id) at Castle.Proxies.Invocations.AbpRepositoryBase2_Get_28.InvokeMethodOnTarget() at Castle.DynamicProxy.AbstractInvocation.Proceed() at Abp.Domain.Uow.UnitOfWorkInterceptor.PerformSyncUow(IInvocation invocation, UnitOfWorkOptions options) at Abp.Domain.Uow.UnitOfWorkInterceptor.PerformUow(IInvocation invocation, UnitOfWorkOptions options) at Abp.Domain.Uow.UnitOfWorkInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.Proxies.EfRepositoryBase3Proxy_24.Get(Int64 id) at C2C.Email.EmailAppService.GetEmailConfiguration(getSessionTenantId sessionObj) at Castle.Proxies.EmailAppServiceProxy.GetEmailConfiguration_callback(getSessionTenantId sessionObj) at Castle.Proxies.Invocations.IEmailAppService_GetEmailConfiguration.InvokeMethodOnTarget() at Castle.DynamicProxy.AbstractInvocation.Proceed() at Abp.Domain.Uow.UnitOfWorkInterceptor.PerformSyncUow(IInvocation invocation, UnitOfWorkOptions options) at Abp.Domain.Uow.UnitOfWorkInterceptor.PerformUow(IInvocation invocation, UnitOfWorkOptions options) at Abp.Domain.Uow.UnitOfWorkInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Abp.Auditing.AuditingInterceptor.PerformSyncAuditing(IInvocation invocation, AuditInfo auditInfo) at Abp.Auditing.AuditingInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Abp.Runtime.Validation.Interception.ValidationInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.Proxies.EmailAppServiceProxy.GetEmailConfiguration(getSessionTenantId sessionObj) at C2C.Email.SendEmailJob.getEmailConfigurationSummary(getSessionTenantId sessionObj) at C2C.Email.SendEmailJob.Execute(getSessionTenantId sessionObj)

==========================================================================================

Is there a way to resolve this ? Looking forward to your continuous support.

Showing 51 to 60 of 78 entries