TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pradeep Rawat
NA
286
8.5k
how to add APPsetting keys and value in other layer(DAL).
Dec 30 2020 1:29 PM
using (var client = new HttpClient())
{
//client.BaseAddress = new Uri("https://cou-wrapper-api.setu.co");
client.DefaultRequestHeaders.Accept.Clear();
client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
client.DefaultRequestHeaders.Add("axxsx-channel-id", "Prghfdhgfh");
client.DefaultRequestHeaders.Add("axxxs-client-id", "fgfhdgfdhe-dc6b60e99403");
}
///app setting //
<appSettings>
<add key="axxsx-channel-id" value="dsfadsafdsaf"/>
<add key="axxxs-client-id" value="f85ede94-1fcb-42d7-ac5e-dc6b60e99403"/>
</appSettings>
Reply
Answers (
1
)
how to count a <i></i> tag
About Session alive