Can I use Aspose.Cells-Cloud nuget package with cells-cloud docker image without clientid or clientsecret?

Hello, I work for a customer who does have a paid instance of cells-cloud, but am trying to familiarise myself with being able to support/fault find.

I have a docker image running locally on my machine “zen_lamarr” “aspose/cells-cloud:latest”, i can see it running, access the swagger documentation via

http://localhost:8090/swagger/ui/index.html

and invoke

http://localhost:8090/v3.0/cells

successfully.

but if i try to do this via C# code using Aspose.Cells-Cloud I need to create a CellsApi object with a clientid and clientsecret, (which I don’t have), then it fails.

I don’t need full blown access, I just need to evaluate it and develop some basic diagnostics and familiarise myself with it.

(for the moment i’ll use postman I think).

code below

        CellsApi api = new CellsApi("", "", "http://localhost:8090/", "v3.0");
        var x = api.GetCellsCloudServiceStatus(new GetCellsCloudServiceStatusRequest());

error is

System.AggregateException: ‘One or more errors occurred. (Not Found)’

@nichom

Can you please clarify if you are looking for a way to use the Aspose.Cells-Cloud nuget package without providing clientid and clientsecret, or if you need assistance with a specific error message you are encountering?

I want to use the nuget package to program against the latest aspose docker image, without having a clientid or clientsecret.

When i do that with the code I’ve included I get the error I’ve documented.

I was hoping there was basic functionality.

Actually I’ve run it up using or license keys for “Aspose Cloud Self-Hosting” and specified the ClientId and ClientSecret

“Env”: [
“LicensePublicKey=asposeforcloud******************”,
“LicensePrivateKey=****************”,
“ClientId=ClientId”,
“ClientSecret=ClientSecret”,

the code reads

        CellsApi api = new CellsApi("ClientId", "ClientSecret", "http://localhost:8091/");
        var x = api.GetCellsCloudServiceStatus(new GetCellsCloudServiceStatusRequest());

and the call still fails (but works through swagger/ui etc…so I’m a bit confused.

@nichom,

Aspose.Cells Cloud Docker is not currently supported in the SDK, and we will resolve this issue as soon as possible.

@nichom Hello, we have updated the nuget package to the latest version 25.1.2, adding support for docker. You can use the code:

CellsApi api = new CellsApi("ClientId", "ClientSecret", "http://localhost:8091/");
CellsApi.IsLocalCloud = true;

add a judgment on whether to use local docker.If there is any problem in use, we are always here to help you solve it.