<aspNetCore processPath="dotnet"arguments=".\MonitorSystem.dll"stdoutLogEnabled="false"stdoutLogFile=".\logs\stdout"hostingModel="inprocess"> <environmentVariables> <environmentVariable name="ASPNETCORE_ENVIRONMENT"value="Development"/> </environmentVariables> </aspNetCore> </system.webServer> </location> </configuration>
PROBLEM:Now when I go to launch these same child processes from a parent process (where the parent process is launched from Visual Studio) it still wants to use default port of 5000 for all the children processes, here is the code that launches these children from a loop inside the Configu...
public static void Main(string[] args) { var host = CreateHostBuilder(args).Build(); var config = host.Services.GetRequiredService<IConfiguration>(); foreach (var c in config.AsEnumerable()) { Console.WriteLine(c.Key + " = " + c.Value); } } You should get both "URLS" and "...
public FeatureMap(Type featureInterface, Func getter, Func defaultFactory, Action setter); Parameters featureInterface Type The feature interface type. getter Func<Object,Object> Value getter delegate. defaultFactory Func<Object> Default value factory delegate. setter Action<Object,Object> Value se...