How do I CREATE default.aspx file for MVC 6 Application

81 views Asked by At

I am new to MVC applications. I would like to host my MVC6 application on shared windows platform (hosting package). I have uploaded my project files via FTP onto the domain I created with my service provider. My project has a solution file (.sln) which point to my application and But unfortunately, the hosting platform requires my application to have a default.aspx file in order for it to be viewable online. Because of this I am unable to view the application online. How do I create a default.aspx file or get my application to show online?

1

There are 1 answers

2
Adir Ratzon On

Use Visual Studio one-click publish. In Solution Explorer, right-click your project then select Publish.

Case your code is correct, you should see your web application.