Author

Store does not implement IUserRoleStore

When configuring Blazor Identity … Error: NotSupportedException: Store does not implement IUserRoleStore<TUser>. var roles = await _signInManager.UserManager.GetRolesAsync(user); Fix: Add .AddRoles<IdentityRole>() to Configuration of Startup.cs

ASP.NET Core Blazor authentication and authorization

ASP.NET Core supports the configuration and management of security in Blazor apps. Security scenarios differ between Blazor Server and Blazor WebAssembly apps. Because Blazor Server apps run on the server, authorization checks are able to determine: The UI options presented to a user (for example, which menu entries are available to a user). Access rules... » read more

Securing Blazor WebAssembly with Identity Server 4

The new Blazor WebAssembly 3.2.0 includes support to client side authentication, which makes relatively simple to implement OpenID Connect and OAuth2 in your single page application. In other words, it means that we can finally build applications with the most recent industry standards in terms of security, enabling complex authentication scenarios and integrating them with the most widely used identity providers out there. Speaking of identity providers,... » read more

Integrate Reporting Services Using the Report Viewer Controls

The Report Viewer controls can be used to integrate Reporting Services RDL reports into WebForms and WinForms apps.  Install the Report Viewer control NuGet package via the NuGet package manager console. .aspx page Authentication with Report Server https://stackoverflow.com/questions/671694/passing-credentials-to-sql-report-server-2008 CustomReportCredentials.cs Sources: https://docs.microsoft.com/en-us/sql/reporting-services/application-integration/integrating-reporting-services-using-reportviewer-controls-get-started?view=sql-server-ver15

Setting up Identity Roles

We need to add the role specific services to our application. To do this, we need to update the code in the ConfigureServices method of the Startup class. The IdentityRole type is the default role type provided by ASP.NET Core Identity. But you can provide a different type if it doesn’t fit your requirements. Next, we’re going to seed our database... » read more

Create a gRPC client and server in ASP.NET Core

Warning ASP.NET Core gRPC is not currently supported on Azure App Service or IIS. The HTTP/2 implementation of Http.Sys does not support HTTP response trailing headers which gRPC relies on. For more information, see this GitHub issue. Sources: Create a .NET Core gRPC client and server in ASP.NET Core | Microsoft Docs