diff --git a/content/root/quick-start-guide.textile b/content/root/quick-start-guide.textile index a9afcbb5ee..a9c268c508 100644 --- a/content/root/quick-start-guide.textile +++ b/content/root/quick-start-guide.textile @@ -186,14 +186,27 @@ blang[swift]. ``` blang[csharp]. - The Ably Client Library SDK is available as a "Nuget package":https://www.nuget.org/packages/ably.io/. + The Ably Client Library SDK is hosted on "GitHub":https://github.com/ably/ably-dotnet and is also available as a "Nuget package":https://www.nuget.org/packages/ably.io/. - To get started with your project, install the SDK from the Package Manager Console: + To get started with your project, install the package into your project directory using the .NET CLI: + ```[sh] + dotnet add package ably.io --version [version] + ``` + + Or install the SDK from the Package Manager Console: + ```[text] PM> Install-Package ably.io ``` + Then add the SDK to your @.cs@ file: + + ```[csharp] + using IO.Ably; + using IO.Ably.Realtime; + ``` + blang[flutter]. The Ably Client Library SDK is hosted on "GitHub":https://github.com/ably/ably-flutter and available as a "Flutter plugin":https://pub.dev/packages/ably_flutter. @@ -282,7 +295,7 @@ ably.connection.on(.connected) { } bc[csharp]. var ably = new AblyRealtime("{{API_KEY}}"); -ably.Connection.On(ConnectionState.Connected, args => +ably.Connection.On(ConnectionEvent.Connected, args => { Console.Out.WriteLine("Connected to Ably!"); }); @@ -498,8 +511,8 @@ ably.connection.on(.closed) { print("Closed connection to Ably.") } -bc[csharp]. ably.Connection.Close; -ably.Connection.On(ConnectionState.Closed, args => +bc[csharp]. ably.Connection.Close(); +ably.Connection.On(ConnectionEvent.Closed, args => { Console.Out.WriteLine("Closed connection to Ably."); });