diff --git a/Program.cs b/Program.cs index ff636ba..c423650 100644 --- a/Program.cs +++ b/Program.cs @@ -10,7 +10,7 @@ namespace pipelines_dotnet_core { - public class Program + public static class Program { public static void Main(string[] args) { diff --git a/Startup.cs b/Startup.cs index 04293ee..fa04686 100644 --- a/Startup.cs +++ b/Startup.cs @@ -22,7 +22,7 @@ public Startup(IConfiguration configuration) public IConfiguration Configuration { get; } // This method gets called by the runtime. Use this method to add services to the container. - public void ConfigureServices(IServiceCollection services) + public static void ConfigureServices(IServiceCollection services) { services.Configure(options => { @@ -36,7 +36,7 @@ public void ConfigureServices(IServiceCollection services) } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. - public void Configure(IApplicationBuilder app, IHostingEnvironment env) + public static void Configure(IApplicationBuilder app, IHostingEnvironment env) { if (env.IsDevelopment()) {