-
Hi, I'm hoping to be able to do something like this: On startup, check if my custom settings exists, if not, create it with values from the appsettings What's I'm struggling with:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I've also tried using the builder extension method like OrchardCore.Email,but no luck either;
ok I finally figured it out, but now how do i update SiteSettings from the StartupBase.cs?
|
Beta Was this translation helpful? Give feedback.
-
Ok this is the full code to acheive what I want:
Hopefully someone else finds it useful
Views/Items/TestSettings.Edit.cshtml
|
Beta Was this translation helpful? Give feedback.
Ok this is the full code to acheive what I want:
Hopefully someone else finds it useful