ASP.NET Core 1 RC2 web application entry point -
so changed way they're bootstrapping web applications between asp.net 5 rc1 , rc2.
it used be:
public static void main(string[] args) => webapplication.run<startup>(args);
but in rc2, no longer have reference static class webapplication. ideas?
from announcements repo: hosting renaming webapplication webhost
public static void main(string[] args) { var host = new webhostbuilder() .usedefaultconfiguration(args) .useiisplatformhandlerurl() .usestartup("musicstore") .build(); host.run(); }
the example musicstore
Comments
Post a Comment