Skip to content

Commit

Permalink
simple is better
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Lisandra Osborne committed Dec 16, 2020
1 parent 929b06f commit 8b65cdd
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions src/ApiService/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,12 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;

namespace ApiService
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}

public static IHostBuilder CreateHostBuilder(string[] args) =>

CreateHostBuilder(args).Build().Run();


static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
Expand Down Expand Up @@ -57,5 +53,3 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>
});
});
});
}
}

0 comments on commit 8b65cdd

Please sign in to comment.