Where is this port number http: // localhost: 52432 / specified when starting the ASP.NET MVC application?

I play with ASP.NET MVC and I just downloaded an empty project and started it, and the URL in my browser is http://localhost:52432/. Where is port number 52432 indicated?

Thanks in advance for your help, I’ll start to study this issue now.

+3
source share
2 answers

in the project file

  <ProjectExtensions>
    <VisualStudio>
      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
        <WebProjectProperties>
          <UseIIS>False</UseIIS>
          <AutoAssignPort>True</AutoAssignPort>
          <DevelopmentServerPort>1424</DevelopmentServerPort>
+7
source

This parameter is stored in the project file, which is XML, to access the settings from the user interface, right-click on your project in the solution explorer and select properties. In the properties dialog box on the left side there is a tab selector, select "Web".

Web "" " ", "", IIS.

- Project-Properties-Web

+2

Source: https://habr.com/ru/post/1738900/


All Articles