ASP.NET Entry Point?

后端 未结 5 876
长情又很酷
长情又很酷 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:58

    By default, ASP.NET just uses the physical file paths for determining which page to display. Default.aspx is the default either because it is the startup file of your project, or because it is mapped as the default document of your root folder in IIS.

    You can optionally use the routing components added to the framework as part of ASP.NET MVC if you want custom routing. There's a guide on how to use this here

提交回复
热议问题