From 110c8f95f973f3af32f58694ad8e76056ea3c4ee Mon Sep 17 00:00:00 2001 From: Demis Bellot Date: Tue, 4 Jun 2024 17:34:17 +0800 Subject: [PATCH] Add CommandsFeature --- MyApp/Configure.Mq.cs | 1 + NuGet.Config | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 NuGet.Config diff --git a/MyApp/Configure.Mq.cs b/MyApp/Configure.Mq.cs index c970b53..b30bee7 100644 --- a/MyApp/Configure.Mq.cs +++ b/MyApp/Configure.Mq.cs @@ -24,6 +24,7 @@ public void Configure(IWebHostBuilder builder) => builder services.AddSingleton(smtpConfig); } services.AddSingleton(c => new BackgroundMqService()); + services.AddPlugin(new CommandsFeature()); }) .ConfigureAppHost(afterAppHostInit: appHost => { var mqService = appHost.Resolve(); diff --git a/NuGet.Config b/NuGet.Config new file mode 100644 index 0000000..b06e0d0 --- /dev/null +++ b/NuGet.Config @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file