Esempio n. 1
0
        private void StartIISExpress()
        {
            _iisExpressProcess = new IISExpressProcess(_publishDir);
            _iisExpressProcess.Start();

            MvcWebApp.BaseUrl = "http://localhost:" + _iisExpressProcess.PortNumber;
        }
Esempio n. 2
0
        private void StartIISExpress()
        {
            _iisExpressProcess = new IISExpressProcess(_publishDir, ApplicationHostConfigurationFile, ProjectName);
            _iisExpressProcess.Start();

            MvcWebApp.BaseUrl = "http://localhost:" + _iisExpressProcess.PortNumber;
        }
Esempio n. 3
0
        private void StartIISExpress()
        {
            _iisExpressProcess            = new IISExpressProcess(_publishDir, ApplicationHostConfigurationFile, ProjectName);
            _iisExpressProcess.PortNumber = PortNumber;
            _iisExpressProcess.UseHttps   = UseHttps;
            _iisExpressProcess.Start();

            string protocol = "http";

            if (_iisExpressProcess.UseHttps)
            {
                protocol = "https";
            }

            MvcWebApp.BaseUrl = protocol + "://localhost:" + _iisExpressProcess.PortNumber;
        }
Esempio n. 4
0
	    private void StartIISExpress()
		{
			_iisExpressProcess = new IISExpressProcess(_publishDir, ApplicationHostConfigurationFile, ProjectName);
			_iisExpressProcess.PortNumber = PortNumber;
            _iisExpressProcess.UseHttps = UseHttps;
			_iisExpressProcess.Start();

            string protocol = "http";

            if (_iisExpressProcess.UseHttps)
            {
                protocol = "https";
            }

			MvcWebApp.BaseUrl = protocol + "://localhost:" + _iisExpressProcess.PortNumber;
		}
Esempio n. 5
0
        private void StartIISExpress()
        {
            _iisExpressProcess = new IISExpressProcess(_publishDir);
            _iisExpressProcess.Start();

            MvcWebApp.BaseUrl = "http://localhost:" + _iisExpressProcess.PortNumber;
        }
Esempio n. 6
0
        private void StartIISExpress()
        {
            _iisExpressProcess = new IISExpressProcess(_publishDir, ApplicationHostConfigurationFile, ProjectName);
            _iisExpressProcess.Start();

            MvcWebApp.BaseUrl = "http://localhost:" + _iisExpressProcess.PortNumber;
        }