summaryrefslogtreecommitdiff
path: root/Dewdrop/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Dewdrop/Program.cs')
-rw-r--r--Dewdrop/Program.cs22
1 files changed, 11 insertions, 11 deletions
diff --git a/Dewdrop/Program.cs b/Dewdrop/Program.cs
index c6a5a642..0e831a23 100644
--- a/Dewdrop/Program.cs
+++ b/Dewdrop/Program.cs
@@ -1,27 +1,27 @@
-using System;
-using System.IO;
-using System.Net.Http;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Builder;
+using System.IO;
using Microsoft.AspNetCore.Hosting;
-using Newtonsoft.Json;
-using System.Collections.Generic;
namespace Dewdrop
{
+ /// <summary>The main app entry point.</summary>
public class Program
{
+ /*********
+ ** Public methods
+ *********/
+ /// <summary>The main app entry point.</summary>
+ /// <param name="args">The command-line arguments.</param>
public static void Main(string[] args)
{
- var host = new WebHostBuilder()
+ // configure web server
+ new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
.UseStartup<Startup>()
.UseApplicationInsights()
- .Build();
-
- host.Run();
+ .Build()
+ .Run();
}
}
}