Aspose.Tasks-Cloud 19.12.0

New generation of Aspose Cloud SDK that allows to manipulate or convert Microsoft Project documents hosted on a cloud platform from .NET applications. It allows you to work with all aspects of a Project document including conversion. The API offers a wide range of Microsoft Project export options. The Aspose.Tasks Cloud API allows developers to convert Project documents to various formats including XML, HTML, BMP, PNG, PDF, and XSLX.

There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.Tasks-Cloud -Version 19.12.0
dotnet add package Aspose.Tasks-Cloud --version 19.12.0
<PackageReference Include="Aspose.Tasks-Cloud" Version="19.12.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Tasks-Cloud --version 19.12.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Manipulate Project Files via .NET Cloud REST API

This task management REST API enhances your C#, ASP.NET & other .NET cloud-based apps to access and manage Microsoft Project & Primavera P6 files in the cloud.

MS Project Processing Features

  • Add project assignments or delete project assignments along with their references.
  • Get project's outline codes by index & get links of all project tasks.
  • Import project from Primavera DB formats or from databases with specified connection string.
  • Get UIDs of all projects contained in the file & fetch required assignment with the project based on UID.
  • Manage project tasks, resource data, calendars & Work Breakdown Structure (WBS).
  • Perform risk analysis using Monte Carlo simulation and create report.
  • Create and set project document properties & fetch all or specific existing properties.
  • Get a project's extended attributes, time scaled data or recurring info of a specific task.
  • Reschedule project tasks, dates, and other settings.
  • Calculate slacks & recalculate project completion or incompletion work.
  • Fetch a project document in the desired format.
  • Delete project task with its related references & rebuild task tree.

New Features in Version 19.12.0

  • Imported projects from Project Online (Server) can now be saved as MPP file.
  • Imported projects from a database can now be saved as MPP file.

For the detailed notes, please visit Aspose.Tasks Cloud 19.12 Release Notes.

Read & Write MS Project Formats

MPP, MPX, XER, XML, PrimaveraP6XML

Save MS Project As

HTML, BMP, PNG, JPEG, TIFF, SVG, CSV, TXT, XLSX, PDF, XPS

Read MS Project Formats

MPT

Platform Independence

Aspose.Tasks Cloud’s platform independent document manipulation API is a true REST API that can be used from any platform. You can use it with any language or platform that supports REST, be it the web, desktop, mobile, or the cloud. The API integrates with other cloud services to provide you the flexibility you require for processing documents. It is suitable for the most types of businesses, documents, or content.

Getting Started with Aspose.Tasks Cloud SDK for .NET

You do not need to install anything to get started with Aspose.Tasks Cloud SDK for .NET. Just create an account at Aspose for Cloud and get your application information.

Simply execute Install-Package Aspose.Tasks-Cloud from the Package Manager Console in Visual Studio to fetch & reference Aspose.Tasks assembly in your project. If you already have Aspose.Tasks Cloud SDK for .NET and want to upgrade it, please execute Update-Package Aspose.Tasks-Cloud to get the latest version.

Please check the GitHub Repository for other common usage scenarios.

Use C# to Extract a Specific Task from Cloud MPP File

The following C# code sample demonstrates, how to get Microsoft Project MPP file in the cloud and extract a specific task based on its UID:

var remoteName = await UploadFileToStorageAsync("Input_Project_File.mpp");

var tasksResponse = await TasksApi.GetTaskAsync(new GetTaskRequest
    {
        TaskUid = 5,
        Name = remoteName,
        Folder = this.DataFolder
    });

Assert.AreEqual((int)HttpStatusCode.OK, tasksResponse.Code);
Assert.IsNotNull(tasksResponse.Task);
Assert.AreEqual(5, tasksResponse.Task.Uid);
CollectionAssert.AreEquivalent(new[] { 1, 2, 3, 4 }, tasksResponse.Task.SubtasksUids);
Assert.AreEqual(new DateTime(2015, 8, 3, 8, 0, 0), tasksResponse.Task.Start);
Assert.AreEqual(new DateTime(2015, 8, 6, 17, 0, 0), tasksResponse.Task.Finish);
Assert.AreEqual(new TimeSpan(1, 8, 0, 0, 0), tasksResponse.Task.RemainingWork);
Assert.AreEqual(1920, tasksResponse.Task.WorkVariance);

Generate Project Risk Analysis Report via C# Code

The following code sample elaborates, how to fetch a cloud-based Microsoft Project MPP file and generate a Risk Analysis Report in the PDF format using C# code:

var remoteName = await UploadFileToStorageAsync("Input_Project_File.mpp");
var response = await TasksApi.GetRiskAnalysisReportAsync(new GetRiskAnalysisReportRequest()
    {
        DistributionType = ProbabilityDistributionType.Normal,
        ConfidenceLevel = ConfidenceLevel.CL85,
        Optimistic = 80,
        Pessimistic = 130,
        Iterations = 200,
        TaskUid = 1,
        Name = remoteName,
        Folder = this.DataFolder
    });
Assert.IsTrue(response.Length > 0);
var buffer = new byte[4];
response.Read(buffer, 0, 4);
Assert.AreEqual("%PDF", Encoding.ASCII.GetString(buffer));

Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Free Trial

Manipulate Project Files via .NET Cloud REST API

This task management REST API enhances your C#, ASP.NET & other .NET cloud-based apps to access and manage Microsoft Project & Primavera P6 files in the cloud.

MS Project Processing Features

  • Add project assignments or delete project assignments along with their references.
  • Get project's outline codes by index & get links of all project tasks.
  • Import project from Primavera DB formats or from databases with specified connection string.
  • Get UIDs of all projects contained in the file & fetch required assignment with the project based on UID.
  • Manage project tasks, resource data, calendars & Work Breakdown Structure (WBS).
  • Perform risk analysis using Monte Carlo simulation and create report.
  • Create and set project document properties & fetch all or specific existing properties.
  • Get a project's extended attributes, time scaled data or recurring info of a specific task.
  • Reschedule project tasks, dates, and other settings.
  • Calculate slacks & recalculate project completion or incompletion work.
  • Fetch a project document in the desired format.
  • Delete project task with its related references & rebuild task tree.

New Features in Version 19.12.0

  • Imported projects from Project Online (Server) can now be saved as MPP file.
  • Imported projects from a database can now be saved as MPP file.

For the detailed notes, please visit Aspose.Tasks Cloud 19.12 Release Notes.

Read & Write MS Project Formats

MPP, MPX, XER, XML, PrimaveraP6XML

Save MS Project As

HTML, BMP, PNG, JPEG, TIFF, SVG, CSV, TXT, XLSX, PDF, XPS

Read MS Project Formats

MPT

Platform Independence

Aspose.Tasks Cloud’s platform independent document manipulation API is a true REST API that can be used from any platform. You can use it with any language or platform that supports REST, be it the web, desktop, mobile, or the cloud. The API integrates with other cloud services to provide you the flexibility you require for processing documents. It is suitable for the most types of businesses, documents, or content.

Getting Started with Aspose.Tasks Cloud SDK for .NET

You do not need to install anything to get started with Aspose.Tasks Cloud SDK for .NET. Just create an account at Aspose for Cloud and get your application information.

Simply execute Install-Package Aspose.Tasks-Cloud from the Package Manager Console in Visual Studio to fetch & reference Aspose.Tasks assembly in your project. If you already have Aspose.Tasks Cloud SDK for .NET and want to upgrade it, please execute Update-Package Aspose.Tasks-Cloud to get the latest version.

Please check the GitHub Repository for other common usage scenarios.

Use C# to Extract a Specific Task from Cloud MPP File

The following C# code sample demonstrates, how to get Microsoft Project MPP file in the cloud and extract a specific task based on its UID:

var remoteName = await UploadFileToStorageAsync("Input_Project_File.mpp");

var tasksResponse = await TasksApi.GetTaskAsync(new GetTaskRequest
    {
        TaskUid = 5,
        Name = remoteName,
        Folder = this.DataFolder
    });

Assert.AreEqual((int)HttpStatusCode.OK, tasksResponse.Code);
Assert.IsNotNull(tasksResponse.Task);
Assert.AreEqual(5, tasksResponse.Task.Uid);
CollectionAssert.AreEquivalent(new[] { 1, 2, 3, 4 }, tasksResponse.Task.SubtasksUids);
Assert.AreEqual(new DateTime(2015, 8, 3, 8, 0, 0), tasksResponse.Task.Start);
Assert.AreEqual(new DateTime(2015, 8, 6, 17, 0, 0), tasksResponse.Task.Finish);
Assert.AreEqual(new TimeSpan(1, 8, 0, 0, 0), tasksResponse.Task.RemainingWork);
Assert.AreEqual(1920, tasksResponse.Task.WorkVariance);

Generate Project Risk Analysis Report via C# Code

The following code sample elaborates, how to fetch a cloud-based Microsoft Project MPP file and generate a Risk Analysis Report in the PDF format using C# code:

var remoteName = await UploadFileToStorageAsync("Input_Project_File.mpp");
var response = await TasksApi.GetRiskAnalysisReportAsync(new GetRiskAnalysisReportRequest()
    {
        DistributionType = ProbabilityDistributionType.Normal,
        ConfidenceLevel = ConfidenceLevel.CL85,
        Optimistic = 80,
        Pessimistic = 130,
        Iterations = 200,
        TaskUid = 1,
        Name = remoteName,
        Folder = this.DataFolder
    });
Assert.IsTrue(response.Length > 0);
var buffer = new byte[4];
response.Read(buffer, 0, 4);
Assert.AreEqual("%PDF", Encoding.ASCII.GetString(buffer));

Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Free Trial

Release Notes

All imported projects from MS Project Online (Project Server) or database now can be saved as MPP file.
The complete list of changes can be found at https://docs.aspose.cloud/display/taskscloud/Aspose.Tasks+Cloud+19.12+Release+Notes

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
20.11.0 116 11/4/2020
20.8.0 128 8/11/2020
20.6.0 130 6/26/2020
19.12.0 201 12/13/2019
19.10.0 185 10/31/2019
19.4.0 234 7/17/2019
18.9.0 320 10/22/2018
18.8.2 309 9/11/2018
18.8.0 322 9/11/2018
18.2.0 466 3/11/2018
1.0.6 420 9/27/2017
1.0.5 417 9/27/2017
1.0.4 447 8/14/2017
1.0.3 531 1/6/2017
1.0.2 508 11/2/2016
1.0.1 499 10/21/2016
1.0.0 716 2/23/2016