docs
docs copied to clipboard
Write a custom .NET host to control the .NET runtime from your native code
Type of issue
Missing information
Description
Missing information and code examples how to close and clean-up after the host usages. Two successive host loads and inits performed like in the article don't work. I apply this scenario in cases when native code may require invoke the managed code from time to time several times. So correct and full unload of the host would be great.
Page URL
https://learn.microsoft.com/en-us/dotnet/core/tutorials/netcore-hosting
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/tutorials/netcore-hosting.md
Document Version Independent Id
a98926cc-64ab-2911-e4b8-1eaf4573dfe4
Article author
@mjrousos
Metadata
- ID: 83da7030-b5f1-72ad-71f6-424ff45b8b7f
- Service: dotnet-fundamentals