NDB.Infrastructure.PublicIP

messaging
Tudor Stanciu 2019-10-24 01:19:01 +03:00
parent e192c04767
commit 873d743959
4 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,8 @@
using System;
namespace NDB.Infrastructure.PublicIP
{
public class Class1
{
}
}

View File

@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,12 @@
https://www.ipify.org/
https://geo.ipify.org/
https://seeip.org/
https://www.myip.com/api-docs/
APIs:
https://api.ipify.org?format=json
https://ip.seeip.org/json
https://api.myip.com
- incearca sa faci cu WebClient. Vezi daca e mai bun ca HttpClient. Citeste pe net cum e recomandat sa fie folosite (dispose)
- vezi daca merita facut cu dependency injection. (inregistrare la startup in aplicatia consumator)

View File

@ -13,6 +13,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
Notes.txt = Notes.txt
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NDB.Infrastructure.PublicIP", "NDB.Infrastructure.PublicIP\NDB.Infrastructure.PublicIP.csproj", "{FCB29735-E36A-442A-9307-F124782B8BB8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -23,6 +25,10 @@ Global
{F4AB0B71-6B14-402B-8B05-128AFB3E06D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F4AB0B71-6B14-402B-8B05-128AFB3E06D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F4AB0B71-6B14-402B-8B05-128AFB3E06D9}.Release|Any CPU.Build.0 = Release|Any CPU
{FCB29735-E36A-442A-9307-F124782B8BB8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{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
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE