Unfortunately, after the build/deploy process is complete, we cannot login to the back-office. This is addressed in the article, but we haven't got the solutions provided to work.
Is anyone doing pre-compiled views as part of an automated build and deploy process? How do you get around pre-compiling the "umbraco" and "umbraco_client" folders?
I'm not sure if you've found a solution yet, but we are using the described technique.
According to the PrecompiledApp.config ASP.NET will determine if a application uses precompiled views.
The thing is that we want to use both compiled views (your custom views) and uncompiled views (Umbraco views).
The trick is to adjust the PrecompiledApp.config file and set updateable="true" so the application allows usage of uncompiled views.
Thanks for the answers all. That blog was interesting. It sounds like there aren't a lot of perfect solutions, but so good ideas to work around issues.
Pre-compiled Views in DevOps Automated Build and Deploy with Umbraco
We are trying to get our view pre-compilation process working with a DevOps process that uses Azure DevOps/MSBuild. We are very close using this technique: https://colours.nl/blog/road-to-precompiled-web-application-based-on-umbraco-cms
Unfortunately, after the build/deploy process is complete, we cannot login to the back-office. This is addressed in the article, but we haven't got the solutions provided to work.
Is anyone doing pre-compiled views as part of an automated build and deploy process? How do you get around pre-compiling the "umbraco" and "umbraco_client" folders?
Hello Jason,
I'm not sure if you've found a solution yet, but we are using the described technique. According to the PrecompiledApp.config ASP.NET will determine if a application uses precompiled views. The thing is that we want to use both compiled views (your custom views) and uncompiled views (Umbraco views).
The trick is to adjust the PrecompiledApp.config file and set updateable="true" so the application allows usage of uncompiled views.
Rob
Hi Guys,
That blog is not available anymore on that url. If you are looking for it, it has moved here : https://dobryak.org/road-to-precompiled-web-application-based-on-umbraco-cms/
Dave
Thanks for the answers all. That blog was interesting. It sounds like there aren't a lot of perfect solutions, but so good ideas to work around issues.
Thanks, Jason
is working on a reply...