Skip to content

Commit f7521a4

Browse files
committed
Configure BlogRazor in Aspire
1 parent 9216635 commit f7521a4

File tree

1 file changed

+8
-1
lines changed
  • BlogWebApp/Aspire/Blog.Aspire/Blog.Aspire.AppHost

1 file changed

+8
-1
lines changed

BlogWebApp/Aspire/Blog.Aspire/Blog.Aspire.AppHost/AppHost.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
var apiServices = builder.AddProject<Projects.Blog_Web>("BlogWeb");
66
//.WithHttpHealthCheck("/health");
77

8-
8+
builder.AddProject<Projects.BlogRazor>("BlogRazor")
9+
//.WithLaunchProfile("ShopRazor")
10+
.WithExternalHttpEndpoints();
11+
//.WithHttpHealthCheck("/health");
12+
//.WithReference(cache)
13+
//.WaitFor(cache);
14+
//.WithReference(apiService)
15+
//.WaitFor(apiService);
916

1017
builder.Build().Run();

0 commit comments

Comments
 (0)