Initial version of getdotnet app

This commit is contained in:
Richard Lander
2015-07-25 21:15:21 -07:00
parent 7143ad71cf
commit 0a320419c3
6 changed files with 6464 additions and 0 deletions

25
tellver/Startup.cs Normal file
View File

@@ -0,0 +1,25 @@
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();
}
}
}