Skip to content

Rename Json protocol to NewtonsoftJson - #4319

Merged
BrennanConroy merged 7 commits into
masterfrom
brecon/newtonsoftJson
Dec 3, 2018
Merged

BrennanConroy merged 7 commits into
masterfrom
brecon/newtonsoftJson

Conversation

@BrennanConroy

Copy link
Copy Markdown
Member

Fixes aspnet/SignalR#3308

We talked about removing NewtonsoftJson protocol from being on by default, do we want to make that change?

@BrennanConroy BrennanConroy added the area-signalr Includes: SignalR clients and servers label Nov 29, 2018
Comment thread src/SignalR/run.ps1 Resolved
Comment thread src/SignalR/run.cmd Resolved
var expectedOutput = Frame(testData.Json);

var protocolOptions = new JsonHubProtocolOptions
var protocolOptions = new NewtonsoftJsonHubProtocolOptions

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Rename JsonHubProtocolTests.cs -> NewtonsoftJsonHubProtocolTests.cs

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I was going to use this file for both NewtonsoftJson and System.Text.Json when we add that.

@@ -1,253 +0,0 @@
{
"AssemblyIdentity": "Microsoft.AspNetCore.SignalR.Protocols.Json, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are these still be verified? Should we generate a new baseline?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I can probably copy the same baseline file and change the types manually. The methods and everything should stay the same.

@BrennanConroy
BrennanConroy merged commit 80ae51e into master Dec 3, 2018
@BrennanConroy
BrennanConroy deleted the brecon/newtonsoftJson branch December 3, 2018 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-signalr Includes: SignalR clients and servers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants