Skip to content

Conversation

richstokoe
Copy link
Contributor

@richstokoe richstokoe commented Jun 19, 2022

Orleans recently switched from a specialist SiloHostBuilder, which would construct a SiloHost, to use the generic host builder (Microsoft.Extensions.Hosting.HostBuilder), which constructs an IHost. The code sample does not compile as-is, which may dissuade newcomers to Orleans. this change advises to add the Microsoft.Extensions.Hosting nuget package and updates the code sample to include the using statement and changes the ISiloHost return type to IHost. Built and tested locally successfully.

Summary

Describe your changes here.

Fixes #29909

Orleans recently switched from a specialist SiloHostBuilder, which would construct a SiloHost, to use the generic host builder (Microsoft.Extensions.Hosting.HostBuilder), which constructs an IHost. The code sample does not compile as-is, which may dissuade newcomers to Orleans. this change advises to add the Microsoft.Extensions.Hosting nuget package and updates the code sample to include the using statement and changes the ISiloHost return type to IHost. Built and tested locally successfully.
@IEvangelist
Copy link
Member

This looks good to me, I just want to ensure that @ReubenBond has a chance to see it and approve it as well. Thank you

@IEvangelist IEvangelist added the okr-freshness OKR: Freshness of content label Jun 27, 2022
@ReubenBond
Copy link
Member

Looks good to me, thank you @richstokoe!

@IEvangelist IEvangelist enabled auto-merge (squash) June 28, 2022 14:28
@IEvangelist IEvangelist merged commit 0d7cb21 into dotnet:main Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
okr-freshness OKR: Freshness of content
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Outdated code in Minimal Orleans app tutorial
4 participants