Setup the shell with a navigation region and a main content region.
In the bootstrapper file add the Service and TransactionForm modules to begin with. We will eventually add all of them here.
The start I setup the service module with two folders, Service and Utility. The service folder will contain the implementation of the service interfaces. The utility folder will contain any manager or helper classes used by the services.
In the service module I use Unity dependency injection to reference the container and the region manager. I implement the IModule interface and implement the Initialize method.
I register my services with my container. I use the lifetime manager to ensure my project only creates one instance of my services.
The complete source code for this project is located on Github.
If you found this article helpful use the tweet button below to spread the word. Thank you.