orleans icon indicating copy to clipboard operation
orleans copied to clipboard

HelloWorld Tutorial/sample needs a correction

Open alkreddy opened this issue 8 years ago • 3 comments

Hello,

The documentation of HelloWorld sample available at http://dotnet.github.io/orleans/Documentation/tutorials_and_samples/Hello-World.html needs a correction. The Improve this Doc link on the page is broken too

.Configure<EndpointOptions>(options => options.AdvertisedIPAddress = IPAddress.Loopback) .ConfigureLogging(logging => logging.AddConsole()); needs to be corrected to .Configure<EndpointOptions>(options => options.AdvertisedIPAddress = IPAddress.Loopback) .ConfigureApplicationParts(parts => parts.AddApplicationPart(typeof(HelloGrain).Assembly).WithReferences()) .ConfigureLogging(logging => logging.AddConsole());

With the missing statement related to adding the assembly that holds definition of the Grains, the documentation misses the point on how the SiloHost picks the grains to host

alkreddy avatar Oct 21 '18 15:10 alkreddy

thanks for reporting this. we are currently updating this sample in #5102 , I will let our doc writer know of this ! @JillHeaden

xiazen avatar Oct 22 '18 17:10 xiazen

@alkreddy @xiazen @sergeybykov The previous Hello World overview has been replaced with this one: http://dotnet.github.io/orleans/Documentation/tutorials_and_samples/overview_helloworld.html

I made sure that the sample code in this document has the correction you mentioned.

Also, the Improve this Document link should be working again. If it's not, please let me know.

If this issue ticket is resolved, would you mind closing it? Thank you!

JillHeaden avatar Dec 28 '18 15:12 JillHeaden

close due to inactivity and also resolved by new HelloWorld sample.

xiazen avatar Mar 18 '19 18:03 xiazen