com.gudang2go.Notification.Components 2.0.16

About Module

Gudang2Go Notification Components.

How to Use

  1. Add package

    dotnet add package com.gudang2go.Notification.Components
    
  2. Add http client into Program.cs

    builder.Services.[Use either WASM Client or Server Client based on your project]<IUserNotificationService, UserNotificationService>($"{baseUrl}/api/notification/v1");
    
  3. For WASM only

    • Create ClientAuth.cs then implement IClientAuth.cs
      public class ClientAuth : IClientAuth
      {
          private readonly IAccessTokenProvider _tokenProvider;
      
          public ClientAuth(IAccessTokenProvider tokenProvider)
          {
              _tokenProvider = tokenProvider;
          }
      
          public async Task<string?> GetAccessTokenAsync()
          {
              var tokenResult = await _tokenProvider.RequestAccessToken();
              if (tokenResult.TryGetToken(out var token))
              {
                  return token.Value;
              }
              return null;
          }
      }
      
    • Register it into Program.cs
      builder.Services.AddScoped<IClientAuth, ClientAuth>();
      
  4. Use the components, prefered in Navigation Bar

    <NotificationPopup />
    

Showing the top 20 packages that depend on com.gudang2go.Notification.Components.

Packages Downloads
com.gudang2go.UI
Gudang2go Reusable Razor UI Component.
4
com.gudang2go.UI
Gudang2go Reusable Razor UI Component.
2
com.gudang2go.UI
Gudang2go Reusable Razor UI Component.
1

Version Downloads Last updated
3.0.14 192 08/28/2026
3.0.13 25 08/08/2026
3.0.12 270 11/29/2025
3.0.11 1 11/28/2025
3.0.10 57 11/18/2025
3.0.9 33 11/14/2025
3.0.8 1 11/14/2025
3.0.7 2 11/14/2025
3.0.6 1 11/14/2025
3.0.5 1 11/14/2025
3.0.4 2 11/14/2025
3.0.3 3 11/14/2025
3.0.2 24 11/14/2025
3.0.1 2 11/14/2025
3.0.0 21 11/12/2025
2.0.18 72 10/31/2025
2.0.17 27 10/27/2025
2.0.16 2 10/27/2025
2.0.15 4 10/27/2025
2.0.14 3 10/27/2025
2.0.13 2 10/27/2025
2.0.12 2 10/27/2025
2.0.11 14 10/24/2025
2.0.10 1 10/24/2025
2.0.9 1 10/24/2025
2.0.8 10 10/24/2025
2.0.7 0 10/24/2025
2.0.6 0 10/23/2025
2.0.5 12 10/23/2025
2.0.4 1 10/22/2025
2.0.3 0 10/22/2025
2.0.2 0 10/22/2025
2.0.1 0 10/22/2025
2.0.0 1 10/21/2025