Hi 👋 , sorry for the late reply.
I tried to reproduce the problem but could not reproduce it. Here are my steps.
dotnet tool uninstall Volo.Abp.Cli -g
b. dotnet tool install -g Volo.Abp.Cli --version 6.0.1
abp suite install
command.ConfigureServices
method of the **.Web.Public
project, set the NewsletterOptions
as follows: Configure<NewsletterOptions>(options =>
{
options.AddPreference(
"Test",
new NewsletterPreferenceDefinition(
new LocalizableString(typeof(NewslatterCheckResource), "TestDisplayName"),
new LocalizableString(typeof(NewslatterCheckResource), "JoinOurTestNewsletter"),
new LocalizableString(typeof(NewslatterCheckResource), "TestPrivacyPolicyConfirmation")
)
);
})
5-) Add the NewsletterViewComponent
to a page in the **.Web.Public
project as below:
@await Component.InvokeAsync(
typeof(NewsletterViewComponent),
new
{
preference = "Test",
source = "Footer",
requestAdditionalPreferencesLater = false
})
Result:
Is there anything I missed?
If it doesn't work when you do these steps. Please let me know.
You can override EmailConfirmationLink.tpl
for email confirmation.
Full path: Volo.AbpIo.Account.Application/Volo/Abp/Account/Emailing/Templates/EmailConfirmationLink.tpl
Change PhoneConfirmationSms
localization value for phone number confirmation.
If an exception implements the IUserFriendlyException interface, then ABP does not change it's Message and Details properties and directly send it to the client.
You can use UserFriendlyException
for this. For more information, I recommend you look here.
Hi,
I believe you will find the answer you are looking for here. See: https://github.com/abpframework/abp/issues/10662#issuecomment-972765041
Hi,
See: https://support.abp.io/QA/Questions/3320/how-can-I-get-Mastering-ABP-Framework-e-book#answer-49debffe-e035-e3c0-569e-3a04b4cd54d4
Definitely! 🥳🥳
Hello,
We don't think about it anytime soon due to some compromises. But, if we find a method that scales better, we will do it.
If you want to implement something like this yourself, you can take inspiration from this article.
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));
});