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

Activities of "bilalhaidar"

Thanks. But existing code of ABP Framework does it in more than places, so I got confused.

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, I pushed the application today to a hosting online account. I could login but then I get no where, internal server error.

Here is the log I could find remotely:

DEBUG 2017-04-24 14:19:55,735 [10   ] Abp.Auditing.WebClientInfoProvider       - System.Net.Sockets.SocketException (0x80004005): No such host is known
   at System.Net.Dns.GetAddrInfo(String name)
   at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
   at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
   at Abp.Auditing.WebClientInfoProvider.GetClientIpAddress()
DEBUG 2017-04-24 14:20:21,266 [10   ] Abp.Modules.AbpModuleManager             - Shutting down has been started
DEBUG 2017-04-24 14:20:21,266 [10   ] Abp.BackgroundJobs.BackgroundJobManager  - Stop background worker: Abp.BackgroundJobs.BackgroundJobManager
DEBUG 2017-04-24 14:20:21,266 [10   ] Abp.BackgroundJobs.BackgroundJobManager  - WaitToStop background worker: Abp.BackgroundJobs.BackgroundJobManager
DEBUG 2017-04-24 14:20:21,266 [10   ] Abp.Modules.AbpModuleManager             - Shutting down completed.

I made sure I put the root address of the website in the web.config. Also, I enabled WebSockets on the application.

Thanks Bilal

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

Hi, I read in the documentation that whenever a code is withing UOW, there is no need to explicitly calling update method on the repository, as this is handled automatically by the framework.

What are the cases that I need to actually call update methods?

Thanks

Showing 301 to 310 of 635 entries