RhoMicro.HotterReload
1.0.2
Prefix Reserved
dotnet add package RhoMicro.HotterReload --version 1.0.2
NuGet\Install-Package RhoMicro.HotterReload -Version 1.0.2
<PackageReference Include="RhoMicro.HotterReload" Version="1.0.2" />
<PackageVersion Include="RhoMicro.HotterReload" Version="1.0.2" />
<PackageReference Include="RhoMicro.HotterReload" />
paket add RhoMicro.HotterReload --version 1.0.2
#r "nuget: RhoMicro.HotterReload, 1.0.2"
#:package RhoMicro.HotterReload@1.0.2
#addin nuget:?package=RhoMicro.HotterReload&version=1.0.2
#tool nuget:?package=RhoMicro.HotterReload&version=1.0.2
RhoMicro.HotterReload
Integrates dotnet hot reload events into service collections.
Installation
<ItemGroup>
<PackageReference Update="RhoMicro.HotterReload" Version="1.0.0" />
</ItemGroup>
Use
Add hot reload services to a service collection:
var hotReloadBuilder = services.AddHotReload();
On the returned builder, use the various overloads of AddHandler
to register handlers for hot reload events:
In order to initialize the hot reload integration, resolve the IHotReloadServiceInitializer
and invoke its Initialize
method:
serviceProvider.GetRequiredService<IHotReloadServiceInitializer>().Initialize();
When added to a service collection on a host builder such as the WebApplicationBuilder
, this step is not necessary.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. 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. |
-
net8.0
- Microsoft.Extensions.DependencyInjection.AutoActivation (>= 8.10.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.3)
-
net9.0
NuGet packages (2)
Showing the top 2 NuGet packages that depend on RhoMicro.HotterReload:
Package | Downloads |
---|---|
RhoMicro.BindSight
Package Description |
|
RhoMicro.OptionsDocs
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.