diff --git a/src/FubarDev.FtpServer/ServiceCollectionExtensions.cs b/src/FubarDev.FtpServer/ServiceCollectionExtensions.cs index d62822e0..80e925e9 100644 --- a/src/FubarDev.FtpServer/ServiceCollectionExtensions.cs +++ b/src/FubarDev.FtpServer/ServiceCollectionExtensions.cs @@ -28,6 +28,8 @@ public static IServiceCollection AddFtpServer( this IServiceCollection services, [NotNull] Action configure) { + services.AddOptions(); + services.AddSingleton(); services.AddSingleton();