This documentation is archived and is not being maintained.

AuthenticationServiceManager.Path Property

Gets or sets the path of the authentication service.

Namespace:  System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public string Path { get; set; }

Property Value

Type: System.String
The path of the custom authentication Web service.

ExceptionCondition
ArgumentException

More than one unique path was set in the control hierarchy.

If the Path property is not set, then the return value is String.Empty. In this case, the AJAX functionality in ASP.NET will then use the built-in authentication Web service that corresponds to the following internal default path: ~/ScriptServices_AuthenticationService.asmx. The same behavior occurs if you set Path to an empty value or null.

Path can be specified in the ScriptManager control or in an associated ScriptManagerProxy control. When Path is set at the ScriptManagerProxy level, the following caveats apply:

  • If there are multiple proxies in the control hierarchy, Path does not have to be set on each proxy instance.

  • If Path is explicitly set on a proxy instance, the value must be the same for all other proxies on which this property is explicitly set.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: