Shiny.Extensions.Stores.Web
                               
                            
                                1.0.0-alpha-0020
                            
                        
                            
                                
                                
                                    Prefix Reserved
                                
                            
                    
        
        
                                This is a prerelease version of Shiny.Extensions.Stores.Web.
                            
    
    
        
        
                                There is a newer version of this package available.
                                
See the version list below for details.
                    See the version list below for details.
dotnet add package Shiny.Extensions.Stores.Web --version 1.0.0-alpha-0020
NuGet\Install-Package Shiny.Extensions.Stores.Web -Version 1.0.0-alpha-0020
        
        
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
                    
    
    <PackageReference Include="Shiny.Extensions.Stores.Web" Version="1.0.0-alpha-0020" />
        
        
For projects that support PackageReference, copy this XML node into the project file to reference the package.
                    
    
    <PackageVersion Include="Shiny.Extensions.Stores.Web" Version="1.0.0-alpha-0020" />
<PackageReference Include="Shiny.Extensions.Stores.Web" />
        
        
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
                    
    
    paket add Shiny.Extensions.Stores.Web --version 1.0.0-alpha-0020
        
        
 The NuGet Team does not provide support for this client. Please contact its maintainers for support.
                    
    
    #r "nuget: Shiny.Extensions.Stores.Web, 1.0.0-alpha-0020"
        
        
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
                    
    
    #:package Shiny.Extensions.Stores.Web@1.0.0-alpha-0020
        
        
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
                    
    
    #addin nuget:?package=Shiny.Extensions.Stores.Web&version=1.0.0-alpha-0020&prerelease
#tool nuget:?package=Shiny.Extensions.Stores.Web&version=1.0.0-alpha-0020&prerelease
        
        
 The NuGet Team does not provide support for this client. Please contact its maintainers for support.
                    
    
    Shiny Extensions
Dependency Injection Extensions
- Source generate all attributed classes to a single add file - saves you the boilerplate
 - Extension methods for registering a dependency against multiple interfaces
 - Extension methods for startup tasks (different to hosted services that don't work on mobile)
 - Supports multiple interfaces
 - Supports open generics
 - Supports keyed services
 
THIS:
using Microsoft.Extensions.DependencyInjection;
using Shiny.Extensions.DependencyInjection;
// given the following code from a user
namespace Sample
{
    public interface IStandardInterface;
    public interface IStandardInterface2;
    [Service(ServiceLifetime.Singleton)]
    public class ImplementationOnly;
    [Service(ServiceLifetime.Transient, "ImplOnly")]
    public class KeyedImplementationOnly;
    [Service(ServiceLifetime.Singleton)]
    public class StandardImplementation : IStandardInterface;
    [Service(ServiceLifetime.Scoped, "Standard")]
    public class KeyedStandardImplementation : IStandardInterface;
    [Service(ServiceLifetime.Singleton)]
    public class MultipleImplementation : IStandardInterface, IStandardInterface2;
    [Service(ServiceLifetime.Scoped)]
    public class ScopedMultipleImplementation : IStandardInterface, IStandardInterface2;
    [Service(ServiceLifetime.Scoped, "KeyedGeneric")]
    public class TestGeneric<T1, T2>
    {
        public T1 Value1 { get; set; }
        public T2 Value2 { get; set; }
    }
}
GENERATES THIS:
// <auto-generated />
using global::Microsoft.Extensions.DependencyInjection;
using global::Shiny.Extensions.DependencyInjection;
namespace Sample
{
    public static class __GeneratedRegistrations
    {
        public static global::Microsoft.Extensions.DependencyInjection.IServiceCollection AddGeneratedServices(
            this global::Microsoft.Extensions.DependencyInjection.IServiceCollection services
        )
        {
            services.AddSingleton<global::Sample.ImplementationOnly>();
            services.AddKeyedTransient<global::Sample.KeyedImplementationOnly>("ImplOnly");
            services.AddSingleton<global::Sample.IStandardInterface, global::Sample.StandardImplementation>();
            services.AddKeyedScoped<global::Sample.IStandardInterface, global::Sample.KeyedStandardImplementation>("Standard");
            services.AddSingletonAsImplementedInterfaces<global::Sample.MultipleImplementation>();
            services.AddScopedAsImplementedInterfaces<global::Sample.ScopedMultipleImplementation>();
            services.AddKeyedScoped(typeof(global::Sample.TestGeneric<,>), "KeyedGeneric");
            return services;
        }
    }
}
Stores
- Key/value store with support for
- Android/iOS/Windows - Preferences & Secure Storage
 - Web - Local Storage & Session Storage
 - In Memory
 
 - Object binder binds INotifyPropertyChanged against a key/value store to persist object changes across sessions
 - Simply implement IKeyValueStore to create your own store
 
Web Hosting Extensions
- Merges service container build and post build scenarios into a single class
 - All IInfrastructureModule implementations are automatically detected and run
 
Additional Libraries Used
- Shiny Reflector - Reflection without the actual reflection
 
| Product | Versions Compatible and additional computed target framework versions. | 
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. | 
        
        Compatible target framework(s)
    
    
        
        Included target framework(s) (in package)
    
    Learn more about Target Frameworks and .NET Standard.
- 
                                                    
net9.0
- Microsoft.AspNetCore.Components.Web (>= 9.0.0)
 - Shiny.Extensions.Stores (>= 1.0.0-alpha-0020)
 
 
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | 
|---|---|---|
| 2.0.0-beta-0001 | 155 | 10/19/2025 | 
| 1.3.1 | 206 | 9/20/2025 | 
| 1.3.1-beta-0001 | 200 | 9/20/2025 | 
| 1.3.0 | 302 | 9/16/2025 | 
| 1.3.0-beta-0009 | 156 | 8/11/2025 | 
| 1.3.0-beta-0008 | 139 | 7/28/2025 | 
| 1.3.0-beta-0007 | 132 | 7/28/2025 | 
| 1.3.0-beta-0006 | 299 | 7/26/2025 | 
| 1.3.0-beta-0004 | 486 | 7/24/2025 | 
| 1.3.0-beta-0003 | 160 | 7/15/2025 | 
| 1.3.0-beta-0002 | 150 | 7/15/2025 | 
| 1.3.0-beta-0001 | 164 | 7/15/2025 | 
| 1.2.2 | 150 | 7/28/2025 | 
| 1.2.1 | 167 | 7/15/2025 | 
| 1.2.0 | 162 | 7/15/2025 | 
| 1.2.0-beta-0001 | 157 | 7/15/2025 | 
| 1.1.0 | 168 | 7/13/2025 | 
| 1.1.0-beta-0009 | 121 | 7/12/2025 | 
| 1.1.0-beta-0008 | 91 | 7/11/2025 | 
| 1.1.0-beta-0007 | 163 | 7/7/2025 | 
| 1.1.0-beta-0006 | 159 | 7/6/2025 | 
| 1.1.0-beta-0004 | 109 | 7/4/2025 | 
| 1.1.0-beta-0003 | 117 | 7/4/2025 | 
| 1.1.0-beta-0002 | 142 | 7/4/2025 | 
| 1.0.3 | 165 | 7/7/2025 | 
| 1.0.2 | 115 | 7/4/2025 | 
| 1.0.1 | 150 | 7/4/2025 | 
| 1.0.0 | 171 | 7/3/2025 | 
| 1.0.0-g5fce6b880d | 167 | 7/3/2025 | 
| 1.0.0-alpha-0020 | 165 | 7/2/2025 | 
| 1.0.0-alpha-0019 | 155 | 7/1/2025 | 
| 1.0.0-alpha-0018 | 163 | 7/1/2025 | 
| 1.0.0-alpha-0017 | 158 | 7/1/2025 | 
| 1.0.0-alpha-0016 | 161 | 7/1/2025 | 
| 1.0.0-alpha-0015 | 169 | 7/1/2025 | 
| 1.0.0-alpha-0014 | 154 | 7/1/2025 | 
| 1.0.0-alpha-0013 | 156 | 7/1/2025 | 
| 1.0.0-alpha-0011 | 165 | 7/1/2025 | 
| 1.0.0-alpha-0010 | 164 | 7/1/2025 | 
| 1.0.0-alpha-0009 | 162 | 7/1/2025 |