-
I try building a api service, which is a WebApplication instead of a HostApplication. Did I missed anything? var cache = builder.AddRedis("cache");
var mysql = builder.AddMySql("mysql");
var mysqldb = mysql.AddDatabase("moderations");
var apiService = builder.AddProject<ApiService>("apiservice")
.WithReference(mysqldb); |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Can you share the entire project on github. |
Beta Was this translation helpful? Give feedback.
Okay so apparently the workload was buggy, or ReSharper. I reinstalled both and the extension method is now correctly recognized on webapplication.
I don't know why it behaved "wrong" before, but I guess it's one of the "we'll leave it be" things.
Many thanks anyways, I wish you a nice rest of the weekend.