Book Image

Learning NServiceBus Sagas

By : Richard L Helton
Book Image

Learning NServiceBus Sagas

By: Richard L Helton

Overview of this book

Table of Contents (13 chapters)

Creating a WCF client


In this section, we will create an MVCApp solution that will be under the BasicPayClient directory. It will contain several projects as follows:

  • MVCApp: This contains MVCs, Kendo grids, and the WCF client for a browser user interface to send messages to the WCF service. It will read five XML files to load as messages.

  • MyMessages: This contains IMessages of NServiceBus for the building of messages.

  • WriteXMLFiles: This is a utility to write five XML files to a C:\temp\ directory for the MVCApp project to load. This application saves messages in the form of XML files, which in turn are loaded through MVCApp to be sent from the WCF client to the WCF service. These are for testing purposes only, but using files in the form of messages makes it quick to change the data for various tests in the communications and endpoints. The messages are read from a C:\temp\ directory as five XML files saved in a format that works with the WCF messaging service. The files can be created...