Activities of "maliming"

Answer

hi

Copy the code and debug it.

https://github.com/abpframework/abp/blob/rel-5.0/framework/src/Volo.Abp.HangFire/Volo/Abp/Hangfire/AbpHangfireAuthorizationFilter.cs

hi

You can try to download the Account.Pro adn Identity.Pro modules to check the code.

Answer

How about this?

UseHangfireDashboard can't be next of UseConfiguredEndpoints.

app.UseAuthentication();
if (MultiTenancyConsts.IsEnabled)
{
    app.UseMultiTenancy();
}
app.UseAuthorization();

app.UseHangfireDashboard();
//app.UseHangfireDashboard("/hangfire",new DashboardOptions
//{
// AsyncAuthorization = new[] { new AbpHangfireAuthorizationFilter(requiredPermissionName: "hangfirePerm") }
//});

app.UseSwagger();
app.UseAbpSwaggerUI(options =>
{
    options.SwaggerEndpoint("/swagger/v1/swagger.json", "TiberVendor API");
    var configuration = context.GetConfiguration();
    options.OAuthClientId(configuration["AuthServer:SwaggerClientId"]);
    options.OAuthClientSecret(configuration["AuthServer:SwaggerClientSecret"]);
});
``

The moment I install the .NET 6.0 SDK (or VS2022) the project is not building anymore (without any change to the project).

Can you share a simple project with me? liming.ma@volosoft.com

Answer

hi

Please share the full code of your Startup class.

hi

Some URLs stored in the database. https://docs.abp.io/en/commercial/latest/guides/identityserver-deployment

Answer

hi There are some changes: https://docs.abp.io/en/abp/5.0/Background-Jobs-Hangfire#abphangfireauthorizationfilter

Answer

hi

This is by design for now.

You can override it if you needs

https://github.com/abpframework/abp/pull/11081/

hi

I will check and fix that. Thanks

Showing 6731 to 6740 of 8477 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11