mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-26 10:43:35 +02:00
update asp.net-mssql sample
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
This commit is contained in:
parent
80dcce97b4
commit
9c829ac4ba
77 changed files with 75 additions and 824 deletions
24
samples/aspnet-mssql/app/aspnetapp/Program.cs
Executable file
24
samples/aspnet-mssql/app/aspnetapp/Program.cs
Executable file
|
@ -0,0 +1,24 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace aspnetapp
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
CreateWebHostBuilder(args).Build().Run();
|
||||
}
|
||||
|
||||
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
|
||||
WebHost.CreateDefaultBuilder(args)
|
||||
.UseStartup<Startup>();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue