Starts in:
2 DAYS
10 HRS
49 MIN
53 SEC
Starts in:
2 D
10 H
49 M
53 S

Activities of "joerguth"

Perfect, thanks

Thank you,

just to be sure, then only inject ICurrentTenantInfo in the ctors? to use it.

Regards

I have a similar problem that no menu items are loaded after successful login.

The change to MauiBlazorAccessTokenStore was also made.

According to the output, the authorization failed, apparently the IdentityClientConfiguration is missing: Maybe the problem of ezamer is based on the same issue.

MauiBlazors output fom WindowsClient.

Volo.Abp.IdentityModel.IdentityModelAuthenticationService: Warning: Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.

System.Net.Http.HttpClient.AbpMvcClient.LogicalHandler: Information: Start processing HTTP request GET https://localhost:44375/api/abp/application-localization?CultureName=de-DE&OnlyDynamics=True&api-version=1.0 System.Net.Http.HttpClient.AbpMvcClient.ClientHandler: Information: Sending HTTP request GET https://localhost:44375/api/abp/application-localization?CultureName=de-DE&OnlyDynamics=True&api-version=1.0 System.Net.Http.HttpClient.AbpMvcClient.ClientHandler: Information: Received HTTP response headers after 7.2178ms - 200 System.Net.Http.HttpClient.AbpMvcClient.LogicalHandler: Information: End processing HTTP request after 11.5225ms - 200

Microsoft.AspNetCore.Authorization.DefaultAuthorizationService: Information: Authorization failed. These requirements were not met: PermissionRequirement: SettingManagement.Emailing Microsoft.AspNetCore.Authorization.DefaultAuthorizationService: Information: Authorization failed. These requirements were not met: PermissionRequirement: SettingManagement.TimeZone Microsoft.AspNetCore.Authorization.DefaultAuthorizationService: Information: Authorization failed. These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement Microsoft.AspNetCore.Authorization.DefaultAuthorizationService: Information: Authorization failed. These requirements were not met: PermissionRequirement: AbpIdentity.SettingManagement Microsoft.AspNetCore.Authorization.DefaultAuthorizationService: Information: Authorization failed. These requirements were not met:

Hello again. After I read that version 7.2.1 was released, I updated abp cli and suite. At startup I was prompted to log in, so far so good. But after successful login the token seems not to be read.

ABP CLI 7.2.1

abp login myusername Successfully logged in as 'myusername'

abp suite Please login with your account

abp login-info ABP CLI 7.2.1

Login info: Name: Surname: Username: Email Address: Organization:

BlazorWasm abp bundle throws an Exeption:

ABP CLI 7.2.0-rc.2 Generating style bundle... Style bundle has been generated successfully. Generating script bundle... Script bundle has been generated successfully. StartIndex cannot be less than zero. (Parameter 'startIndex') System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. (Parameter 'startIndex') at System.String.Remove(Int32 startIndex, Int32 count) at Volo.Abp.Cli.Bundling.BundlingService.UpdatePlaceholders(String content, String placeholderStart, String placeholderEnd, String definitions) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlingService.cs:line 186 at Volo.Abp.Cli.Bundling.BundlingService.UpdateDependenciesInHtmlFileAsync(String directory, String styleDefinitions, String scriptDefinitions) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlingService.cs:line 169 at Volo.Abp.Cli.Bundling.BundlingService.BundleAsync(String directory, Boolean forceBuild, String projectType) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlingService.cs:line 107 at Volo.Abp.Cli.Commands.BundleCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\BundleCommand.cs:line 47 at Volo.Abp.Cli.CliService.RunInternalAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 169 at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 77

Version="2.2.- works thanks

Thanks i will wait until it is available and check it out

Sorry for posting this Ping Example it didnt work because it only works with the host without the ports. I am seeing two ways: 1.) with new System.Net.Sockets.TcpClient(); 2 ) with AddHttpClient and using Polly with AddTransientHttpErrorPolicy and AddPolicyHandler

Maybe this can help:

private async Task<bool> IsRemoteServiceUp(IAbpApplicationWithExternalServiceProvider abpApplication) 
    {
        var configuration = abpApplication.Services.GetConfiguration();
        var remoteServiceUri = configuration["RemoteServices:Default:BaseUrl"];

        if (remoteServiceUri == null)
        { 
            return false; 
        }
        var ping = new System.Net.NetworkInformation.Ping();
        var host = new Uri(remoteServiceUri).Host;

        var reply = await ping.SendPingAsync(host);

        return reply.Status == System.Net.NetworkInformation.IPStatus.Success;
    }

@liangshiwei meanwhile I have made the following changes: Reverted following code from template version 7.0.1, this works so far.

For what reason the template was changed?

App.xaml.cs ctor without calling InitializeAbpApplication

public App(
        IAbpApplicationWithExternalServiceProvider abpApplication,
        IServiceProvider serviceProvider)
    {
        InitializeComponent();
        // JU Workaround
         // InitializeAbpApplication(abpApplication, serviceProvider);
        MainPage = new MainPage();
    }

MauiProgram.cs

public static MauiApp CreateMauiApp()
{
 // snip
// JU Workaround
        // return builder.Build();
        var app = builder.Build();
        app.Services.GetRequiredService<IAbpApplicationWithExternalServiceProvider>().Initialize(app.Services);
        return app;
}
Showing 1 to 10 of 20 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06