Installation Guide for B2C User Management Razor Class Library

Prerequisites: Before installing the B2C User Management Razor Class Library, ensure that you have the following prerequisites:

  1. Microsoft .NET Framework installed (version 6 or higher).
  2. Access to an Azure B2C subscription.
  3. Basic understanding of .NET development and Azure B2C user management.

Installation Steps:

  • Download the B2C User Management Razor Class Library:
    • Visit our company website or download page to access the B2C User Management Razor Class Library.
    • Click on the download link/button to initiate the download process.
    • Save the downloaded file to a location on your computer.
  • Extract the Library Package:
    • Locate the downloaded B2C User Management Razor Class Library package (.zip file) on your computer.
    • Right-click on the package file and select “Extract All…”.
    • Choose a destination folder where you want to extract the files and click “Extract”.
  • Add the Library Reference to your .NET Project:
    • Open your .NET project in Visual Studio or your preferred IDE.
    • In the Solution Explorer, right-click on the project name and select “Add” > “Reference…”.
    • Click on the “Browse” button and navigate to the folder where you extracted the B2C User Management Razor Class Library files.
    • Select the appropriate DLL file (e.g., B2CUserManagement.dll) and click “Add” to include it as a reference in your project.
    • Click “OK” to save the changes.
  • Configure Azure B2C Connection Settings:
    • Open your project’s configuration file (e.g., appsettings.json) where you store application settings.
    • Add the necessary Azure B2C connection settings such as Tenant ID, Client ID, Client Secret, etc. These settings will be provided by your Azure B2C subscription.
    • Ensure that the connection settings are correctly configured to establish a connection with your Azure B2C tenant.
  • Build and Verify:
  • Build your .NET project to ensure that the B2C User Management Razor Class Library is successfully integrated.
  • Verify that there are no build errors related to the library reference or configuration settings.

Congratulations! You have successfully installed the B2C User Management Razor Class Library into your .NET project. You can now utilize its functionalities to manage users in Azure B2C, including viewing and updating custom extension attributes and properties. Refer to the User Manual for detailed instructions on using the library’s features.