In MVC, right-click is not supported to directly set the start page.
The correct setup steps are as follows:
1. Right-click the project, find properties, find web under the properties option box, and select the startup operation as a specific page. If you need to set the Login page under the Home controller as the welcome page, you need to set Home/Login
2. Add the following configuration between <configuration>...</configuration> in the Web.config file
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true" />
</system.webServer>