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 -

ios - MKMapView fails to load tiles with HTTP 410 error -

c# - How to utilize EF and LINQ to add filters and specify tables, columns, filters and order by dynamically -