-
Notifications
You must be signed in to change notification settings - Fork 10
Configuring ASP.NET MVC → In Memory
Aaron Hanusa edited this page Jan 24, 2016
·
5 revisions
Watch the configuration video here.
In this scenario, the ASP.NET MVC client consumes business services that are injected with data proxies that communicate with in-memory data stores.
The MVC project uses dynamic dependency injection to create business services and data proxies that will be injected into the MVC controllers. To configure the MVC project to consume in-memory data proxies, open the DependencyInjection.config file.
Notice that there are three configuration sections for data proxies; Entity Framework, HTTP, and In-Memory, respectively. Simply ensure that the In Memory Data Proxies
section is uncommented and the others are commented out.
To run the application, ensure that the MVC project is set as the startup project.