Skip to content

Instantly share code, notes, and snippets.

@conectado
Last active January 23, 2018 14:25
Show Gist options
  • Save conectado/65187fc0d5c87dcf8466d1d0ba2eac67 to your computer and use it in GitHub Desktop.
Save conectado/65187fc0d5c87dcf8466d1d0ba2eac67 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace yourComplaint
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>()
.Build();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment