obsidian-web/Program.cs
Curle b8da68566f Add a standard ASP.NET Core 2.2 WebApp.
All the files here were made by running the command
dotnet new webApp -o obsidian --no-https

HTTPS will be enforced net<->user by IIS, not by the web app itself.
2019-07-22 00:28:50 +01:00

25 lines
606 B
C#

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 obsidian
{
public class Program
{
public static void Main(string[] args)
{
CreateWebHostBuilder(args).Build().Run();
}
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>();
}
}