Activities of "maliming"

hi

using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using Owl.reCAPTCHA;
using Volo.Abp.Account.ExternalProviders;
using Volo.Abp.Account.Public.Web;
using Volo.Abp.Account.Public.Web.Pages.Account;
using Volo.Abp.Account.Security.Recaptcha;
using Volo.Abp.Account.Web.Pages.Account;
using Volo.Abp.DependencyInjection;
using Volo.Abp.OpenIddict;
using Volo.Abp.Security.Claims;

namespace MyCompanyName.MyProjectName.Web.Pages;


[ExposeServices(typeof(LoginModel), typeof(OpenIddictSupportedLoginModel))]
public class MyLogin : OpenIddictSupportedLoginModel
{
    public MyLogin(
        IAuthenticationSchemeProvider schemeProvider,
        IOptions<AbpAccountOptions> accountOptions,
        IAbpRecaptchaValidatorFactory recaptchaValidatorFactory,
        IAccountExternalProviderAppService accountExternalProviderAppService,
        ICurrentPrincipalAccessor currentPrincipalAccessor,
        IOptions<IdentityOptions> identityOptions,
        IOptionsSnapshot<reCAPTCHAOptions> reCaptchaOptions,
        AbpOpenIddictRequestHelper openIddictRequestHelper)
        : base(
        schemeProvider,
        accountOptions,
        recaptchaValidatorFactory,
        accountExternalProviderAppService,
        currentPrincipalAccessor,
        identityOptions,
        reCaptchaOptions,
        openIddictRequestHelper)
    {

    }

    public override Task<IActionResult> OnPostAsync(string action)
    {
        // Check the  LoginInput.UserNameOrEmailAddress,
        return base.OnPostAsync(action);
    }
}


ok, Can you add your test code to this repo?

I will try to fix it.

hi

https://github.com/ahmet-ulusoy/ForYou.Exchange/commit/918d0ec6b2ff1dfd3ddcb524e746dd55d35863a9

Thanks I will check it asap

hi

Can you reproduce this in a new MS template project?

Checking MS projects remotely is difficult.

hi

Can you share the project?

I will check it locally.

liming.ma@volosoft.com

hi

Let discuss this on https://support.abp.io/QA/Questions/7083/Error---integrate-VoloAbpBlobStoringAws-in-file-management-module

Thanks

Answer

hi

https://docs.abp.io/en/abp/latest/Exception-Handling

Automatic Exception Handling

AbpExceptionFilter handles an exception if any of the following conditions are met:

  • Exception is thrown by a controller action which returns an object result (not a view result).
  • The request is an AJAX request (X-Requested-With HTTP header value is XMLHttpRequest).
  • Client explicitly accepts the application/json content type (via accept HTTP header).
  • If the exception is handled it's automatically logged and a formatted JSON message is returned to the client.

If your page result is not an object result. You can use try-catch in your page method.

https://docs.abp.io/en/abp/latest/UI/AspNetCore/Page-Alerts

hi

Please clear all logs.txt and re-share the logs of all applications. Thanks.

https://wetransfer.com/ liming.ma@volosoft.com

hi

You should use the IBlobContainer interface.

But you can check the implementation of the IBlobContainer interface.

eg https://github.com/abpframework/abp/blob/dev/modules/blob-storing-database/src/Volo.Abp.BlobStoring.Database.Domain/Volo/Abp/BlobStoring/Database/DatabaseBlobProvider.cs#L99-L123

Showing 5001 to 5010 of 11531 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.