Instantly share code, notes, and snippets.

Embed
What would you like to do?
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