Комментарии:
I am using windows. Debugging returns null variables; I also used TraversePath() and nothing. What would be the error?, thanks
ОтветитьHow would I do this on windows 2016 server?
ОтветитьHow do you add this to a new .NetCore 6.
ОтветитьNice, short and to the point video, thanks a lot!
ОтветитьAwesome
ОтветитьI´d like to know how to protect my connection string with .env
ОтветитьThanks, work like a charm ;)
in my case I had to use
DotNetEnv.Env.TraversePath().Load();
Awesome way to keep your app's secrets secret! :)
ОтветитьI do not belive that this works on a mac, variables are not seen and always blank
ОтветитьThanks!!!
ОтветитьNice video, thank you!
ОтветитьGreat video. Short and to the point. Using a .env file should play rather nicely with Docker and/or kubernetes too.
Ответитьgreat, thanks, could you also do a video on how the default way with the appsettings.json file would be?
Ответить