Select theme:
Radzen Blazor Studio has replaced Radzen as the primary RAD tool for Blazor applications.
Radzen Blazor Studio offers a modern UI, enhanced features, and improved performance to streamline your development process.
The latest documentation for Radzen Blazor Studio is available here: https://www.radzen.com/blazor-studio/documentation/
Open Radzen Blazor Studio docsserver directory with Visual Studio Code).server\Authentication directory.server\Models\ApplicationUser.Custom.cs with the following content.using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
// Replace [ApplicationName] with the namespace of your Radzen application.
namespace [ApplicationName].Models
{
public partial class ApplicationUser
{
public string Country { get; set; }
}
}
server directory in a terminal.dotnet ef migrations add Country -c ApplicationIdentityDbContext. This will create an Entity Framework Core migration which at runtime will add a Country column to the AspNetUsers table. It will store the Country property values.If you haven't installed the EF Core tools before that command will fail. Run
dotnet tool install --global dotnet-efto install them.
In order to capture the values of the custom properties created in the previous step you have to update the user management pages.
Check the related article from our CRM application tutorial.
Radzen is free to use. You can also test the premium features for 15 days.
Start FreeSelect theme: