Refactor template to meet .NET 8 standards #1

Merged
marvin.spiegel merged 3 commits from feature/refactor-to-dotnet-8-standards into main 2026-01-27 13:23:03 +00:00
Showing only changes of commit 8a1eb23f05 - Show all commits

View File

@@ -1,27 +0,0 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace TemplateNETService;
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers();
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
if (env.IsDevelopment())
app.UseDeveloperExceptionPage();
app.UseRouting();
app.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
});
}
}