Skip to content

Hot Restart for ASP.NET Core during inner-loop #27270

Open
@mkArtakMSFT

Description

@mkArtakMSFT

Keep process alive between application "restarts" in the inner-loop.

Some considerations:

  • Keeping client connections alive/queued while app restarts so browser doesn't show an error
  • Implementing at the native host level (Kestrel/IIS Express)
  • Implementing at the managed host level (startup hooks, AssemblyLoadContext)
  • Implementing at the Host API level (generic host)
  • Avoiding reprocessing of server bindings between restarts
  • Avoiding reconstruction of the IoC container between restarts
  • Avoiding rebuilding the route table between restarts
  • Which component is letting us know the app needs to be restarted? (dotnet watch, IDE, etc.)
  • How do we get the new assemblies for the app that needs to be restarted? Read from disk in usual location assuming a standard build (or some other compilation) has taken place? Receive assemblies as bytes via IPC?

Metadata

Metadata

Assignees

No one assigned

    Labels

    EpicGroups multiple user stories. Can be grouped under a theme.Priority:1Work that is critical for the release, but we could probably ship withoutTheme: inner-loopaffected-mostThis issue impacts most of the customersarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-platformDeprecated: Cross-cutting issues related to ASP.NET Core as a platformseverity-majorThis label is used by an internal tool

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions