Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Is there a .Net 6 equivalent for WebApp.Start<Startup>(url: baseAddress)?

I am trying to replace this line for .Net 6. It seems to be using Microsoft.Owin.Hosting. Is there a equivalent from the 4.8 to .Net 6 for this conversion?

_logger.Standard($"Starting Web Service on {baseAddress}");
_server = WebApp.Start<Startup>(url: baseAddress);
_logger.Standard("Web service is started.");

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Looks like you can get Microsoft.AspNetCore.Owin from Nuget and use that instead for .NET Core 6.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading