AspNetDevelopmentServer Class
Represents the settings for an instance of the ASP.NET Development Server. More than one instance may occur during a test.
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
| Name | Description | |
|---|---|---|
![]() | AspNetDevelopmentServer(String^, String^, String^) | Initializes an instance of the AspNetDevelopmentServer class by using the provided name, Web application path, and root name of the Web application. |
| Name | Description | |
|---|---|---|
![]() | Name | Gets the name of this instance of ASP.NET Development Server. |
![]() | PathToWebApp | Gets the full path of the Web application that is being tested. |
![]() | WebAppRoot | Gets the name of the root for the Web application that is being tested. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Returns a value that indicates whether the current instance of AspNetDevelopmentServer object is equal to the provided instance of the AspNetDevelopmentServer object.(Overrides Object::Equals(Object^).) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | Returns the hash code of the ID of the AspNetDevelopmentServer instance.(Overrides Object::GetHashCode().) |
![]() | GetType() | (Inherited from Object.) |
![]() | Load(XmlElement^, XmlTestStoreParameters^) | Loads the class from the provided XML element. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Save(XmlElement^, XmlTestStoreParameters^) | Saves the ASP.NET Development Environment settings that this class represents. |
![]() | ToString() | (Inherited from Object.) |
Use this class to develop tests that you intend to run in the ASP.NET host. This class differs from the following classes, although their names are similar:
AspNetDevelopmentServerAttribute specifies the settings that must be used for ASP.NET Development Server for the test. This class is used primarily for Web service unit tests.
AspNetDevelopmentServerHostAttribute specifies the settings to use when an ASP.NET Development Server is the host server for the test. This class is used for ASP.NET unit tests.
You can use the Save method to persist this object and the Load method to load it from storage.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


