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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -