mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-29 20:06:51 +00:00
AspNet
This commit is contained in:
1 parent
a720b11959
commit
acfb6af27a
1 file changed
+3
-3
@@ -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