diff --git a/TemplateNETService/Startup.cs b/TemplateNETService/Startup.cs deleted file mode 100644 index 6a8a428..0000000 --- a/TemplateNETService/Startup.cs +++ /dev/null @@ -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(); - }); - } - -} \ No newline at end of file