3 Commits

13 changed files with 40 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View File

@@ -12,7 +12,7 @@ namespace DigitalData.Core.Legacy.Client
protected readonly HttpClient _client;
protected readonly CookieContainer _cookies;
public string Uri { get; }
public string Uri { get; protected set; }
public BaseHttpClientService(HttpClient client, CookieContainer cookieContainer, IOptions<HttpClientOptions> clientOptions)
{

View File

@@ -31,7 +31,8 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>icon.ico</ApplicationIcon>
<ApplicationIcon>
</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
@@ -95,10 +96,9 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Content Include="Assets\icon.ico">
<Content Include="Assets\icon.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="icon.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<package>
<metadata>
<id>DigitalData.Core.Client.Legacy</id>
<version>1.0.1.2</version>
<authors>Digital Data GmbH</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">MIT</license>
<icon>Assets\icon.png</icon>
<projectUrl>http://git.dd:3000/AppStd/WebCoreModules.git</projectUrl>
<description>This package provides HTTP client extension methods for the DigitalData.Core library, offering simplified and asynchronous methods for fetching and handling HTTP responses. It includes utility methods for sending GET, POST, PUT, DELETE requests, reading response content as text or JSON, and deserializing JSON into dynamic or strongly-typed objects using Newtonsoft.Json. These extensions facilitate efficient and easy-to-read HTTP interactions in client applications. This version is specifically designed to be compatible with .NET Framework.</description>
<releaseNotes>Summary of changes made in this release of the package.</releaseNotes>
<copyright>Copyright 2024</copyright>
<tags>digital data core http client json serialization</tags>
<dependencies>
<dependency id="Microsoft.Bcl.AsyncInterfaces" version="8.0.0" />
<dependency id="Microsoft.Extensions.DependencyInjection" version="8.0.0" />
<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="8.0.0" />
<dependency id="Microsoft.Extensions.Options" version="8.0.2" />
<dependency id="Microsoft.Extensions.Primitives" version="8.0.0" />
<dependency id="Newtonsoft.Json" version="13.0.0" />
<dependency id="System.Buffers" version="4.0.3" />
<dependency id="System.Memory" version="4.0.1" />
<dependency id="System.Numerics.Vectors" version="4.1.4" />
<dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" />
<dependency id="System.Threading.Tasks.Extensions" version="4.2.0" />
<dependency id="System.ValueTuple" version="4.0.3" />
</dependencies>
</metadata>
<files>
<file src="bin\Release\DigitalData.Core.Client.Legacy.dll" target="lib\net462\" />
<file src="..\icon.png" target="Assets\" />
</files>
</package>

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
namespace DigitalData.Core.Legacy
namespace DigitalData.Core.Legacy.Client
{
/// <summary>
/// Extension methods for HttpClient and HttpResponseMessage.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -7,6 +7,7 @@
<package id="Microsoft.Extensions.Options" version="8.0.2" targetFramework="net462" />
<package id="Microsoft.Extensions.Primitives" version="8.0.0" targetFramework="net462" />
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net462" />
<package id="NuGet.CommandLine" version="6.10.1" targetFramework="net462" developmentDependency="true" />
<package id="System.Buffers" version="4.5.1" targetFramework="net462" />
<package id="System.Memory" version="4.5.5" targetFramework="net462" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net462" />

Binary file not shown.

Binary file not shown.