The IisExpress class is used to manage an IIS Express instance for running integration tests.
Inheritance: IDisposable
        public static void AssemblyInitialize(TestContext context)
        {
            var solutionDirectory = context.FindSolutionDirectory();
            var projectDirectory  = Path.Combine(solutionDirectory, "Headless.DemoSite");
            var address           = Config.BaseWebAddress;

            _iisExpress = new IisExpress();

            _iisExpress.Start(projectDirectory, address.Port, address);
        }
        public static void AssemblyInitialize(TestContext context)
        {
            var solutionDirectory = context.FindSolutionDirectory();
            var projectDirectory = Path.Combine(solutionDirectory, "Headless.DemoSite");
            var address = Config.BaseWebAddress;

            _iisExpress = new IisExpress();

            _iisExpress.Start(projectDirectory, address.Port, address);
        }
 public static void AssemblyCleanup()
 {
     _iisExpress.Dispose();
     _iisExpress = null;
 }
 public static void AssemblyCleanup()
 {
     _iisExpress.Dispose();
     _iisExpress = null;
 }