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