Asana.Net 1.0.0

dotnet add package Asana.Net --version 1.0.0
NuGet\Install-Package Asana.Net -Version 1.0.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="Asana.Net" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Asana.Net --version 1.0.0
#r "nuget: Asana.Net, 1.0.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 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

Nuget

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:

  1. Open the Solution Explorer.
  2. Right-click on a project within your solution.
  3. Click on Manage NuGet Packages...
  4. Click on the Browse tab and search for "Asana.Net".
  5. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.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 286 10/21/2023