Copied to clipboard

Flag this post as spam?

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


  • Per Bolmstedt 28 posts 178 karma points
    Oct 03, 2018 @ 18:10
    Per Bolmstedt
    0

    Setup Umbraco Cloud 7 as ASP.NET Web Application Project

    What's the process for setting up an Umbraco Cloud 7 site as an ASP.NET Web Application Project?

    The template created by the Umbraco-as-a-Service installers sets up an ASP.NET Web Site Project. Is this something you can safely convert to an ASP.NET Web Application? If so, how? Add a .csproj, remove the App_Code folder, add the NuGet references?

    Creating an empty ASP.NET Web Application works for on-premise Umbraco 7 sites, but can those safely be converted to Umbraco Cloud-ready sites?

    Is there an official howto for this?

    What's working for others?

    Please note, we have this working for non-Cloud Umbraco 7 sites. It's the "from UaaS installer to ASP.NET Web Application Project" process we don't know.

  • Per Bolmstedt 28 posts 178 karma points
    Oct 03, 2018 @ 19:55
    Per Bolmstedt
    100

    Umbraco Cloud Support suggested using the "Migrate an existing site to Umbraco Cloud" guide to create a Cloud site containing the on-premise-style Umbraco site.

    The process would then be:

    1. Setup an on-premise Umbraco site locally (new ASP.NET Web Application etc)
    2. Clone a new Umbraco Cloud site to somewhere locally
    3. "Migrate" the new on-premise Umbraco site to the Umbraco Cloud clone using the "Migrate" guide
    4. We now have an on-premise style Umbraco (ASP.NET Web Application with Umbraco NuGets) ready to be pushed to the Umbraco Cloud environment

    Has anyone done this?

  • Per Bolmstedt 28 posts 178 karma points
    Oct 11, 2018 @ 07:29
    Per Bolmstedt
    0

    It seems the marked-as-solution answer worked. We did these 4 steps and after some .csproj tweaking and reference fixing and binding redirect adding we have a working Web Application Project that can be pushed to Umbraco Cloud and works.

    So I'd recommend this approach to anyone not wanting a Web Site Project when working with Umbraco Cloud.

  • Dave Woestenborghs 3325 posts 11170 karma points MVP 5x admin c-trib
    Oct 11, 2018 @ 07:57
    Dave Woestenborghs
    0

    Thanks Peter,

    This will be usefull.

    I just started having issues with Resharper in websites in VS2017. Especially in razor views. Eg. it can't resolve the @model keyword

    With web applications this is not an issue.

    Dave

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies