Creating a New Application of type Real Estate Blazor Website Using RBS 1.69.1 results in many pages failing to render in the RBS IDE.
The error reported is
Creating a New Application of type Real Estate Blazor Website Using RBS 1.69.1 results in many pages failing to render in the RBS IDE.
The error reported is
Hi @mumfie,
Reproduced and will be addressed with the next release. As a workaround you can edit RealEstateDbService.Partial.cs and wrap the code with #if !RADZEN:
public RealEstateDBService(RealEstateDBContext context,
NavigationManager navigationManager,
IHttpContextAccessor httpContextAccessor,
ApplicationIdentityDbContext identityDbContext)
{
this.context = context;
this.navigationManager = navigationManager;
var userId = httpContextAccessor.HttpContext.User.FindFirstValue(ClaimTypes.NameIdentifier);
#if !RADZEN
user = identityDbContext.Users.FirstOrDefault(u => u.Id == userId);
#endif
}
Thanks. That fixed it.