/// <summary>
        /// Starts hosting
        /// </summary>
        public void StartHosting(string baseURL)
        {
            if (_lookupAssemblies != null)
            {
                _activator.Execute(_lookupAssemblies, _services, AuthenticationSettings, baseURL);
            }
            else
            {
                _activator.Execute(_domain, _services, AuthenticationSettings, baseURL);
            }

            Task.WaitAll();
        }
Пример #2
0
 /// <summary>
 /// Starts hosting
 /// </summary>
 public void StartHosting(string baseURL)
 {
     _activator.Execute(_domain, _services, AuthenticationSettings, baseURL);
     Task.WaitAll();
 }