Files
Jared LundeandGitHub 32e4d0e402 add dotnet provider (#126)
* start dotnet

* closer, need dotnet runtime

* add docs

* fix tests

* update snaps

* fix for new apis

* update snaps
2025-11-06 10:29:13 -07:00

26 lines
532 B
C#

var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllers();
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
var app = builder.Build();
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
}
app.UseHttpsRedirection();
app.UseAuthorization();
app.MapControllers();
app.Run();