Budgeter 5000 - A Budgeting Prism 6 Windows Application Part 2, Shell, Bootstrapper

 

Shell

Setup the shell with a navigation region and a main content region.

Shell

 

Bootstrapper

In the bootstrapper file add the Service and TransactionForm modules to begin with.  We will eventually add all of them here.

Bootstrapper

ServiceModule

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.

Service Structure

ServiceModule.cs

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.

Service Module

 

The complete source code for this project is located on Github.

https://github.com/twodawg/Budgeter5000

 

If you found this article helpful use the tweet button below to spread the word.  Thank you.

 

Leave your comment