Server.Startup.Configure C# (CSharp) Method

Configure() public method

public Configure ( IApplicationBuilder app, IHostingEnvironment env ) : void
app IApplicationBuilder
env IHostingEnvironment
return void
        public void Configure(IApplicationBuilder app, IHostingEnvironment env)
        {
            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }

            app.UseMvcWithDefaultRoute();
        }
    }