Hi, this problem is related to the Google SMTP server and it's not related to ABP. So, please search it on Google.
Probably, you need to setup your application's IP address to the Google SMTP server.
Also, you can check: https://support.google.com/a/answer/176600?hl=en#zippy=%2Cuse-the-gmail-smtp-server
Hi, ABP Tag Helpers are for MVC / Razor Pages applications only.
See: https://docs.abp.io/en/abp/latest/UI/AspNetCore/Tag-Helpers/Index#abp-tag-helpers
Hi,
Also, i think it would be worth cleaning the project template when you select LeptonX as there is still stuff that seems to be for Lepton only such as :
Im trying to change the leptonx logo in order to put our own one. I cant find any docs about this (i do find for lepton, but not for leptonx) nor find where in the code it should be done?
To change the logos you can use the following code block in your CSS file (global-styles.css):
/* for dim and dark theme styles */
:root .lpx-theme-dim, :root .lpx-theme-dark {
--lpx-logo: url('/images/logo/logo-light.png');
--lpx-logo-icon: url('/images/logo/logo-light-thumbnail.png');
}
/* for light theme style */
:root .lpx-theme-light, :root .lpx-brand-logo {
--lpx-logo: url('/images/logo/logo-dark.png');
--lpx-logo-icon: url('/images/logo/logo-dark-thumbnail.png');
}
Hi @maksym, I'll try to reproduce the problem and write you back asap.
Hi, I guess you've created a new module and want to use the ISettingManager
on it, right?
If so, please ensure you added the related depends on statement to your module class (ensure your domain module depends on the AbpSettingManagementDomainModule
([DependsOn(typeof(AbpSettingManagementDomainModule))])).
I scraped the information together from issues from others. It works, but I don't understand everything yet (e.g. generating the SigningKey & EncryptionKey)
Hi, can you see this comment and apply it in your module class.
Hi, this problem is related to the certificatation. You need to set the AddDevelopmentEncryptionAndSigningCertificate as false and also set encryption and signing certificates for your application.
So, open your module class and add the below code:
public override void PreConfigureServices(ServiceConfigurationContext context)
{
var hostingEnvironment = context.Services.GetHostingEnvironment();
if (!hostingEnvironment.IsDevelopment())
{
PreConfigure<AbpOpenIddictAspNetCoreOptions>(options =>
{
options.AddDevelopmentEncryptionAndSigningCertificate = false;
});
PreConfigure<OpenIddictServerBuilder>(builder =>
{
// In production, it is recommended to use two RSA certificates, one for encryption, one for signing.
builder.AddEncryptionCertificate(GetSigningCertificate(hostingEnvironment, context.Services.GetConfiguration()));
builder.AddSigningCertificate(GetSigningCertificate(hostingEnvironment, context.Services.GetConfiguration()));
});
}
}
private X509Certificate2 GetSigningCertificate(IWebHostEnvironment hostingEnv, IConfiguration configuration)
{
var fileName = configuration["MyAppCertificate:X590:FileName"]; //*.pfx
var passPhrase = configuration["MyAppCertificate:X590:PassPhrase"]; // pass phrase (XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)
var file = Path.Combine(hostingEnv.ContentRootPath, fileName);
if (!File.Exists(file))
{
throw new FileNotFoundException($"Signing Certificate couldn't found: {file}");
}
return new X509Certificate2(file, passPhrase);
}
The self-signed certificates were generated based on the documentation available on https://documentation.openiddict.com/configuration/encryption-and-signing-credentials.html.
I guess that normally there would not be a new version available to update to without all the needed packages also being available and released?
Sometimes there might problems with releases of packages and therefore some services could not be used for a matter of time. But normally as you said updates should not be available until all packages are released.
I'm refunding your ticket and closing the question since it's fixed.
Best regards.
I went through the documentation you suggested but it requires Entity Framework Core .cs file which I won't be having in template downloaded to setup from https://docs.abp.io/en/abp/latest/Apps/VoloDocs
VoloDocs is a self-contained application, which only can be run without modification of code (you can think it as a sample application. So, if you want to use the Docs Module of ABP Framework and change the database provider as PostgreSQL, you need to create a template with PostgreSQL as database provider and then add the Docs Module to your application:
1-) Creating a template with PostgreSQL as database provider :
abp new Acme.BookStore --database-management-system PostgreSQL
2-) Add Docs Module into your application:
abp add-module Volo.Docs
Then, you can use the Docs Module with PostgreSQL. But as i said, it's not possible with self-contained VoloDocs application.