How to Fix 'JsonReaderException ' runtime error in ASP.NET Core 3.1'?

preview_player
Показать описание
this offer is only valid until May 31, 2024, 11:00 hrs (New Zealand Time).

#MicrosoftStack #UdemyCourses #LearnCoding #Promo #Discounts 🚀 🚀

📅 **Valid until March 10, 2024, 22:00 (New Zealand Time)**

🌟 Dive into the world of Microsoft Stack with exclusive $9.99 discounts on these Udemy courses:

In this video, I have shared my experience of debugging a Visual Studio 2019 runtime exception "JsonReaderException: '}' is invalid after a single JSON value. Expected end of data." It's been recorded in keeping 'C# exception handling and debugging tutorial for beginners', everyone can learn from this. If it helps the developer community in any way, I shall feel my effort in creating this video is successful.

I came across this error while recording a tutorial in the project "Creating a Web Api in ASP.NET Core 3.1 and Consume it with MVC" which is included in the playlist "Web Api Consumption by ASP.NET Core MVC Client"

Like || Share || Spread || Love

For more updates Follow us on:-

Рекомендации по теме
Комментарии
Автор

JSonRuntime Exception is an important exception that needs to be debugged and sorted out in C# ASP.NET Core 3.1 project. In this tutorial, I have come across a runtime error during my recent project on Creating an ASP.NET Core 3.1 Web API and Consume it with an MVC ASP.NET Core 3.1 Client. I have solved the error and have also explained how to recreate the error in this video. The solution to this error was not found even in Stackoverflow.com. Let me know of your valuable opinion on the same.

Kaushik-RoyChowdhury
Автор

You're life saver! Thank you so much! You are awesome!
I look into my appsetting.json file and successfully debug the error!
Hahaha

mtq
Автор

I just went through your page and noticed you have some videos of Razor. I'm new to C# and starting with Razor. so i subscribed.

jamesscott
Автор

Thanks, this video made me verify that the problem was from the appsettings.json file. mine happened to be a missing comma.

jamesscott
Автор

Please share your full code of appsettings.json file

payalkhera
welcome to shbcf.ru