2019-11-19 09:37:42 +00:00
|
|
|
using System;
|
2019-11-12 14:02:30 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
|
using Microsoft.Extensions.Configuration;
|
2019-11-19 09:37:42 +00:00
|
|
|
using Microsoft.Extensions.Hosting;
|
2019-11-12 14:02:30 +00:00
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
|
|
|
namespace SpotifyAPI.Web.Examples.ASP
|
|
|
|
{
|
|
|
|
public class Program
|
|
|
|
{
|
|
|
|
public static void Main(string[] args)
|
|
|
|
{
|
2019-11-19 09:37:42 +00:00
|
|
|
CreateHostBuilder(args).Build().Run();
|
2019-11-12 14:02:30 +00:00
|
|
|
}
|
|
|
|
|
2019-11-19 09:37:42 +00:00
|
|
|
public static IHostBuilder CreateHostBuilder(string[] args) =>
|
|
|
|
Host.CreateDefaultBuilder(args)
|
|
|
|
.ConfigureWebHostDefaults(webBuilder =>
|
|
|
|
{
|
|
|
|
webBuilder.UseStartup<Startup>();
|
|
|
|
});
|
2019-11-12 14:02:30 +00:00
|
|
|
}
|
2019-11-19 09:37:42 +00:00
|
|
|
}
|