Skip to content

Conversation

@osfameron
Copy link
Collaborator

NB: I've not been able to install .NET 3.3 as yet, and may need to wipe and reinstall .NET entirely 😡

So I've not reviewed the Transactions or Getting Started code in detail, but have aligned the Cloud.csx example with StartUsing.cs as we've done elsewhere.

@osfameron osfameron changed the base branch from release/3.2 to release/3.3 April 27, 2022 15:17
+
--
If you are connecting to https://docs.couchbase.com/cloud/index.html[Couchbase Capella], be sure to get the correct endpoint as well as user, password, and `couchbasecloudbucket` -- and see the <<cloud-connections, Cloud section>>, below.
If you are connecting to https://docs.couchbase.com/cloud/index.html[Couchbase Capella], be sure to get the correct endpoint as well as user, password -- and see the <<cloud-connections, Cloud section>>, below.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We know longer have the Cloud section - we just need to give the C# equivalent of
timeout_opts = ClusterTimeoutOptions(kv_timeout=timedelta(seconds=10))

[which, I realise, we also have to add to the Scala and Java docs]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... but you can also link to the #troubleshooting section at the end, which contains what the cloud-connections section originally held.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so on balance all OK, or needs to be done? 😕

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Done in "Move to Cloud.cs" commit)

#r "nuget: CouchbaseNetClient, 3.2.8-pre"
// #r "nuget: System.Text.Json, 6.0.2"
// #r "nuget: Microsoft.Extensions.Logging.Abstractions, 6.0.1"
// #r "nuget: CouchbaseNetClient, 3.3.0"
Copy link
Contributor

@maria-robobug maria-robobug Apr 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since 3.3.0 is already available: https://www.nuget.org/packages/CouchbaseNetClient/3.3.0
Should be able to pull that in now?

Ah my bad, clicked on release note link and thought it was published, but nope (ignore me).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The specified version 3.3.0 was not found. You have been taken to version 3.2.9.
yup, schroedinger's release artefact 😂

include::devguide:example$dotnet/Cloud.csx[tags=**]
----
The Couchbase Capella free trial version comes with the Travel Sample Bucket, and its Query indexes, loaded and ready.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is after the tabs in other SDKs - it helps reinforce the Capella is easier message ;)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, I moved it inside (here and Java I think?) as it didn't make much sense to me after the tabs for the local server version

Copy link
Contributor

@maria-robobug maria-robobug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

`dotnet-script` isn't happy with SDK 3.3.0 versions of
Microsoft.Extensions.Logging.Abstractions 6.0.0 vs 6.0.1
but running with your own .csproj has no problem.

In own subdirectory, to get the primary benefit of script,
that is, not having to compile *all the examples* just to
run one example.
USAGE:

  docker-compose run cb-dotnet-sdk bash
@osfameron osfameron merged commit e4a01f8 into couchbase:release/3.3 Apr 28, 2022
@jeffrymorris
Copy link
Contributor

jeffrymorris commented Apr 28, 2022

@osfameron ping me if your still having trouble installing 3.3.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants