diff --git a/src/Services/Location/Locations.API/Startup.cs b/src/Services/Location/Locations.API/Startup.cs index 5cb2327eb..6dd7f309b 100644 --- a/src/Services/Location/Locations.API/Startup.cs +++ b/src/Services/Location/Locations.API/Startup.cs @@ -53,12 +53,7 @@ namespace Microsoft.eShopOnContainers.Services.Locations.API services.AddCap(options => { - // using MongoDB as the event storage - options.UseMongoDB(configure => - { - configure.DatabaseConnection = Configuration["ConnectionString"]; - configure.DatabaseName= Configuration["Database"]; - }); + options.UseInMemoryStorage(); if (Configuration.GetValue("AzureServiceBusEnabled")) {