diff --git a/NDB.Testing.App/NDB.Testing.App.csproj b/NDB.Testing.App/NDB.Testing.App.csproj deleted file mode 100644 index f655481..0000000 --- a/NDB.Testing.App/NDB.Testing.App.csproj +++ /dev/null @@ -1,16 +0,0 @@ - - - - Exe - netcoreapp3.1 - - - - - - - - - - - diff --git a/NDB.Testing.App/Program.cs b/NDB.Testing.App/Program.cs deleted file mode 100644 index e33a3e0..0000000 --- a/NDB.Testing.App/Program.cs +++ /dev/null @@ -1,33 +0,0 @@ -using Microsoft.Extensions.DependencyInjection; -using NDB.Infrastructure.PublicIP; -using NDB.Infrastructure.PublicIP.Services; -using System; -using System.Threading.Tasks; - -namespace NDB.Testing.App -{ - class Program - { - static async Task Main(string[] args) - { - Console.WriteLine("Hello World!"); - - var provider = GetServiceProvider(); - - var service = provider.GetService(); - var result = await service.GetPublicIP(); - - Console.WriteLine(result.ip); - Console.ReadKey(); - } - - private static IServiceProvider GetServiceProvider() - { - var services = new ServiceCollection(); - services.AddPublicIPService(); - - var provider = services.BuildServiceProvider(); - return provider; - } - } -} diff --git a/NDB.sln b/NDB.sln index f1fe871..7b90a04 100644 --- a/NDB.sln +++ b/NDB.sln @@ -16,8 +16,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Infrastructure.PublicIP", "NDB.Infrastructure.PublicIP\NDB.Infrastructure.PublicIP.csproj", "{FCB29735-E36A-442A-9307-F124782B8BB8}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Testing.App", "NDB.Testing.App\NDB.Testing.App.csproj", "{656CCE38-90C3-4D19-9D07-EF1F0410CFDC}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.Logging.Api", "NDB.Logging.Api\NDB.Logging.Api.csproj", "{74E221BE-C097-468B-93E4-AAE1B2173C49}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NDB.DataAccess.SqlServer", "NDB.DataAccess.SqlServer\NDB.DataAccess.SqlServer.csproj", "{95AF4B47-2C84-44C1-BD25-297F09A48BED}" @@ -74,10 +72,6 @@ Global {FCB29735-E36A-442A-9307-F124782B8BB8}.Debug|Any CPU.Build.0 = Debug|Any CPU {FCB29735-E36A-442A-9307-F124782B8BB8}.Release|Any CPU.ActiveCfg = Release|Any CPU {FCB29735-E36A-442A-9307-F124782B8BB8}.Release|Any CPU.Build.0 = Release|Any CPU - {656CCE38-90C3-4D19-9D07-EF1F0410CFDC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {656CCE38-90C3-4D19-9D07-EF1F0410CFDC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {656CCE38-90C3-4D19-9D07-EF1F0410CFDC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {656CCE38-90C3-4D19-9D07-EF1F0410CFDC}.Release|Any CPU.Build.0 = Release|Any CPU {74E221BE-C097-468B-93E4-AAE1B2173C49}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {74E221BE-C097-468B-93E4-AAE1B2173C49}.Debug|Any CPU.Build.0 = Debug|Any CPU {74E221BE-C097-468B-93E4-AAE1B2173C49}.Release|Any CPU.ActiveCfg = Release|Any CPU