Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.


Docs Swagger Examples Blog Release Notes Support Dashboard

Installation

The package is available at nuget.org and it can be installed via package manager console by executing following command:

PM> NuGet\Install-Package Aspose.Tasks-Cloud

Version NuGet NuGet-GroupDocsCloud


Manipulate Project Files via .NET Cloud REST API

Aspose.Tasks Cloud SDK for .NET REST API enables developers to access and manage Microsoft Project and Primavera P6 files in cloud-based .NET applications. It provides capabilities to edit tasks, resources, and project files programmatically, supports conversions to various formats like PDF, HTML, and Excel, and allows project document manipulation without needing local installations of MS Project. With features like adding new tasks, modifying resources, handling calendar exceptions, and supporting VBA macros, Aspose.Tasks Cloud SDK is a versatile API for managing project data efficiently. It also integrates seamlessly with cloud storage to upload, download, and manage files across platforms.

Working with Assignments

Edit Resource Assignment

Modify an existing resource assignment within a project.

Working with Tasks

Get a Specific Task

Retrieve details of a specific task from a project.

Add New Task

Insert a new task into a project.

Working with Resources

Add New Resource

Add a new resource to a project document.

Modify Resource

Update details of an existing resource in a project.

Working with Calendars

Retrieve Calendar

Get details of a calendar used in a project.

Add New Calendar

Add a new calendar to the project for scheduling.

Working with Calendar Exceptions

Get Calendar Exceptions

Retrieve calendar exceptions, such as holidays, from a project.

Retrieve all task links from a project.

Create a new task link between tasks in a project.

Working with Outline Codes and Extended Attributes

Get Outline Codes

Retrieve outline codes from a project.

Add Outline Code

Add a new outline code to a project.

Get Extended Attributes

Retrieve extended attributes from a project.

Add Extended Attribute

Add new extended attributes to a project.

Working with Project Documents

Convert Project to Other Formats

Convert MS Project files to various formats like PDF, HTML, and Excel.

Create New Project

Create a new project document programmatically.

Working with Project Online

Create Project Online

Set up a new project in Project Online.

Working with Recalculate Project

Recalculate Project Data

Recalculate resource costs, task durations, and other project metrics.

Working with VBA

Get VBA Project

Retrieve VBA macro project details from an MS Project file.

Working with Time Phased Data

Get Time Phased Data

Retrieve time-phased data from a project for detailed analysis.

Working with Document Properties

Get Document Properties

Retrieve properties like author, title, and description from project files.

Update Document Properties

Update the metadata of a project document.

Working with Files and Storage

Upload File to Storage

Upload project documents to cloud storage.

Download File from Storage

Retrieve project files from cloud storage.

Manage Folders

Organize project files within cloud storage folders.

Supported File Format

FormatDescriptionLoadSave
MPPNative MS Project Format, Microsoft Project Online format, MS Project 2003, 2007, 2010, 2013, and 2016 MPP formats are supported✔️✔️
XMLXML Project Format✔️✔️
MPTMS Project Template✔️✔️
MPXPrimavera MPX✔️✔️
XLSXMicrosoft Excel✔️
HTMLSimplified HTM and HTML Formats✔️
TXTSimple Text Format✔️
TIFFormat24bppRgb✔️
SVGSVG Format✔️
PNGSaving Project data as PNG Image Format✔️
PDFSaving Project data as PDF Format✔️
JPEGSaving Project data as JPEG✔️
XERPrimavera XER Format✔️
XMLPrimaveraP6XML Format✔️

Quick Start

1. Create an Account

Sign up for Aspose Cloud to get started. Learn more.

2. Create an API Client App

Generate your App SID and App Key, essential for making API calls.

3. Install the SDK

No need for a separate installation. Simply create an account and get your app details from Aspose Cloud.

  • For .NET, open Visual Studio and run the following command in the Package Manager Console to add the SDK to your project:

    Install-Package Aspose.Tasks-Cloud
    
  • To upgrade to the latest version, run:

    Update-Package Aspose.Tasks-Cloud
    

4. Make an API Request

Use your App SID and Key in the SDK to execute your first API request.

Convert MS Project to SpreadsheetML

Convert your MS Project (.MPP) file into SpreadsheetML format using Aspose.Tasks Cloud SDK for .NET.

using Aspose.Tasks.Cloud.Sdk;
using Aspose.Tasks.Cloud.Sdk.Model.Requests;

string fileName = "Home move plan.mpp";
string format = "spreadsheetml"; // Specify the output format as SpreadsheetML

TasksApi tasksApi = new TasksApi("MyClientId", "MyClientSecret");

// Convert the project document to SpreadsheetML
tasksApi.GetTaskDocumentWithFormat(fileName, format, null, null);

Add a New Task to a Project

This code demonstrates how to add a new task to an MS Project file using Aspose.Tasks Cloud SDK for .NET.

using Aspose.Tasks.Cloud.Sdk;
using Aspose.Tasks.Cloud.Sdk.Model;

TasksApi tasksApi = new TasksApi("MyClientId", "MyClientSecret");

TaskCreationRequest newTask = new TaskCreationRequest
{
    Name = "New Task",
    Start = DateTime.Now.ToString("yyyy-MM-dd"),
    Finish = DateTime.Now.AddDays(5).ToString("yyyy-MM-dd")
};

// Add a new task to the project
tasksApi.PostTask("Home move plan.mpp", newTask);

Convert MS Project to PDF

Convert an MS Project file into PDF format using Aspose.Tasks Cloud SDK for .NET.

using Aspose.Tasks.Cloud.Sdk;
using Aspose.Tasks.Cloud.Sdk.Model.Requests;

string fileName = "Home move plan.mpp";
string format = "pdf"; // Specify the output format as PDF

TasksApi tasksApi = new TasksApi("MyClientId", "MyClientSecret");

// Convert the project document to PDF format
tasksApi.GetTaskDocumentWithFormat(fileName, format, null, null);

Get a Specific Task of a Project

Retrieve a specific task from an MS Project file using Aspose.Tasks Cloud SDK for .NET.

using Aspose.Tasks.Cloud.Sdk;
using Aspose.Tasks.Cloud.Sdk.Model.Requests;

string fileName = "Home move plan.mpp";
int taskUid = 0; // Specify the task UID

TasksApi tasksApi = new TasksApi("MyClientId", "MyClientSecret");

// Retrieve the specific task
var task = tasksApi.GetTask(fileName, taskUid);

Docs Swagger Examples Blog Release Notes Support Dashboard


 English