Skip to content

Commit c017079

Browse files
committed
Update Program.cs
1 parent 0c28190 commit c017079

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

MyApp/Program.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
var builder = WebApplication.CreateBuilder(args);
1+
using MyApp.ServiceInterface;
2+
3+
var builder = WebApplication.CreateBuilder(args);
24
var services = builder.Services;
35

6+
services.AddServiceStack(typeof(MyServices).Assembly);
7+
48
var app = builder.Build();
59

610
// Configure the HTTP request pipeline.

0 commit comments

Comments
 (0)