Skip to content

Instantly share code, notes, and snippets.

@nbxx
Created September 21, 2016 15:01
Show Gist options
  • Select an option

  • Save nbxx/85768890c96f68e7a5d26bdf8640e0ea to your computer and use it in GitHub Desktop.

Select an option

Save nbxx/85768890c96f68e7a5d26bdf8640e0ea to your computer and use it in GitHub Desktop.
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace ConsoleApplication
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc();
}
public void Configure(IApplicationBuilder app)
{
app.UseMvc();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment