Initial version of getdotnet app
This commit is contained in:
25
tellver/Startup.cs
Normal file
25
tellver/Startup.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user