Hi,
You cannot change the return type in this way, you should to extending data transfer objects, see https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Overriding-Services#extending-data-transfer-objects
It is indeed sha256 and IdentityServer will use the HashedSharedSecretValidator
, You can custom a secret validator to validation.
Okey, now I understand your mean. It has nothing to do with abp, It is handled by identityserver. You can see : https://github.com/IdentityServer/IdentityServer4/blob/18897890ce/src/IdentityServer4/src/Validation/Default/SecretValidator.cs
Try:
secret: (configurationSection["MyProjectName_Web:ClientSecret"] ?? "E5Xd4yMqjP5kjWFKrYgySBju6JVfCzMyFp7n2QmMrME=*").Sha256()
Okey, I will give you a usable example
Hi,
abp vnext is different from the cache design of aspnetboilerplate, it continues the distributed cache design of aspnet core. currently there is no feature to cache groups
Hi,
Please see https://docs.abp.io/en/abp/latest/Object-Extensions
Hi, you can custom the code if you need.
public class MyJobFilterAttribute : JobFilterAttribute, IElectStateFilter
{
public void OnStateElection(ElectStateContext context)
{
if (context.CandidateState is EnqueuedState enqueuedState)
{
// you can custom if iyou need.
enqueuedState.Queue = "myqueue";
}
}
}
The filter will work on global. you don't need add attribute to method.