Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now add a line of code that will enable you to use the executable which normally runs the Kestrel webserver with your site to run Lynicon service and setup commands:

Code Block
languagec#
if (Lynicon.Commands.CommandRunner.InterceptAndRunCommands(host.Services, args))
	return;


Add the highlighted line of code above into your Program.cs file in the root of your project.

...