title: How is .Net Core 5 application organized/structured ? or how to add n-tier class library projects to .Net core Asp.Net solution?
body: <p>I am trying to convert one of my simple Asp.Net MVC application to .Net Core. So I am trying to understand how the .Net Core Asp.Net application is organized or structured.</p>
  
  <p>I understand .Net Core is<a href="https://stackoverflow.com/questions/30671193/migrate-to-net-core-from-an-asp-net-4-5-mvc-web-app"> not ready for Production yet</a>.  The <a href="https://dotnet.readthedocs.org/en/latest/tutorials-samples/first-web-app.html" rel="nofollow noreferrer">.Net Core documentation</a> is for most of the part not written yet (hence the curiosity).</p>
  
  <p><a href="http://blogs.msdn.com/b/webdev/archive/2015/10/15/announcing-availability-of-asp-net-5-beta8.aspx" rel="nofollow noreferrer">Availability of Asp.Net 5 Beta8</a> was announced recently. I tried getting dnvm and dnx working on mac, there are some issues with Beta releases which get resolved after some persistence.</p>
  
  <p>Now, generally we organize our .Net solution somewhat like this:-</p>
  
  <pre><code>MySolution.Core.sln
      \MyProj.Web
      \MyProj.Core
      \MyProj.Domain
      \MyProj.Service
      \MyProj.Data
      \etc...
  </code></pre>
  
  <p>So while trying to migrate the Asp.Net project to .Net Core, we wish to maintain the similar structure as above. The <a href="http://docs.asp.net/en/latest/tutorials/your-first-mac-aspnet.html#scaffolding-applications-using-yeoman" rel="nofollow noreferrer">Your First Asp.Net 5 Application on Mac</a> didn't really present me with any much of real life application as such.  Moreover, taking inspiration from <a href="http://blogs.msdn.com/b/webdev/archive/2015/10/15/announcing-availability-of-asp-net-5-beta8.aspx" rel="nofollow noreferrer">here</a> and <a href="http://bitoftech.net/2014/11/18/getting-started-asp-net-5-mvc-6-web-api-entity-framework-7/" rel="nofollow noreferrer">here</a>, I've noticed the following structure of the application:-</p>
  
  <pre><code>MYFIRSTAPP
  \src
      \MyFirstApp
          \bin
          \wwwroot
              \css
              \images
              \js
              \lib
              _references.js
          \Controllers
          \Views
          \ViewModels
          Startup.cs
          project.json
          hosting.ini
      global.json
  </code></pre>
  
  <p>In project.json we define our dependencies.</p>
  
  <p>So my question is, is the above structure the standard for .Net MVC 6 application? and how to add the other layers[Core,Domain,Service,Data] or class library projects to above application?</p>