Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jason Prothero 422 posts 1243 karma points c-trib
    Jan 14, 2019 @ 17:33
    Jason Prothero
    0

    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?

  • Rob Maas 8 posts 88 karma points
    May 03, 2019 @ 06:51
    Rob Maas
    0

    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

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    May 03, 2019 @ 08:03
    Dave Woestenborghs
    2

    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

  • Jason Prothero 422 posts 1243 karma points c-trib
    May 10, 2019 @ 15:48
    Jason Prothero
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft