Files
getdotnet/tellver/Startup.cs
2015-07-25 21:15:21 -07:00

25 lines
562 B
C#

using Microsoft.AspNet.Builder;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Logging;
namespace GetDotnet
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc();
}
public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory)
{
loggerFactory.AddConsole();
app.UseErrorPage();
app.UseMvcWithDefaultRoute();
app.UseWelcomePage();
}
}
}