Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created February 28, 2022 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/13b92be7223068ce96f4b8a405bff725 to your computer and use it in GitHub Desktop.
Save bjoerntx/13b92be7223068ce96f4b8a405bff725 to your computer and use it in GitHub Desktop.
public class Program {
public static void Main(string[] args) {
TXTextControl.ServerTextControl.DefaultFormattingPrinter = "Display";
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder => {
webBuilder.UseStartup<Startup>();
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment