Rohan

Rohan

  • NA
  • 1.4k
  • 118k

Get value from appsettings.json

Nov 23 2021 5:30 AM

Hello everyone

how to set value in model class properties get from appsettings.json file

public class InputModel
{
    public string StripeToken { get; set; }
    public string StripeKey =-- Here how to set value get from appsetting.json file this is my model class
}

 


Answers (3)