diff --git a/src/Carter/CarterExtensions.cs b/src/Carter/CarterExtensions.cs index d60f9e4..3af99c1 100644 --- a/src/Carter/CarterExtensions.cs +++ b/src/Carter/CarterExtensions.cs @@ -78,7 +78,7 @@ private static void WireupCarter(this IServiceCollection services, foreach (var newModule in newModules) { //services.AddScoped(newModule); - services.AddScoped(typeof(ICarterModule), newModule); + services.AddSingleton(typeof(ICarterModule), newModule); } foreach (var negotiator in responseNegotiators)