Bagikan melalui


Configure Service: Auto-Start Tab

Use the Auto-Start tab in the Configure Service dialog box to configure auto-start for a service. When auto-start is enabled, a hosted WF or WCF service is instantiated automatically when the IIS service is started by the operating system. The service will automatically start when its server is started.

Note

The auto-start configuration feature is only available on Windows 7 or Windows Server 2008 R2 and above. If your system has neither of these operating systems installed, you will not be able to configure auto-start unless you upgrade to one of them.

Dialog Fields

Field

Description

Enable

Click to enable auto-start for the service. If the Auto-Start dialog box indicates that auto-start configuration on this service cannot be modified, set Auto-start Mode for the application to Custom. For more information, see Configure WCF and WF for Application: Auto-Start Tab in the core help.

Enabling auto-start for a service adds a serviceAddress line to the serviceAutoStart attribute for the service in the application Web.config file.