Skip to content
View brienjuma's full-sized avatar
🎯
🎯
  • SunPro Systems Limited
  • NAIROBI,KENYA
  • 10:52 (UTC +03:00)

Block or report brienjuma

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
brienjuma/README.md

Adventurous C# Hobbyist 😉

Let's connect 🙂

Pinned Loading

  1. Using Keyed Services in ASP.NET Core... Using Keyed Services in ASP.NET Core to manage multiple implementations of an interface starting in .NET 8.
    1
    // option 1: From Keyed Services attribute
    2
    public partial class Payment : ComponentBase
    3
    {
    4
        [Inject, FromKeyedServices("PayPal")]
    5
        public IPaymentService PaymentService { get; set; } = default!;
  2. Access ClaimsPrincipal in a Blazor C... Access ClaimsPrincipal in a Blazor Component
    1
    @page "/user-info"
    2
    @inject AuthenticationStateProvider AuthenticationStateProvider
    3
    
                  
    4
    <h3>User Information</h3>
    5