Hi @NT ,
You need to add a href in index.razor
. Change @page "/"
to @page "/newapp/"
. Then you can get a page from IIS.
However, you'd better not do that. It will cause more issues which are difficult to find a great solution. Because the application contains blazor route, signalr route and IIS route. If you add more functions and url paths to the example app in the documentation, if one of them fails, you will have a hard time troubleshooting which route is causing the problem.
The best choice is setting it as a site on IIS, not sub application under site.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Bruce Zhang