There are cases where the exe name and the application are not the same. Consider a scenario where the entry point of the application is not user code, it could be a different host (like when you're running in windows service) that loads your application as a plugin (.dll). We do this today in ASP.NET and there are 2 modes of execution:
- Your web application owns the application entry point.
- Microsoft.AspNet.Hosting owner the entry point your web application is loaded as a plugin.
This name should be settable (and not only by the native host). This should default to the application with the entry point by default.
/cc @lodejard @nguerrera @joshfree @AlexGhiondea
There are cases where the exe name and the application are not the same. Consider a scenario where the entry point of the application is not user code, it could be a different host (like when you're running in windows service) that loads your application as a plugin (.dll). We do this today in ASP.NET and there are 2 modes of execution:
This name should be settable (and not only by the native host). This should default to the application with the entry point by default.
/cc @lodejard @nguerrera @joshfree @AlexGhiondea