removed unused project
parent
25ea2cc4f1
commit
a06a924f05
|
@ -1,16 +0,0 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.3" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\NDB.Infrastructure.PublicIP\NDB.Infrastructure.PublicIP.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -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<IPublicIPService>();
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
6
NDB.sln
6
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
|
||||
|
|
Loading…
Reference in New Issue