AdvancedRestHandler 1.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package AdvancedRestHandler --version 1.2.0                
NuGet\Install-Package AdvancedRestHandler -Version 1.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AdvancedRestHandler" Version="1.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AdvancedRestHandler --version 1.2.0                
#r "nuget: AdvancedRestHandler, 1.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AdvancedRestHandler as a Cake Addin
#addin nuget:?package=AdvancedRestHandler&version=1.2.0

// Install AdvancedRestHandler as a Cake Tool
#tool nuget:?package=AdvancedRestHandler&version=1.2.0                

AdvancedRestHandler

A utility code that can be used to request Data from services... <br/>

This library is based on my exprience and need of working in the past company, taking many services in. I could handle any request so far using it, and every time I felt it doesn't support my need, i tried to expand it.

The requests can be done as simply as calling:

AdvancedRestHandler arh = new AdvancedRestHandler([baseUrl], [fixEndOfUrl]);
TResponse response = arh.GetData<TResponse>(url, [options]);

in the above code, in the AdvancedRestHandler constructor: <br/> -baseUrl is a fixed part of url in a service, which can also be null <br/> -fixEndOfUrl is to automatically attach path as resource in a way that base url of "https://test.test" and calling a operation service of "the-service" had a result of "https://test.testthe-service" or in the other hand, base url of "https://test.test/" and a service url of "/the-service" would result in "https://test.test//the-service", but with this option which is true by default, it will result in "https://test.test/the-service". but due to some services, which they think of '/' as part of the path, and it's existance mean different route, I kept the flag, so it can be turned off. <br/>

in the GetData: <br/> -TResponse is the type of data you are receiving and the incoming json or (i'm not sure if i pars XML, but if supported XML) should be deserialized to <br/> -url depending on the existance of baseUrl can be either the full url to a service, or the versitile part of the path in the service url <br/> -options are modifier that can affect the behaviour of the service <br/>

Also note that request can be: <br/> -A premitive <br/> -A Type <br/> -A Type inherited from ArhResponse <br/> -An object of type ArhResponse<[Your Type]> <br/> -An object of type ArhStringResponse <br/>

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.7.0 282 5/13/2024
1.6.0 123 4/23/2024
1.5.0 119 4/21/2024
1.4.0 818 6/28/2021
1.3.0 457 12/16/2020
1.2.0 483 10/2/2020
1.1.1 444 9/29/2020

1.2.0:
- Add PUT, PATCH and DELETE method
1.1.1:
- Add Author and Project details
1.1.0:
- Changed default namespace name from "AdvancedRestHandler" to "Arh" due to main class interfrences with namespace name
1.0.0: Initial Package