Skip to content

Support custom apphosts #24334

Open
Open
@agocke

Description

@agocke

In dotnet/runtime, we offer native APIs (nethost) to create custom apphosts, but the SDK does not have a public entry point to support using your own custom apphost instead of the built-in copy.

There are also two pieces: apphosts and apphost templates. Apphost templates are what the runtime currently uses -- it's a binary which has particular magic numbers which are modified at publish time to allow customization. Supporting an apphost alone would likely mean that apphost authors would also need to write a publishing task to produce an appropriately customized apphost for their target.

For now we should start with allowing custom apphosts, and then broaden the feature to apphost templates, assuming we can create a well-defined and stable apphost template layout.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions