Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Explicitly set `MaxDepth` when using `Newtonsoft.Json` for SignalR hub protocol

Open Beginner friendly
#69,842 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
csharp
Domain
backend

Research direction

The issue asks for the MaxDepth setting to be set explicitly in the SignalR hub protocol that uses Newtonsoft.Json, instead of inheriting the library default of 64. Start by finding where the System.Text.Json protocol already sets MaxDepth, and mirror that for the Newtonsoft path. Done means the Newtonsoft protocol sets the value explicitly and existing SignalR protocol tests still pass.

Written by the indexing model from the issue text.

Description

area-signalr

The SignalR hub protocol using Newtonsoft.Json currently relies on the default MaxDepth used by Newtonsoft.Json (64). Instead of relying on that package's default, we should explicitly set it - like we do when using System.Text.Json.

Dominant language
C#
Stars
38.5k
Forks
13.8k
Avg merge
2d 9h
Merged PRs (30d)
227

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/aspnetcore

All issues in dotnet/aspnetcore

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.