Note that there are some explanatory texts on larger screens.

plurals
  1. PODeployment of multi-project MVC4 solution to Azure fails
    primarykey
    data
    text
    <p>This is my second deployment to Azure. First was a simple MVC4 Website with a Database, which I deployed via git. Worked like a charm.</p> <p>Now I've got the following: A solution containing three projects.</p> <ul> <li>Web -> Which is the MVC4 Frontend </li> <li>Models -> Contains the Models and the DB Context </li> <li>Backend -> MVC4 Project for data administration</li> </ul> <p>All projects are MVC4 (didn't know how to manage this better for the Models project). In my models project I'm running the code-firt migrations. The backend is running in the virtual directory: localhost:80/Backend (works perfect on localhost) Both the Web and Backend project have references to the Models Project.</p> <p>Folder structure: Solution folder contains: <em>Web / Models / Backend / MySolution.sln</em></p> <p>The first time I deployed I've created a git repo in the Projects folder (cause it was a single project). Now my repo is in the solution folder.</p> <p>I'm also uploading files in the Backend and move it to the other project (Web) via the following path:</p> <pre><code>Directory.GetParent(HttpContext.Current.Server.MapPath("~")).ToString() + DirSeperator + "Web" + DirSeperator + "Store" + DirSeperator; </code></pre> <p>Is this going to a problem on Azure?</p> <p><strong>So my loose question is now, how am I deploying this solution?</strong></p> <hr> <p>I've created a Website with Source control in Azure and added a SQL Database to it.</p> <p>I've managed to push the solution to Azure, but on Azure there's the messsage </p> <blockquote> <p>Found solution ... with no deployable projects. Deploying files instead.</p> </blockquote> <p>now.</p> <hr> <p>Do you have any good tutorials for me on this problem?</p> <p>Am I doing it completely wrong? (I think so)</p> <p>I'm relatively new to ASP.NET and Azure, so it's a bit hard for me to understand.</p> <p>Thanks, Tobi</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload