Configuring WPF → In Memory
Aaron Hanusa edited this page Jan 24, 2016
·
5 revisions
Watch the configuration video here.
In this scenario, the WPF client consumes business services that are injected with data proxies that communicate with in-memory data stores.
To configure the WPF application to use business services that are injected with in-memory data proxies, locate the MainWindow_Loaded
event handler in the MainWindow class and ensure the following line exists:
void MainWindow_Loaded(object sender, RoutedEventArgs e)
{
ConfigureInMemoryUsage();
}
The ConfigureInMemoryUsage
method instantiates the business services and passes concrete in-memory data proxies to them for data access.
To run the application, ensure that the WPF project is set as the startup project.