2017-03-03 05:04:03 +00:00
|
|
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
|
2016-10-14 07:06:35 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.IO;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
|
|
|
|
|
namespace WebApplication
|
|
|
|
{
|
|
|
|
public class Program
|
|
|
|
{
|
|
|
|
public static void Main(string[] args)
|
|
|
|
{
|
|
|
|
var host = new WebHostBuilder()
|
|
|
|
.UseKestrel()
|
|
|
|
.UseContentRoot(Directory.GetCurrentDirectory())
|
|
|
|
.UseIISIntegration()
|
|
|
|
.UseStartup<Startup>()
|
|
|
|
.Build();
|
|
|
|
|
|
|
|
host.Run();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|