user4
user4

Reputation: 734

asp.net html page

I have a (say) start.html page that I want to wrap up in an ASP.NET app, and be the first page to launch once deployed. How do I accomplish this within VS; not within IIS, but within VS to have a deployable package that will contain the start page information.

Upvotes: 0

Views: 55

Answers (3)

UxUser
UxUser

Reputation: 1

Naming the page default.aspx should do the trick.

Upvotes: 0

Royi Namir
Royi Namir

Reputation: 148744

Have you tried with index.html? I think it's the default.

Upvotes: 0

Darin Dimitrov
Darin Dimitrov

Reputation: 1039438

It's really up to IIS to decide the order of priority. So you should define start.html as the first document in IIS. And if you cannot do this for various reasons and IIS decides to pick your default.aspx as default you will have to redirect to: Response.Redirect("~/start.html") but that would really be ugly stuff. Configure your web server appropriately.

Upvotes: 3

Related Questions