Particular / docs.particular.net

All content for ParticularDocs
https://docs.particular.net
Other
103 stars 302 forks source link

Feedback: 'NServiceBus Step-by-step: Getting started' #6889

Open BenHughesTPR opened 3 weeks ago

BenHughesTPR commented 3 weeks ago

Feedback for 'NServiceBus Step-by-step: Getting started' https://docs.particular.net/tutorials/nservicebus-step-by-step/1-getting-started/

Location in GitHub: https://github.com/Particular/docs.particular.net/blob/master/tutorials/nservicebus-step-by-step/1-getting-started/tutorial.md

Hi, there's an inconsistency in the way the transport is configured between the full example code, and the line-by-line explanation further down.

In the full version:

var transport = endpointConfiguration.UseTransport(new LearningTransport());

In the line-by-line version:

var transport = endpointConfiguration.UseTransport<LearningTransport>();

These end up returning different objects, which breaks a later step in the tutorial - the fix would be to ensure the full example code uses the generic version of the UseTransport method.

poornimanayar commented 3 weeks ago

Hi @BenHughesTPR ,

Thank you for letting us know. I have just merged a PR to fix this. The changes should be on the docs soon!

Regards, Poornima