Beginner question. what does this createhostbuilder do?
I'm learning .net core and I saw this code in program.cs. I can understand the main method calls this createhostbuilder which in turn sets some config value. But what I don't know is from where this configuration comes. where does this config.AddKeyPerfile do. Can anyone explain
2 Replies
I don't see any file with the file name secrets or Platform scerets in the codebase
Of course not, because they should kept secret and not published to the rest of the world 😉
You should also find that entries in
.gitignore
file to ensure they were ignored by the repository