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)

 

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

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

public AspNetDevelopmentServerAttribute(
	string name,
	string pathToWebApp
)

Parameters

name
Type: System.String

The name of the ASP.NET Development Server. This name must be unique for all AspNetDevelopmentServerAttribute specified on a single test.

pathToWebApp
Type: System.String

The path to the Web application. This can also include environmental variables.

Return to top
Show: