M!RFAN
M!RFAN
CC#
Created by M!RFAN on 10/14/2024 in #help
.Net 8 Web Api Config
I really need to study this
79 replies
CC#
Created by M!RFAN on 10/14/2024 in #help
.Net 8 Web Api Config
can I have some example because stackoverflow is mostly about JSONFIle on class Lib
79 replies
CC#
Created by M!RFAN on 10/14/2024 in #help
.Net 8 Web Api Config
But I need a config value in class library. How to get that
79 replies
CC#
Created by M!RFAN on 10/14/2024 in #help
.Net 8 Web Api Config
Worked on Legacy system for way too long and don't want my peers to be uncomfortable when I'm migrating . Guess we all need to upgrade I'm deeply grateful and Really SORRY for my legacy approach
79 replies
CC#
Created by M!RFAN on 10/14/2024 in #help
.Net 8 Web Api Config
Im REALLY REALLY SORRY
79 replies
CC#
Created by M!RFAN on 10/14/2024 in #help
.Net 8 Web Api Config
But I want to set env vars in pool and let my webapi to get from there using Environment.GetEnvironmentVariable without IConfiguration. I tried setting it in pool en vars but still not working unless i set it in system level
79 replies
CC#
Created by M!RFAN on 10/14/2024 in #help
.Net 8 Web Api Config
for say in aws lambda I need to redeploy my function only when I need to change config value in appsettings. So is there any alternative in this case
79 replies
CC#
Created by M!RFAN on 10/14/2024 in #help
.Net 8 Web Api Config
Ok so manually editing appsettings.json can trigger hot reload and the iis works with my new config values right?
79 replies
CC#
Created by M!RFAN on 10/14/2024 in #help
.Net 8 Web Api Config
how would you do in my situation where I need to set some config values but later need to change it but using IIS application settings tab
79 replies
CC#
Created by M!RFAN on 10/14/2024 in #help
.Net 8 Web Api Config
I mean after publishing I get web.config and appsettings file
79 replies
CC#
Created by M!RFAN on 10/14/2024 in #help
.Net 8 Web Api Config
More like I can't understand the docs. Sorry
79 replies
CC#
Created by M!RFAN on 10/14/2024 in #help
.Net 8 Web Api Config
but in IIS using application settings I can dynamically set config values and connection strings while using.net 4.5.*. So is there any way to do like that in ,net 8
79 replies
CC#
Created by M!RFAN on 10/14/2024 in #help
.Net 8 Web Api Config
But it doesn't read from there
79 replies
CC#
Created by M!RFAN on 10/14/2024 in #help
.Net 8 Web Api Config
Tried
79 replies
CC#
Created by M!RFAN on 10/14/2024 in #help
.Net 8 Web Api Config
In my .net 8 webapi, I'm using Environment.GetEnvitonmentVariable to get some env values While on development those values are stored in launchsettings.json but now after publishing to IIS, how to set those environment variables
79 replies