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

Activities of "bilalhaidar"

Any idea what could be done please?

any updates, please?

Hi Hilal

I know it's difficult for you to get into details right now but at least you can confirm to me that those entities could be implemented. Later on I'll will surely share my technical issues if any here on the forums.

Any link to learn more about those events, how to handle them etc.

Thank you Bilal

The hosting is telling me the following:

It seems that your MVC application is reaching the 300 MB memory threshold that comes with the Single Site Plan.

Is it normal to reach that memory threshold?

Thanks

Hi Ismail, Problem solved.

I am using this line of code:

using (UnitOfWorkManager.Current.SetTenantId(AbpSession.TenantId.Value))

When a user is under host context, then TenantId is Null, hence Value property cannot be accessed. So I just changed the line to:

using (UnitOfWorkManager.Current.SetTenantId(AbpSession.TenantId))

Now things work smooth.

Thanks for hinting me in the right direction.

Regards Bilal

Here you go: [https://github.com/aspnetboilerplate/eventcloud/blob/master/src/EventCloud.Core/Events/EventRegistrationPolicy.cs])

Enjoy it.

Regards Bilal

Hello, Well, the idea is simple. In your DomainService, you connect to the DB, get whatever data you want and use them inside an implementation of IPolicy.

Does that help?

Regards Bilal

Any help pls?

Thanks

Answer

Thanks Ismail.

Hi Ismail,

At line 59, I am using

using (UnitOfWorkManager.Current.SetTenantId(AbpSession.TenantId.Value))

The data I am retrieving must have a Tenant. But, I need to access it from Host.

Thanks Bilal

Showing 221 to 230 of 461 entries