Skip to content

Commit

Permalink
Small cleanup on the testing sample
Browse files Browse the repository at this point in the history
  • Loading branch information
javiercn committed Dec 6, 2017
1 parent aa0da72 commit 60428a9
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -14,9 +14,11 @@ public class Program
{
public static void Main(string[] args)
{
CreateWebHostBuilder(args).Build().Run();
BuildWebHost(args).Run();
}

public static IWebHost BuildWebHost(string[] args) =>
CreateWebHostBuilder(args).Build();
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>();
Expand Down

0 comments on commit 60428a9

Please sign in to comment.