Hi, I see your question is the same as the question here. If not, please let me know.
Since Maliming explained the situation quite clearly, I believe you will solve the problem if we are talking about the same question.
Duplicate of https://support.abp.io/QA/Questions/1088/How-to-get-Api-token-using-client-secret-key
Hello, I don't think this question is related to ABP but still, there is some information I want to share with you ✌️
Firstly being wondering if this reduces resources utilization since my iis cpu and ram usage is high.
Unfortunately, I don't know much about the ISS.
Seems every time I run the project, a new recurring job is created , how can I avoid this ?
Hangfire methods allow calling with a delay. For instance:
BackgroundJob.Schedule(
() => Console.WriteLine("Hello, world"),
TimeSpan.FromDays(1));
See more: https://docs.hangfire.io/en/latest/background-methods/calling-methods-with-delay.html
Hi, this issue doesn't seem to be related to ABP but you should be able to do it similar to the code below.
PreConfigure<OpenIddictServerBuilder>(builder =>
{
builder.
... // In production, it is recommended to use two RSA certificates, one for encryption, one for signing.
.SetAccessTokenLifetime(TimeSpan.FromDays(365))
.SetIdentityTokenLifetime(TimeSpan.FromDays(365));
});
Thank you very much for the repeatable application. The problem is caused by a bug in 6.0.0
. This seems to have been resolved with this PR. So when we release 6.0.0
patch version (soon), the problem will be solved.
Thanks, I clone the repo, you can remove it for security reasons.
If the project is not private, you can create a new repository on GitHub or upload it to the cloud. If it is private, you can create a private repository on GitHub and add me.
https://github.com/berkansasmaz
I tried to reproduce the problem with the information you provided, but unfortunately, I was unsuccessful.
I then created a brand new v6.0.0 ABP solution and followed the blog thinking that I perhaps broke something in the upgrade. Unfortunately, it displays the same error.
Any chance of submitting this application as a minimal-reproducible application?
Closing the issue. Feel free to re-open or create a new issue if you have further questions.
Oops! Really sorry I missed that NoLayer / MVC application. I will create an internal issue on the subject.
Can you try the following steps for a solution?
abp.resourcemapping.js
in the folder where package.json
is.abp.resourcemapping.js
module.exports = {
aliases: {
},
clean: [
],
mappings: {
}
};
Then, after defining the relevant mapping, simply run the abp install-libs
command.
For example:
package.json
{
"version": "1.0.0",
"name": "my-app",
"private": true,
"dependencies": {
...
...
...
"cookieconsent": "^3.1.1", // added with "yarn add cookieconsent" command
"jquery-unveil": "^1.3.2" // added with "yarn add jquery-unveil" command
}
}
abp.resourcemapping.js
module.exports = {
aliases: {
},
clean: [
],
mappings: {
"@node_modules/cookieconsent/build/*": "@libs/cookieconsent/", // added
"@node_modules/jquery-unveil/*": "@libs/jquery-unveil/" // added
}
};
run abp install-libs
command
As a result, you can check the libs
folder under wwwroot
folder.
Please let me know if this works or not works for you.
Hi,
I think the following code is causing the problem.
var tenant = context.Tenants.Where(u => EF.Property<string>(u, "Host") == host);
I have a few questions so that I can better assist you with the problem:
1-) Is there a code like the picture below in the YourProjectNameDbContextModelSnapshot.cs
class inside the YourProjectName.EntityFrameworkCore
or YourProjectName.EntityFrameworkCore.Migrations
project?
2-) Is there a Host
section as a separate column in the SaasTenants
table in the database used by the application?
If your answer to these questions is yes, do you have a chance to send the content of your application's **DbContext.cs
classes?