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

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

            MvcWebApp.BaseUrl = "http://localhost:" + _iisExpressProcess.PortNumber;
        }
Exemplo 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;
        }
Exemplo 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;
		}
Exemplo n.º 5
0
        private void StartIISExpress()
        {
            _iisExpressProcess = new IISExpressProcess(_publishDir);
            _iisExpressProcess.Start();

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

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