How to open the starting file of an ASP.NET Core Razor Pages app?

前端 未结 1 1904
情话喂你
情话喂你 2021-01-29 02:16

I have a basic question so apologies in advanced but I have been googling for hours and not been able to find the answer. I made an ASP.NET Core Razor Pages app and deployed it

1条回答
  •  醉梦人生
    2021-01-29 03:07

    Razor Pages are not routed based on the file system (like PHP).

    You start the Web server (by opening the exe) and navigate to the URL where the Web server tells you it's serving the app (in the terminal you should see a line that says "Listening on https://your_url:port...").

    The index should be the first thing you see when you navigate there.

    0 讨论(0)
提交回复
热议问题