c# - Is UseIISPlatformHandler() deprecated correctly to UseIIS()? -


in this place, there's information on changes core follows.

public void configure(iapplicationbuilder app, iloggerfactory loggerfactory) {   ...   // remove call app.useiisplatformhandler(); handled useiis in main.   // remove call app.useforwardedheaders(); handled useiis in main.   ... } 

however, when checking out contents of method, there's no such call useiis(). nearest 1 useiisintegration() it's commented if substitutes useforwardedheaders().

public static void main(string[] args) {   var host = new webhostbuilder()     .usedefaultconfiguration(args)     .useserver("microsoft.aspnetcore.server.kestrel")     // replaces call useiisplatformhandlerurl()     .useiisintegration()     .usestartup<startup>()     .build();    host.run(); } 

what misunderstanding?

the issue rather old , things have changed since then. on right track, though.

the useiisplatformhandler call indeed moved startup program start , has been renamed useiisintegration.


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -