This message was deleted.
# dotnet
s
This message was deleted.
g
I believe the part that says With some configuration not shown here... is referencing the fact that you'd need to load the configuration(s) yourself through something like:
Copy code
new ConfigurationBuilder
  .AddJsonFile("appSettings.json", true, true)
  .Build();
You'd then be able to load the configuration details into a POCO, where the rest of your app is free to use it.
w
Yes, you should wire up config as you would outside of Pulumi.
This really comes together when using the dotnet automation api, then you can bypass pulumi config altogether, and just use dotnet config sources. https://github.com/gitfool/Pulumi.Dungeon/blob/master/Cli/HostBuilderExtensions.cs#L20 You would have something similar and wire up
AddUserSecrets
config source.
👍 1