mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-07-03 23:53:12 +00:00
AspNet
This commit is contained in:
@ -40,10 +40,10 @@ var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
// Add services to the container.
|
||||
|
||||
builder.Services.AddControllers();
|
||||
//builder.Services.AddControllers();
|
||||
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
builder.Services.AddSwaggerGen();
|
||||
//builder.Services.AddEndpointsApiExplorer();
|
||||
//builder.Services.AddSwaggerGen();
|
||||
|
||||
builder.WebHost.UseUrls("http://localhost:8080");
|
||||
|
||||
|
Reference in New Issue
Block a user