Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created August 9, 2018 01:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcomartin/730b7b2b7ae9ee0e49054bcfeecb07f6 to your computer and use it in GitHub Desktop.
Save dcomartin/730b7b2b7ae9ee0e49054bcfeecb07f6 to your computer and use it in GitHub Desktop.
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
namespace Demo
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc();
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env, Capture capture)
{
app.UseMvcAndSniffRoutes();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment