Hello,
Im new with c#.
Im have made a a file with the name index.cshtml and upload this file to my webserver on heliohost.
The problem is that it doesnt work.
I can see the code but nog the layout of the index.cshtml file.
How can I make index.cshtml to be the start file of my webpage?
so that it starts automatically when somebody visit my site. Just like index.html.
I work with microsoft webmatrix.
Ap
Brajesh KumarPosted Aug 10, 2017, 9:24 AM
IF still not working then do below steps
Second Way : You simple follow below steps,
1) Right click on your project solution
2) Select Property
3) Select Web option and then Select Specific Page (Controller/View) and then set your login page
Here, Account is my controller and Login is my action method (saved in Account Controller)
Please take a look attached
screenshot.