Aspose.Tasks-Cloud 20.8.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 20.8.0
dotnet add package Aspose.Tasks-Cloud --version 20.8.0
<PackageReference Include="Aspose.Tasks-Cloud" Version="20.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Tasks-Cloud --version 20.8.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

Nuget Nuget GitHub

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 the project's outline codes by index & get links of all project tasks.
  • Import project from Primavera DB formats or from databases with the specified connection string.
  • Get UIDs of all projects contained in the file & fetch the 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 a 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 & Enhancements Nuget

  • Ability to specify the non-default path for Project Server's PWA URL.
  • Ability to modify timephasedData collection in assignments.

For the detailed notes, please visit Aspose.Tasks Cloud 20.8 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

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));

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Free Trial

Manipulate Project Files via .NET Cloud REST API

Nuget Nuget GitHub

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 the project's outline codes by index & get links of all project tasks.
  • Import project from Primavera DB formats or from databases with the specified connection string.
  • Get UIDs of all projects contained in the file & fetch the 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 a 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 & Enhancements Nuget

  • Ability to specify the non-default path for Project Server's PWA URL.
  • Ability to modify timephasedData collection in assignments.

For the detailed notes, please visit Aspose.Tasks Cloud 20.8 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

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));

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Free Trial

Release Notes

* Add an ability to specify the non-default path for Project Server's PWA URL.
     * Add an ability to modify timephasedData collection in assignments.

     The complete list of changes can be found at https://docs.aspose.cloud/display/taskscloud/Aspose.Tasks+Cloud+20.8+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 90 11/4/2020
20.8.0 117 8/11/2020
20.6.0 123 6/26/2020
19.12.0 189 12/13/2019
19.10.0 173 10/31/2019
19.4.0 222 7/17/2019
18.9.0 309 10/22/2018
18.8.2 298 9/11/2018
18.8.0 311 9/11/2018
18.2.0 453 3/11/2018
1.0.6 409 9/27/2017
1.0.5 406 9/27/2017
1.0.4 435 8/14/2017
1.0.3 520 1/6/2017
1.0.2 497 11/2/2016
1.0.1 489 10/21/2016
1.0.0 705 2/23/2016