mirror-ac/server/Program.cs

25 lines
573 B
C#
Raw Normal View History

2023-09-02 17:56:46 +02:00
using Serilog;
2023-09-07 19:49:36 +02:00
using server.Database;
2023-09-09 17:36:19 +02:00
using server.Database.Entity;
using server.Database.Model;
using System.Configuration;
2023-09-02 17:56:46 +02:00
using System.Net;
2023-08-29 19:36:58 +02:00
using System.Net.Sockets;
using System.Reflection.Metadata.Ecma335;
using System.Text;
namespace server
2023-09-02 17:56:46 +02:00
{
public class Program
{
public static async Task Main(string[] args)
{
using var logger = new LoggerConfiguration()
.WriteTo.Console()
.CreateLogger();
2023-09-07 19:49:36 +02:00
2023-09-02 17:56:46 +02:00
Server server = new Server(logger);
await server.Listen();
}
}
2023-09-09 19:26:19 +02:00
}