Base solution for your next web application
Open Closed

.Web.MVC Is Missing In Asp.net Core Angular Project #5314


User avatar
0
tteoh created

Hi,

I'm download Asp.net Core Angular project. Version is v5.5.2. Framework is .NetFramework v4.6.1 .

Why .Web.MVC project is missing in Asp.net Core Angular project (<a class="postlink" href="https://imgur.com/ecbFuzA">https://imgur.com/ecbFuzA</a>) ?


4 Answer(s)
  • User Avatar
    0
    alirizaadiyahsi created

    This is by desing. I you donwload MVC you can not see Angular and if you download Angular, then you can not see MVC project.

    You can see all of them on github.

  • User Avatar
    0
    alper created
    Support Team

    MVC and Angular are two different project outputs. You cannot have them both.

  • User Avatar
    0
    tteoh created

    <cite>alper: </cite> MVC and Angular are two different project outputs. You cannot have them both.

    Hi~

    Okay. Because I reading the article's structure layer and it has mentioned what is .Web.MVC project (<a class="postlink" href="https://aspnetzero.com/Documents/Development-Guide-Core#solution-structure-layers">https://aspnetzero.com/Documents/Develo ... ure-layers</a>), So I thought asp.net core must have .Web.MVC project. Thanks.

    I have one more question: I set .Web.Public project as startup project. After that, I have run the application and the application will launched the main page(<a class="postlink" href="https://imgur.com/2XeNTGZ">https://imgur.com/2XeNTGZ</a>). Then, I go through login page to login. But why after I login to the application, that application has didn't route me to dashboard screen and route me to the same main page(<a class="postlink" href="https://imgur.com/baSM6op">https://imgur.com/baSM6op</a>)??

    But if I direct to browse <a class="postlink" href="http://localhost:4200">http://localhost:4200</a> in my browser and login user, then it will route me to the dashboard screen.

    Thanks.

  • User Avatar
    0
    tteoh created

    <cite>alirizaadiyahsi: </cite> This is by desing. I you donwload MVC you can not see Angular and if you download Angular, then you can not see MVC project.

    You can see all of them on github.

    Because I reading the article's structure layer and it has mentioned what is .Web.MVC project (<a class="postlink" href="https://aspnetzero.com/Documents/Develo">https://aspnetzero.com/Documents/Develo</a> ... ure-layers), So I thought asp.net core must have .Web.MVC project. Thanks.