What are UseCustomServer and UseCustomServerUrl in an ASP.NET Web Application Project?

What are UseCustomServer and UseCustomServerUrl in an ASP.NET Web Application project?

Some prerequisites: I received the latest version of the solution from the supplier. I have added several files to the WebSite project file. When I built the solution, the following tags were added to the WebSite.csproj file.

<UseCustomServer>False</UseCustomServer> <CustomServerUrl> </CustomServerUrl> 

I hesitate to check the project file with these added tags. But I don’t want to interfere with the project file using a text editor to remove tags every time I add files to the project. Can these tags damage the supplier’s design in some way? Why is my assembly adding tags? I am using ASP.NET 3.5 SP1. Thank you

+4
source share
2 answers

To expand Brian's answer - when starting / starting debugging (F5) of an ASP.NET project, there are three options for which the server will use your hosting -

  • Visual Studio Development Server
  • IIS
  • A custom server that you start and configure yourself.

These tags belong to the third option. If UseCustomServer = False is the default value, so checking this value would not have any meaning anyway.

+1
source

I am configured to use IIS; These tags are in my project. Since they are empty, this should be good. The UseIIS tag has a true meaning, so that it knows how to use this option. The custom server URL is the project parameter (web project settings> web tab) that you can set.

NTN.

+2
source

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


All Articles