Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Program.Main added to Microsoft.AspNet.Hosting to enable use as command-line entrypoint #4

Closed
Tratcher opened this issue Mar 12, 2014 · 1 comment

Comments

@Tratcher
Copy link
Member

Command line parameters and env variables
--port {port}
%PORT%
--uri {uri}
--server {assemblyname}
%K_SERVER% {assemblyname}
[application] first not-a-switch argument, "type,assemblyname" in type-based loader scenario

@Tratcher
Copy link
Member Author

when [application] is not present, fallback to IApplicationEnvironment.ApplicationName

optimized for user or tooling adding to web project.json:
e.g. "commands": {"web", "Microsoft.AspNet.Hosting --port 14235"}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant