Hi,
We will write a release log and migration guides for each major version, like : https://blog.abp.io/abp/ABP.IO-Platform-v4.0-RC-Has-Been-Released-based-on-.NET-5.0, https://docs.abp.io/en/abp/4.0/Migration-Guides/Abp-4_0
You need to pay attention to them.
Override Resolve and resolveAsync methods
Hi,
Can I check it remotely? shiwei.liang@volosoft.com
Hi,
I can't reproduce the problem. Can you use the CLI to create a simple project to reproduce?
Hi,
In 4.2.0 we started using asynchronous methods, try:
[Dependency(ReplaceServices = true)]
public class MyConnectionStringResolver : MultiTenantConnectionStringResolver
{
private readonly IStringEncryptionService _encryptionService;
public MyConnectionStringResolver(
IOptionsSnapshot<AbpDbConnectionOptions> options,
ICurrentTenant currentTenant,
IServiceProvider serviceProvider,
IStringEncryptionService encryptionService) : base(options, currentTenant, serviceProvider)
{
_encryptionService = encryptionService;
}
public override async Task<string> ResolveAsync(string connectionStringName = null)
{
var connectionString = await base.ResolveAsync(connectionStringName);
return _encryptionService.Decrypt(connectionString);
}
}
I will check it out
Hi,
Actually, Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial
is empty project, It just depends on the Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared
project.
So , You don't need take the source code of Lepton theme.
Some possible suggestions:
Long story short, Swashbuckle (or more specifically ASP.Net Core's ApiExplorer) does not support generation of descriptions for OData controllers
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/1951#issuecomment-758281116
Example project has been updated: https://github.com/realLiangshiwei/Qa727