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
:blobthumbsup:
5 replies
CC#
Created by Abd@SDET@ML on 2/16/2025 in #help
sql server is not deployed due to MSBuild issue
Hi
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
magically i was able to fix the actual issue without adding above code this below method is called in program.cs, and i have commented builder.ConfigureKestrel(appConfig); there was a warning in console logs of aspire for the same which i ignored initially public static async Task ExecuteAsync(this WebApplicationBuilder builder, CancellationToken cancellationToken = default) { var appConfig = builder .Configuration .GetSection("ApplicationConfiguration") .Get<ApplicationConfiguration>(); builder.Configuration.AddJsonFile("secret.json", optional: true); builder.UserSerilog(appConfig); //builder.ConfigureKestrel(appConfig); builder.ConfigureCors(appConfig); var webHost = builder.WebHost; webHost.ConfigureServices(); var app = builder.Build(); app.UseExceptionHandler(); app.UseMiddleware<CorrelationIdMiddleware>(); app.UsePathBase(appConfig.ApiInfo.BasePath); app.UseHttpsRedirection(); app.UseCorsIfEnabled(appConfig); app.UseAuthentication(); app.UseAuthorization(); app.UseSerilogRequestLogging(); app.UseSwagger(appConfig); app.UseSwaggerUI(appConfig); app.MapControllers(); await app.RunAsync(cancellationToken); }
27 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
its only with .net aspire, page is just loading and loading but not landing on endpoints page
27 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
also locally when i run api project, swagger is launching successfully
27 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
yes its the api i need to use with swagger
27 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
what do you suspect ? it is something configuration issues ?
27 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
application url is not pointing to any controller
27 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
thats where i am right now, api swagger is not launching
27 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
but i need to write integration tests using .net aspire 9.0
27 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
im not a developer, infact a quality test engineer, so i need to search things which you are asking for 😄
27 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
program.cs file has this code using O.WP.PIT.ACT.API.Builders; await WebApplication .CreateBuilder(args) .ExecuteAsync();
27 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
Hi, yes got the launchsettings.json file and here is the code { "$schema": "https://json.schemastore.org/launchsettings.json", "profiles": { "O.WP.API": { "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": true, /"launchUrl": "asset/windfarms",/ "launchUrl": "swagger", "applicationUrl": "http://localhost:8050/pit/act", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } } } }
27 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
anything you have noticed or found ?
27 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
No description
27 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
No description
27 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
No description
27 replies