Hi Musa,
Yes, almost 14.300 records.
Greetings, Dave
Hi Musa,
No, no error and no INFO lines.
I just checked with postman and any call from a 'congested' user takes about 1 minute and 40 seconds..
Greetings, Dave
Hello @ismcagdas,
Thanks for your suggestion. We tried to incorporate UnitOfWork but no luck. For normal database transactions like fetching data, we are able to retrieve/access SetTenantId()'s dedicated database but for a hangfire job it still refers to the Default (Host) database.
For instance while setting the Db Connection for Hangfire, the connectionString is set to "Default" which will be the Host database. We assume that is the reason why it uses the Default(Host) database for Hangfire always irrespective of UnitOfWork.
if (WebConsts.HangfireDashboardEnabled)
{
//Hangfire (Enable to use Hangfire instead of default job manager)
services.AddHangfire(config =>
{
config.UseSqlServerStorage(_appConfiguration.GetConnectionString("Default"));
});
}
We need to switch the DbContext to dedicated databses for our Hangfire jobs too instead of using Default(Host) database for all tenants. Is there a way where we could resolve the connectionString and switch to dedicated tenant's database for Hangfire jobs too?
Hi @ismcagdas
Considering we're running across a problem that is more of a "superset" to this problem, I'll close this and open a new issue. Thanks. :-)
Hi @ismcagdas
I see. We'll download the Angular version and see if we can use that as an example to make it work for us.
Thanks for the swift reply.
Hi @ismcagdas
The reason is because we've integrated Vue as a C# project in the solution (basically similar to the Public project, but then with a Vue bootstrapping). We need to be able to authenticate and authorize in Startup.cs instead of using a controller, that's why we went for a service approach instead of a controller approach. We've stored our credentials in the appsettings.json, because the front-end is JS based and we would prefer not having "traceable" credentials present there with a controller call.
And if the above isn't best practice for this scenario, what would you suggest be the best approach for this, so that front-end users with the know-how wouldn't be able to abuse traceability of credentials and check the transpiled/compiled JS?
Hi,
Thank you for the information. I've re-done the merge conflicts and fixed that part along with it. It works now.
Thank you.
Hello @ismcagdas
According to your own F.A.Q. Can I use all Metronic components ant themes in ASP.NET Zero? your answer is: ASP.NET Zero uses Metronic as the UI theme. Metronic is one of the world's most popular, strongest and richest UI themes, probably even the first. That's why we have chosen it. When you buy ASP.NET Zero, you will have access to all Metronic theme layouts and components. You can use all of them in your applications.
But it is not the case because Kanban is not implemented even though it is an component inside Metronic see the link in our previous question. When trying to implement this library globally because we want to use it on multiple pages the submenu's aren't working anymore.
So the question remains how to implement kanban globally in our project like the component from Metronic? And why isn't it already incorporated like stated in the F.A.Q.?
The problem with the GetAll is that we are not logged in yet and the menu is determined on launch not on login. So there is no connection with the database. It seems that we need to somehow add a dynamic menu service but I'm a bit confused how to implement this. Do you have any examples for this?
Hello @ismcagdas,
I'll use the workaround in the meantime, whilst waiting for the new release.
Thanks for the help and quick reply! :)