Failed to load configuration from file .NET Core in C#

Sometime in appsetting.json file in .NET Core in C# we do some common mistakes. like forget comma, or brackets.

In this article I will show you how to solve this error while running the application in c# .NET core. appsetting.json file is used for important information to store and then retrieve when needed.

Failed to load configuration from file .NET Core in C#

Error: c# failed to load configuration from file .NET core

Solution:

Video:

Steps to follow:

  • Open Solution Explorer
  • Find appsetting.json File
  • Open appsettting.json file
  • There is a green line in appsetting.json
  • Just place, or bracket as per your code.
  • Run your code.
  • That’s it. Error Gone

If you find it useful then please share it with World.


3 thoughts on “Failed to load configuration from file .NET Core in C#”

  1. Woah! I’m really loving the template/theme of this blog.

    It’s simple, yet effective. A lot of times it’s hard
    to get that “perfect balance” between usability and visual appeal.

    I must say that you’ve done a awesome job with this. Additionally, the blog
    loads extremely quick for me on Opera. Outstanding Blog!

    Reply

Leave a Comment