ASP.NET Entry Point?

后端 未结 5 817
长情又很酷
长情又很酷 2021-02-05 05:14

Just created a blank \"ASP.NET Web Application\". Where\'s the entry point?

I see \"Default.aspx\" which seems to be the default template that calls. \"Site.Master\" whi

5条回答
  •  孤城傲影
    2021-02-05 05:42

    There's no notion of entry point. The way it works is that the user sends an HTTP request to an url and this url sends a response to the user. In the properties of the project you could configure which URL to launch in Visual Studio when you hit F5 because by default it launches the file you are currently editing.

    Also the web server has a notion of default document i.e. if you don't specify any page it will load the default documents in the order they are configured:

    alt text

提交回复
热议问题