December 2019
Intermediate to advanced
528 pages
11h 19m
English
As you saw in the preceding section, we're referring to a service bus helper. For the generation routine, we'll just have a single method in the service bus helper. I would strongly encourage you to put this code in its own project: that way, you can limit your dependency on Azure to a single project. Here's the overview of my solution as it currently stands:

As you can see, we've separated the service bus interaction. Let's have a look at the interface that we've been using so far:
public interface IServiceBusHelper{ Task SendToSalesOrderMessageQueue(SalesOrder.Models.SalesOrder salesOrderData);}
Inside our ...