Open Closed

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


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

Hi,

I am working in abp.io project with blazor at the front end. I would not like to use the default register.cshtml page provided in abp.io 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)
  • 0
    alper created
    Support Team

    in this article it shows how to customize the login page. similar to your requirement https://community.abp.io/articles/how-to-customize-the-login-page-of-an-abp-blazor-application-by4o9yms