3
Answers

Get value from appsettings.json

Rohan

Rohan

3y
606
1

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)