public HttpServerUtility(Microsoft.AspNetCore.Http.HttpContext context) { httpContext = context; RootConfig = HttpContext.ServiceProvider.GetService(typeof(EnvConfig)) as EnvConfig; }
public HttpServerUtility() { httpContext = FastDev.Common.HttpContext.Current; RootConfig = HttpContext.ServiceProvider.GetService(typeof(EnvConfig)) as EnvConfig; }