Base solution for your next web application

Activities of "ismcagdas"

of course, you can inject ICacheManager into class you want, and then call one or both of these lines

_cacheManager.GetUserPermissionCache().Clear();
_cacheManager.GetRolePermissionCache().Clear();

Hi,

If you are accessing a different database, MSDTC windows service must be running on your machine. If your database and web server are different, you need to run it on both servers.

Hi,

Can you share your module class ?

Hi,

I will try to answer your questions like this, but don't take them as final answers, because some of your questions are related to your domain and they have different answers :).

  1. If you want multiple tenants to see a record, when you insert this record to creator tenant's database, then you can insert it to host database (You will need a seperate table if hostDb and tenantDbs are different). You can use domain events for this. <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/EventBus-Domain-Events">http://www.aspnetboilerplate.com/Pages/ ... ain-Events</a> Whenever a message entity is created, updated or deleted you need yo sync the related record in hostDb. In this way, you can show this message to multiple tenants. (So, Don't use disable tenancy filter, because it does not work on DB per tenant architecture)

  2. For your order question, I cannot say much but it seems definitely like a domain logic.

  3. If your domain logic allows editing other factory users somehow, you can define permissions like you suggest.

Hi,

I think your problem was related to something else. Maybe some seed data couldn't inserted to your database. This happens sometimes, and it crashes the application.

Hi,

If you want to use AspNet Core version, you need to run "dotnet ef database update" command in window's command prompt. You cannot use Package Manager console with AspNet Core right now.

Anyway, if you want to use ASP.NET MVC 5.x version, you can send your downloaded template to us (<a href="mailto:[email protected]">[email protected]</a>) and we can check for your problem. Please delete bin & obj folders and all folders inside packages folder before sending the project.

Hi,

Can you try to call your app service from Chrome's developer console ? You can write something like this "abp.services.tasksystem.jobLocation.getLocs({})" and check if you can see any request on Chrome's network tab.

You can also check Logs.txt file under your web project. There might be some exception.

Hi,

Do you know which part of your code throws this exception ? Can you also share your pğroject's module class ?

Hi,

You can create your own LoginManager derived from AbpLoginManager. See <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/blob/cab121b66dcaf4884cd23ae3f4f0c22f67734eef/src/Abp.Zero/Authorization/AbpLoginManager.cs">https://github.com/aspnetboilerplate/mo ... Manager.cs</a>.

And override the LoginAsync method as you like.

Answer

Hi,

There might be more than one reason. It's really hard to understand only with that error message ?

Do you still have the problem ? We can try to solve it, if you still having the problem.

Showing 11761 to 11770 of 12747 entries