Ends in:
7 DAYS
10 HRS
31 MIN
58 SEC
Ends in:
7 D
10 H
31 M
58 S

Activities of "safi"

Hi

I have updated my abp and .net framework versions to latest one like 4.4.3 abp versions to 5.3 with .net 6. Swagger is working fine but getting error while running blazor project. Please see the below screenshot for the same.

  • ABP Framework version: v5.3
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:" Updated abp and .net framework to .net 6

Please solve my problem.

Thanks,

Hi

I am using 4.4.3 abp version and wanted to remove you are successfully screen and show login screen just after logout currently after logout click it shows you are successfully screen for 1-2 mins and after that it goes to redirect into login screen so Is it possible to remove this screen?

  • ABP Framework version: v4.4.3
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi

I am using abp old version i.e 4.4.3 in my project. I am facing one issue here remember me functionality is not working for this. I have customized login page but added all code there too. This is my post and get method.

Please tell me what I am doing wrong here

   public virtual async Task OnGetAsync()
        {
            LoginInput = new LoginInputModel();
            if (!ErrorMessage.IsNullOrWhiteSpace())
            {
                Alerts.Danger(ErrorMessage);
            }
            Input = new PostInput();
            Forgot = new ForgotPasswordModel();

            EnableLocalLogin = await SettingProvider.IsTrueAsync(AccountSettingNames.EnableLocalLogin);
            IsSelfRegistrationEnabled = await SettingProvider.IsTrueAsync(AccountSettingNames.IsSelfRegistrationEnabled);

            UseCaptcha = await UseCaptchaOnLoginAsync();

            if (IsExternalLoginOnly)
            {
                //return await ExternalLogin(vm.ExternalLoginScheme, returnUrl);
                throw new NotImplementedException();
            }

            IsLinkLogin = await VerifyLinkTokenAsync();
        }
 public virtual async Task<IActionResult> OnPostAsync(string action)
        {

            try
            {
                // ValidateModel();
                var blazorUrl = _configuration.GetSection("App")["RedirectAllowedUrls"];


                await IdentityOptions.SetAsync();

                ExternalProviders = await GetExternalProviders();

                EnableLocalLogin = await SettingProvider.IsTrueAsync(AccountSettingNames.EnableLocalLogin);
                IsSelfRegistrationEnabled = await SettingProvider.IsTrueAsync(AccountSettingNames.IsSelfRegistrationEnabled);

                await ReplaceEmailToUsernameOfInputIfNeeds();

                IsLinkLogin = await VerifyLinkTokenAsync();

                var result = await SignInManager.PasswordSignInAsync(
                    LoginInput.UserNameOrEmailAddress,
                    LoginInput.Password,
                    LoginInput.RememberMe,
                    true
                );

                await IdentitySecurityLogManager.SaveAsync(new IdentitySecurityLogContext
                {
                    Identity = IdentitySecurityLogIdentityConsts.Identity,
                    Action = result.ToIdentitySecurityLogAction(),
                    UserName = LoginInput.UserNameOrEmailAddress
                });

                if (result.RequiresTwoFactor)
                {
                    return RedirectToPage("./SendSecurityCode", new
                    {
                        returnUrl = ReturnUrl,
                        returnUrlHash = ReturnUrlHash,
                        rememberMe = LoginInput.RememberMe,
                        linkUserId = LinkUserId,
                        linkTenantId = LinkTenantId,
                        linkToken = LinkToken
                    });
                }

                if (result.IsLockedOut)
                {
                    Alerts.Warning(L["UserLockedOutMessage"]);
                    return Page();
                }

                if (result.IsNotAllowed)
                {
                    Alerts.Warning(L["LoginIsNotAllowed"]);
                    return Page();
                }

                if (!result.Succeeded)
                {
                    Alerts.Danger(L["InvalidUserNameOrPassword"]);
                    return Page();
                }

                //TODO: Find a way of getting user's id from the logged in user and do not query it again like that!
                var user = await UserManager.FindByNameAsync(LoginInput.UserNameOrEmailAddress) ??
                           await UserManager.FindByEmailAsync(LoginInput.UserNameOrEmailAddress);

                Debug.Assert(user != null, nameof(user) + " != null");

                if (IsLinkLogin)
                {
                    using (CurrentPrincipalAccessor.Change(await SignInManager.CreateUserPrincipalAsync(user)))
                    {
                        await IdentityLinkUserAppService.LinkAsync(new LinkUserInput
                        {
                            UserId = LinkUserId.Value,
                            TenantId = LinkTenantId,
                            Token = LinkToken
                        });
                    }
                }
                if (ReturnUrl == null && ReturnUrlHash == null)
                {
                    if (result.Succeeded)
                    {
                        return RedirectSafely(blazorUrl, ReturnUrlHash);
                    }
                 
            }
            }
           catch(Exception ex)
            {
                Logger.LogWarning("login"+ ex.InnerException.Message);

            }
            
            return RedirectSafely(ReturnUrl, ReturnUrlHash);
        }

Hi

I have run abp bundle command so it's showing script and styles bundled and I can see changes in my index.html file as well but If I run site so in browser no changes are done like it's not reducing js or css calls.

  • ABP Framework version: v4.4.3
  • UI type:Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi

I am using blazor server app and in this I can see there is no host project but in webassembly we have this. So can u pls guide me how can I customize default pages in blazor server.

The problem is I have my webassembly project and my client wants to change into server for speed issue so I am merging my code there.

  • ABP Framework version: v5.2.2
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi

As we know webassembly is slow so my client wants to convert it to server so can you please guide me for this.

  • ABP Framework version: v4.4.3
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi

I want to add functionality to choose only one role. Currently we can choose more that one in user creation popup so can you please suggest how we can do this.

  • ABP Framework version: v4.43
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi

I want to show not data available if no records come. I am using Abp 4.4.3 and want to show in blazorise datagrid.

  • ABP Framework version: v4.4.3
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

Hi

I am using Abp 4.4 3 and all things are working fine. I am facing one issue like sometimes when we refresh page that time we see some different icons in menu bar so could you please let me know why I am getting this or how I can resolve this issue.

Please see the below screenshot for the same.

  • ABP Framework version: v4.43
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Thanks,

Hi

Can we show manage profile page in same page without show in new tab. Please see the below screenshot for the same.

  • ABP Framework version: v4.4.3
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
Showing 1 to 10 of 61 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06