Open Closed

How to create Register/SignUp a new user with a Blazor page in #737

User avatar
apoorva.lele created
  • ABP Framework version: v4.0.0
  • UI type: Blazor


I am working in project with blazor at the front end. I would not like to use the default register.cshtml page provided in and instead would like to use a set of pages in blazor to sign up a new user. So the user will fill details like firstname, lastname, email, password and some other details I want to capture over a set of 5 to 6 pages and then create a new user. I have made those pages in blazor. How can I create a new user in the AbpUser table with this new info ?

I have tried calling this method from the blazor app and have been succesfull in creating a new user. This method is called in the OnPostAsync of the register.cshtml razor page. I passed in the necessary details except for ReturnUrl, ReturnUrlHash and CaptchaResponse since they were not [Required].

Is this a viable solution or can something better be done?

Thank You

1 Answer(s)
  • User Avatar
    alper created
    Support Team

    in this article it shows how to customize the login page. similar to your requirement

Made with ❤️ on ABP v8.0.0 Updated on November 17, 2023, 08:43