• About
  • Privacy Policy
  • Utilities
Darchuk.NET

.NET Core 3

Allowing trailing JSON commas in ASP.NET Core 3

February 14, 2020 by Robert Leave a Comment

Trailing commas in JSON are not spec compliant in the ASP.NET Core 3 JSON serializer. Find out how to turn them on by default in your ASP.NET Core 3 web app.

Posted in: .NET Core, ASP.NET, C#, JavaScript, Web Development Tagged: .NET Core 3, ASP.NET Core, Json, Serialization

YADNC3JSG–Yet Another .NET Core 3.0 JSON Serializer Gotcha

October 25, 2019 by Robert Leave a Comment

Previously I wrote about several “gotchas” in the new JSON serializer that is built in to .NET Core 3.0.  Another one has cropped up, but it is different enough that I thought it warranted its own post. Type Promiscuity via GIPHY Back in 2010 or something like that, Ted Neward gave a talk about JavaScript … [Read more…]

Posted in: .NET Core, Angular, ASP.NET, C#, JavaScript, Typescript, Web Development Tagged: .NET Core 3, ASP.NET Core, C#, DotNetCore, JavaScript, Typescript

.NET Core 3 unit testing project sdk

October 11, 2019 by Robert 6 Comments

I was following the new .NET Core 2.2 –> 3.0 upgrade document, but when I updated my unit test project files, I accidentally set the SDK to  Microsoft.NET.Sdk.Web because that’s what my ASP.NET Core 3.0 web project was. via GIPHY The unit tests still ran and worked… for the most part.  One of them failed, … [Read more…]

Posted in: .NET Core, C#, Debugging, Unit Testing Tagged: .NET Core, .NET Core 3, C#, Debugging, unit testing

Recent Posts

  • Allowing trailing JSON commas in ASP.NET Core 3
  • YADNC3JSG–Yet Another .NET Core 3.0 JSON Serializer Gotcha
  • Logging in a .NET Core 3 SignalR client
  • .NET Core 3 unit testing project sdk
  • .NET Core 3.0 Upgrade–New JSON Serializer Gotchas

Recent Comments

  1. Robert on C# Setting Socket Keep-Alive
  2. Oliver Schramm on C# Setting Socket Keep-Alive
  3. John Anderson on Waiting for a keypress asynchronously in a C# console app
  4. Ronald Garlit on .NET Core 3 unit testing project sdk
  5. Ronald Garlit on .NET Core 3 unit testing project sdk

Copyright © 2025 Darchuk.NET.

Omega WordPress Theme by ThemeHall