Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AspNetDevelopmentServerAttribute Constructor (String, String, String)

 

Initializes a new instance of the AspNetDevelopmentServerAttribute class with the server name, the path to the Web application, and the Web application root.

Namespace:   Microsoft.VisualStudio.TestTools.UnitTesting.Web
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

public AspNetDevelopmentServerAttribute(
	string name,
	string pathToWebApp,
	string webAppRoot
)

Parameters

name
Type: System.String

The name of the server.

pathToWebApp
Type: System.String

The path to the Web application. This can also include environment variables like %TEMPDIR%\website1.

webAppRoot
Type: System.String

The Web application root.

Return to top
Show: