Asana.Net
1.0.0
dotnet add package Asana.Net --version 1.0.0
NuGet\Install-Package Asana.Net -Version 1.0.0
<PackageReference Include="Asana.Net" Version="1.0.0" />
paket add Asana.Net --version 1.0.0
#r "nuget: Asana.Net, 1.0.0"
// Install Asana.Net as a Cake Addin #addin nuget:?package=Asana.Net&version=1.0.0 // Install Asana.Net as a Cake Tool #tool nuget:?package=Asana.Net&version=1.0.0
Asana.Net
Installation
Using the .NET Core command-line interface (CLI) tools::
dotnet add package Asana.Net
dotnet add package Asana.Net.DependencyInjection
Using the NuGet Command Line Interface (CLI):
nuget install Asana.Net
nuget install Asana.Net.DependencyInjection
Using the Package Manager Console:
Install-Package Asana.Net
Install-Package Asana.Net.DependencyInjection
From within Visual Studio:
- Open the Solution Explorer.
- Right-click on a project within your solution.
- Click on Manage NuGet Packages...
- Click on the Browse tab and search for "Asana.Net".
- Click on the Asana.Net package, select the appropriate version in the right-tab and click Install.
Usage
This section contains some example of a basic usage of the library.
Exists 2 way to instance a AsanaApiClient. Using factory and using Dependency Injection
We recommend the you use DI, but we understand that there're cases the is'nt possible use DI
Factory
IAsanaApiClient client = AsanaApiClientFactory.Create("<your api key>");
Dependency Injection
Setting apiKey on AppSettings
appSettings.json
{
"apiKey": "<your api key>"
}
services.AddAsanaApiClient(Configuration);
Setting apiKey manualy
services.AddAsanaApiClient(options=> options.ApiKey = "<your api key>");
or
AsanaApiOptions options = new AsanaApiOptions { ApiKey = "<your api key>" };
services.AddAsanaApiClient(options);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. 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. |
-
net7.0
- Refit (>= 7.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Asana.Net:
Package | Downloads |
---|---|
Asana.Net.DependencyInjection
Asana.Net is a .NET client, and a portable class library for the Asana API. (Unofficial Library) |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 366 | 10/21/2023 |