none
index.cshtml RRS feed

  • Question

  • Hi,

    Im a beginner webdesigner. 

    I know that a webpage startfile must be name index.html

    I made a c# file with the name index.cshtml

    Why this file dont startup when you visiting my webpage?

    Is it posible when you visit my site, for example www.example.com, the index.cshtml starts?

    What is the solution to start index.cshtml as first webpage file?

    Richard.

    • Moved by CoolDadTx Thursday, August 10, 2017 6:23 PM ASP.NET related
    Thursday, August 10, 2017 8:22 AM

All replies

  • >>Why this file dont startup when you visiting my webpage?

    Please right click your project and choose "Property", then go to "Web", then set the default address of your local http one.

    PS: Next time please directly go to http://forums.asp.net to ask the related questions.


    Reproduce your quesions with   ScreenToGif is your choice.
    For IIS: IIS Forum,
    For WebSite of .NET, ASP.NET Forum,
    For others, StackExchange
    For spam-sender or forum urgent issues, Send your Email at: forumsfeedback@microsoft.com

    Thursday, August 10, 2017 9:26 AM