Skip to content

Instantly share code, notes, and snippets.

@gussiciliano
Created November 7, 2017 21:54
Show Gist options
  • Save gussiciliano/4e54e1170c1dff92de01ce7c916971a4 to your computer and use it in GitHub Desktop.
Save gussiciliano/4e54e1170c1dff92de01ce7c916971a4 to your computer and use it in GitHub Desktop.
Startup .NET Core 2.0
public class Startup
{
public Startup(IConfiguration configuration)
{
Configuration = 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)
{...}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{...}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment