Is it at all possible to migrate ASP.NET ASPX solution to ASP.NET Core 2.0?

后端 未结 3 425
滥情空心
滥情空心 2021-01-13 03:43

I want to migrate my asp.net (UI ASPX pages WebForms) application to ASP.NET Core 2. By some search I found out aspx is not supported in .net core. If this is true(anyone ha

3条回答
  •  醉话见心
    2021-01-13 04:07

    You can transfer all your business logic, models and even some controller methods (You just need to adjust those ActionResult to IActionResult). If you're using Ninject (for ASP.NET Framework IOS), you just need to register them to your Startup.cs. Basically, what I'm trying to say, you need to create a new application under .NET Core. It would be changes in the actual project solution, but your actual business flow won't be different. I hope this helps you.

提交回复
热议问题