Skip to content

Add AppContext.ApplicationName #15618

@davidfowl

Description

@davidfowl

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions