Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Startup.cs « HelloWeb « 1.0.0-beta5 « samples - github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 76bfac0acb0f5a479b70b6e502a95df628cc9a44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using Microsoft.AspNet.Builder;
using Microsoft.Framework.Logging;

namespace HelloWeb
{
    public class Startup
    {
        public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory)
        {
            loggerFactory.AddConsole();
            app.UseStaticFiles();
            app.UseWelcomePage();
        }
    }
}