Skip to content

Edu 1956 Improves Pub/Sub dotnet readme - #1297

Merged
ttypic merged 1 commit into
mainfrom
EDU-1956-Improve-Pub/Sub-dotnet-README
Jul 23, 2025
Merged

Edu 1956 Improves Pub/Sub dotnet readme#1297
ttypic merged 1 commit into
mainfrom
EDU-1956-Improve-Pub/Sub-dotnet-README

Conversation

@franrob-projects

@franrob-projects franrob-projects commented Jun 17, 2025

Copy link
Copy Markdown
Contributor

This PR streamlines and refocuses the content of README.md to improve readability, simplify navigation, and make ongoing maintenance easier.

Commits

EDU-1956: Adds header and new shield

Adds header image and shields.

EDU-1956: Adds getting started

Adds getting started section.

EDU-1956: Rewrites introduction and overview

Rewrites intro and overview.

EDU-1956: Rewrites supported platforms section

Updates supported platforms for better clarity.

EDU-1956: Moves and improves MAUI config

Improves MAUI config clarity.

EDU-1956: Removes random docs section

Removes unrelated docs.

EDU-1956: Removes install and usage sections

Removes install/usage - - already in the docs.

EDU-1956: Removes known limitations

Removes limitations section -- and ads to support.

EDU-1956: Removes dependencies section
Removes the dependencies section as it's unrelated to Ably.

EDU-1956: Adds releases

Adds releases section.

EDU-1956: Moves contributing

Moves contributing section.

EDU-1956: Adds to support section

Adds support section content.

Jira

https://ably.atlassian.net/browse/EDU-1956

Summary by CodeRabbit

  • Documentation
    • Streamlined the README for clarity, focusing on key information and references.
    • Removed detailed usage examples and advanced feature explanations.
    • Updated badges and header image.
    • Included links to official documentation, quickstarts, examples, changelog, and contribution guidelines.
    • Retained a simplified example snippet and a MAUI-specific configuration note.

@coderabbitai

coderabbitai Bot commented Jun 17, 2025

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

Walkthrough

The README.md file was rewritten and condensed, transforming it from a detailed, example-rich document into a concise overview. Most in-depth usage examples and explanations were removed, with the new version focusing on a high-level introduction, supported platforms, and links to external documentation and resources.

Changes

File(s) Change Summary
README.md Rewrote and condensed content, removing detailed examples and explanations; added resource links and updated badges.

Assessment against linked issues

Objective Addressed Explanation
Update SDK README for .NET (EDU-1956)

Possibly related PRs

Suggested reviewers

  • VeskeR

Poem

A README once long, now short and neat,
With links and badges, it's quite the feat!
No more examples sprawling wide,
Just guides and docs to help you glide.
The rabbit hops with pride anew,
For clarity reigns—concise and true!
🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4b9c219 and b8ffdf1.

⛔ Files ignored due to path filters (1)
  • images/NETSDK-github.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • README.md (1 hunks)
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch EDU-1956-Improve-Pub/Sub-dotnet-README

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions
github-actions Bot temporarily deployed to staging/pull/1297/features June 17, 2025 16:34 Inactive
@github-actions
github-actions Bot temporarily deployed to staging/pull/1297/features June 23, 2025 13:22 Inactive
@github-actions
github-actions Bot temporarily deployed to staging/pull/1297/features June 23, 2025 13:23 Inactive
@github-actions
github-actions Bot temporarily deployed to staging/pull/1297/features June 23, 2025 13:25 Inactive
@franrob-projects
franrob-projects force-pushed the EDU-1956-Improve-Pub/Sub-dotnet-README branch from 5ee331d to 9a99b65 Compare June 23, 2025 13:25
@github-actions
github-actions Bot temporarily deployed to staging/pull/1297/features June 23, 2025 13:26 Inactive
@franrob-projects
franrob-projects marked this pull request as ready for review June 23, 2025 13:36

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Nitpick comments (2)
README.md (2)

75-76: Capitalize “Framework” and clean up formatting

  • Update the heading to “.NET Framework” (capitalize “Framework”).
  • Remove the extra space before the comma in “scenarios, for example.”
-### Increasing transport send and receive buffers for .NET framework
+### Increasing transport send and receive buffers for .NET Framework

- In high-throughput scenarios , for example
+ In high-throughput scenarios, for example

85-93: Optional: Simplify namespace usage in snippet
To improve clarity, consider adding using IO.Ably; at the top of the snippet and then instantiating the transport factory without full qualification:

using IO.Ably;
// ...
options.TransportFactory = new MsWebSocketTransport.TransportFactory(websocketOptions);
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ad86379 and 9a99b65.

⛔ Files ignored due to path filters (1)
  • images/NETSDK-github.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • README.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
README.md

[uncategorized] ~47-~47: Although a hyphen is possible, it is not necessary in a compound modifier in which the first word is an adverb that ends in ‘ly’.
Context: ... issues caused by assembly trimming, as ably-dotnet relies on the reflection API. To avoid...

(HYPHENATED_LY_ADVERB_ADJECTIVE)


[uncategorized] ~61-~61: Although a hyphen is possible, it is not necessary in a compound modifier in which the first word is an adverb that ends in ‘ly’.
Context: ...``` --- ## Releases The CHANGELOG.md contains det...

(HYPHENATED_LY_ADVERB_ADJECTIVE)


[style] ~61-~61: This adverb was used twice in the sentence. Consider removing one of them or replacing them with a synonym.
Context: ...so view all Ably releases on changelog.ably.com. --- ...

(ADVERB_REPETITION_PREMIUM)


[misspelling] ~67-~67: Did you mean “too”?
Context: ...NTRIBUTING.md) guidelines to contribute to Ably. --- ## Support, feedback and tr...

(TO_TOO)


[grammar] ~75-~75: There seems to be a noun/verb agreement error. Did you mean “sends” or “sent”?
Context: ... discussions. ### Increasing transport send and receive buffers for .NET framework ...

(SINGULAR_NOUN_VERB_AGREEMENT)

🪛 markdownlint-cli2 (0.17.2)
README.md

22-22: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)

⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: check (net7.0)
🔇 Additional comments (10)
README.md (10)

1-3: Verify badge URLs and image paths
The NuGet badge references ably.io and the header image path should be confirmed against the repo’s file structure to ensure they resolve correctly.


5-5: Title header looks good
The main heading clearly identifies the SDK and aligns with the repository name.


9-9: Approve feature summary
The concise description of key features (pub-sub messaging, history, presence, push notifications) is clear and accurate.


13-14: Approve external links
The links to documentation and examples correctly point users to the right resources.


18-24: Approve Getting started section
The new “Getting started” section succinctly directs users to the Quickstart guide.


26-38: Approve Supported platforms table
The platform support matrix is clear, comprehensive, and formatted correctly.


40-43: Approve deprecation notice
The note on upcoming deprecation timelines is prominently displayed and properly highlighted.


45-55: Approve MAUI configuration snippet
The example for preventing assembly trimming is clear and includes the correct XML elements.


65-69: Approve Contributing section
Linking to the CONTRIBUTING guidelines is helpful for potential contributors.


71-74: Approve Support section header
This section clearly directs users to support channels for assistance and feedback.

Comment thread README.md Outdated
Comment thread README.md
Comment on lines 59 to 107

Request a `Vcdiff` formatted delta stream using channel options when you get the channel:

```csharp
var channelParams = new ChannelParams();
channelParams.Add("delta", "vcdiff");
var channelOptions = new ChannelOptions();
channelOptions.Params = channelParams;
IRealtimeChannel channel = ably.Channels.Get(ChannelName, channelOptions);
```
The [CHANGELOG.md](/ably/ably-dotnet/blob/main/CONTRIBUTING.md) contains details of the latest releases for this SDK. You can also view all Ably releases on [changelog.ably.com](https://changelog.ably.com).

Beyond specifying channel options, the rest is transparent and requires no further changes to your application. The `message.Data` instances that are delivered to your `Action<Message>` handler continue to contain the values that were originally published.
---

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue

Fix CHANGELOG link target
The link text references CHANGELOG.md but points to CONTRIBUTING.md. Please update the URL to /ably/ably-dotnet/blob/main/CHANGELOG.md.

Proposed diff:

-[CHANGELOG.md](/ably/ably-dotnet/blob/main/CONTRIBUTING.md)
+[CHANGELOG.md](/ably/ably-dotnet/blob/main/CHANGELOG.md)
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
## Releases
Request a `Vcdiff` formatted delta stream using channel options when you get the channel:
```csharp
var channelParams = new ChannelParams();
channelParams.Add("delta", "vcdiff");
var channelOptions = new ChannelOptions();
channelOptions.Params = channelParams;
IRealtimeChannel channel = ably.Channels.Get(ChannelName, channelOptions);
```
The [CHANGELOG.md](/ably/ably-dotnet/blob/main/CONTRIBUTING.md) contains details of the latest releases for this SDK. You can also view all Ably releases on [changelog.ably.com](https://changelog.ably.com).
Beyond specifying channel options, the rest is transparent and requires no further changes to your application. The `message.Data` instances that are delivered to your `Action<Message>` handler continue to contain the values that were originally published.
---
## Releases
The [CHANGELOG.md](/ably/ably-dotnet/blob/main/CHANGELOG.md) contains details of the latest releases for this SDK. You can also view all Ably releases on [changelog.ably.com](https://changelog.ably.com).
---
🧰 Tools
🪛 LanguageTool

[uncategorized] ~61-~61: Although a hyphen is possible, it is not necessary in a compound modifier in which the first word is an adverb that ends in ‘ly’.
Context: ...``` --- ## Releases The CHANGELOG.md contains det...

(HYPHENATED_LY_ADVERB_ADJECTIVE)


[style] ~61-~61: This adverb was used twice in the sentence. Consider removing one of them or replacing them with a synonym.
Context: ...so view all Ably releases on changelog.ably.com. --- ...

(ADVERB_REPETITION_PREMIUM)

🤖 Prompt for AI Agents
In README.md around lines 59 to 63, the link text says CHANGELOG.md but the URL
incorrectly points to CONTRIBUTING.md. Update the URL in the markdown link to
point to /ably/ably-dotnet/blob/main/CHANGELOG.md so the link target matches the
link text.

@github-actions
github-actions Bot temporarily deployed to staging/pull/1297/features July 23, 2025 09:08 Inactive
@franrob-projects
franrob-projects force-pushed the EDU-1956-Improve-Pub/Sub-dotnet-README branch from bd4864d to 60898a1 Compare July 23, 2025 10:55
@github-actions
github-actions Bot temporarily deployed to staging/pull/1297/features July 23, 2025 10:56 Inactive
EDU-1956: Adds getting started

EDU-1956: Rewrites introduction and overview

EDU-1956: Rewrites supported platforms section

EDU-1956: Moves and improves MAUI config

EDU-1956: Removes random docs section

EDU-1956: Removes install and usage sections

EDU-1956: Removes known limitations

EDU-1956: Removes dependencies section

EDU-1956: Adds releases

EDU-1956: Moves contributing

EDU-1956: Adds to suport section

EDU-1956: Adds trimmed examples
@franrob-projects
franrob-projects force-pushed the EDU-1956-Improve-Pub/Sub-dotnet-README branch from 60898a1 to b8ffdf1 Compare July 23, 2025 10:56
@ttypic
ttypic merged commit 8e01825 into main Jul 23, 2025
6 of 10 checks passed
@ttypic
ttypic deleted the EDU-1956-Improve-Pub/Sub-dotnet-README branch July 23, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants