We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c28190 commit c017079Copy full SHA for c017079
MyApp/Program.cs
@@ -1,6 +1,10 @@
1
-var builder = WebApplication.CreateBuilder(args);
+using MyApp.ServiceInterface;
2
+
3
+var builder = WebApplication.CreateBuilder(args);
4
var services = builder.Services;
5
6
+services.AddServiceStack(typeof(MyServices).Assembly);
7
8
var app = builder.Build();
9
10
// Configure the HTTP request pipeline.
0 commit comments