I followed this article (https://cultiv.nl/blog/using-umbraco-migrations-to-deploy-changes/) to create migrations. However, when I read the comments, I saw Shannon say that apparently, it's not recommended to use "ApplicationContent.Current" in migrations context.
However, I'd like my migration to create some default page in my site. How can I do this without accessing "ApplicationContext.Current"?
Create content in a migration
Hello,
I followed this article (https://cultiv.nl/blog/using-umbraco-migrations-to-deploy-changes/) to create migrations. However, when I read the comments, I saw Shannon say that apparently, it's not recommended to use "ApplicationContent.Current" in migrations context.
However, I'd like my migration to create some default page in my site. How can I do this without accessing "ApplicationContext.Current"?
is working on a reply...