You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
512 B
17 lines
512 B
using System; |
|
using Microsoft.AspNetCore.Hosting; |
|
using Microsoft.Extensions.Hosting; |
|
|
|
namespace Server { |
|
public class Program { |
|
public static void Main(string[] args) { |
|
Console.WriteLine($"Current directory: {Environment.CurrentDirectory}"); |
|
CreateHostBuilder(args).Build().Run(); |
|
} |
|
|
|
public static IHostBuilder CreateHostBuilder(string[] args) { |
|
return Host.CreateDefaultBuilder(args) |
|
.ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup<Startup>(); }); |
|
} |
|
} |
|
}
|
|
|