Skip to content

Commit

Permalink
Add CommandsFeature
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Jun 4, 2024
1 parent 075e065 commit 110c8f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions MyApp/Configure.Mq.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public void Configure(IWebHostBuilder builder) => builder
services.AddSingleton(smtpConfig);
}
services.AddSingleton<IMessageService>(c => new BackgroundMqService());
services.AddPlugin(new CommandsFeature());
})
.ConfigureAppHost(afterAppHostInit: appHost => {
var mqService = appHost.Resolve<IMessageService>();
Expand Down
7 changes: 7 additions & 0 deletions NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="ServiceStack MyGet feed" value="https://www.myget.org/F/servicestack" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>

0 comments on commit 110c8f9

Please sign in to comment.