Aniket Narvankar

Aniket Narvankar

  • 533
  • 2.1k
  • 602.5k

Definining date in appsettings.json (Console Application .net core)

Feb 22 2022 11:01 AM

Have created a console application in .net core, i want to define date in appsettings.json and then access in program.cs,how can this be done

here is appsetting.json code i am trying

 "date": {
     
    "todayDate": ''new Date()'
     
  }

please let me know about the same


Answers (3)