Abd@SDET@ML
Abd@SDET@ML
CC#
Created by Abd@SDET@ML on 2/16/2025 in #help
sql server is not deployed due to MSBuild issue
If anyone is using .net aspire 9.0, can they help in fixing this issue ? https://github.com/dotnet/aspire/discussions/7638
5 replies
CC#
Created by Abd@SDET@ML on 2/13/2025 in #help
API Swagger URL is not loading at all through .NET aspire 9.0
I've added Aspire 9.0 project to spin API swagger and SQL Server container. I'm able to spin SQL Server container, but not API Swagger URL. I've added project references of both API and database projects to the app host project. App host project > Program.cs file contains this code: var builder = DistributedApplication.CreateBuilder(args); //Database var sqlServer = builder.AddSqlServer("sql").AddDatabase("db"); builder.AddSqlProject("sqlproject").WithDacpac("O.WP.Database.dacpac").WithReference(sqlServer); //Api builder.AddProject<Projects.O_WP_PIT_ACT_API>("apiservice").WithReference(sqlServer); builder.Build().Run();
27 replies