Activities of "maliming"

Answer

hi @thanhvl1@fsoft.com.vn

Can you create a project that reproduce the problem?

You can send it to me. liming.ma@volosoft.com

how to test a service which requires a feature?

You can mock the IFeatureStore service. (https://github.com/abpframework/abp/blob/dev/framework/test/Volo.Abp.Features.Tests/Volo/Abp/Features/TestFeatureStore.cs#L9)

When a feature has permissions associated with it, how do I only show the permissions when it is enabled for a tenant? I added a feature check before adding the permissions in the Permission definition provider, but this causes errors if you log out of a tenant who has the feature and then log into a client which does have the feature. The call to AbpConfiguration is not reset and the permissions are not listed there. Is there an example available for how to correctly hide permissions behind a feature

I don't quite understand, Can you share some code?

hi

405 Method not Allowed

https://mozartec.com/asp-net-core-error-405-methods-not-allowed-for-put-and-delete-requests-when-hosted-on-iis/

Answer

hi

You can try to use Data-Filtering

https://docs.abp.io/en/abp/latest/Data-Filtering#entityframework-core

hi nparejod

I suggest you wait for Blazor's implementation.

You can also refer to the implementation of MVC. https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Users/CreateModal.cshtml#L32

hi @ademaygun

I can't reproduce your problem. Can you create a new question, and share details?

@ademaygun

We plan to implement related features in v4.3.

hi thanhvl1

You can't be automatically redirected to a specific page after successful login in Angular.

hi

I have created one demo commercial application, in email verification when i click verify, it shows me email send successfully but i didn't received mail.

You can check the content of the email in the logs. You can remove such code in the XXX_DomainModule.

#if DEBUG
            context.Services.Replace(ServiceDescriptor.Singleton<IEmailSender, NullEmailSender>());
#endif

hi

JWT is platform independent. I think there is no problem if the JwtBearerAuthenticationOptions of net framework and the JwtBearerOptions of net core are compatible. You need to make sure that the TokenValidationParameters parameters are consistent.

https://docs.microsoft.com/en-us/dotnet/api/microsoft.owin.security.jwt.jwtbearerauthenticationoptions https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.authentication.jwtbearer.jwtbeareroptions?view=aspnetcore-5.0

When you get any error, you can check the log to see detail message of UseJwtBearerAuthentication.

Zobrazeno od 6571 do 6580 z celkem 6844 záznamů
Made with ❤️ on ABP v8.2.0-preview Updated on března 25, 2024, 15:11