Is NopCommerce already on top of ASP.NET Core?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hello,
IS the NopCommerce already running on top of ASP.NET Core or not yet?

Thanks
Bilal
6 years ago
Yes since version 4.0 Please check release notes
5 years ago
Tecnofin wrote:
Yes since version 4.0 Please check release notes


Hello Eduardo,

Can you give a brief explanation of what it means to run on top of ASP.NET Core?

In the release notes it says Please note that we target .NET Framework 4.6.1 and not .NET Core.

I would like to start reading about ASP.NET Core, but I'm not sure if I should study version 1.0 or 2.0.

Thanks,
Tony
5 years ago
Hello,

Basically nopCommerce 4.00 is released on ASP.net Core 2.0 which is .net Framework 4.6.1 and ahead. But nopCommerce 4.00 is not fully migrated to ASP.net Core because of dependent libraries.
But they did a migration to .net Core because there was a big change in overall architecture. Next version of nopCommerce would hopefully be migrated totally to .net Core.

Just to be simple.. You cannot run nopCommerce now on Linux or Mac but once it totally runs on .net Core, that would be easy to setup on Linux and other OS that .net Core supports.

Hope you got your answer.

Thank you,
Atul
5 years ago
nopAdvance wrote:
Hello,

Basically nopCommerce 4.00 is released on ASP.net Core 2.0 which is .net Framework 4.6.1 and ahead.


Atul,

Thanks for your explanation.

When I attempt to add a new project to the Plugins folder, in the Add New Project dialog, I drop down the Framework:, it only shows a selection of .NET Framework 2.0 to .NET Framework 4.6.2.  If nopCommerce 4.00 is released on ASP.net Core 2.0, how would I use a framework of .NET Core 2.0?

Thanks,
Tony
5 years ago
Hello Tony,

You need to use .Net framework 4.6.2 in current version of nopCommerce.

NopCommerce 4.00 is using MVC6 and architecture of .Net Core.

Frankly, we also tried to use same approach that you were using to make a plugin in nopCommerce 4.00 but that is complex. It was easy in previous version. So, we decided to use a simpler approach.

Just copy any existing nopCommerce plugin in plugins folder and rename folder name, edit .csproj file and solution file including all other files such as plugin.json and .cs files using some code editor. Then open nopCommerce solution in visual studio and reference the plugin you just made in project. Make necessary changes and it's ready.

Hope this would help.

Thank you,
Atul
5 years ago
nopAdvance wrote:
Hello,

.... But nopCommerce 4.00 is not fully migrated to ASP.net Core because of dependent libraries.


Wonder which dependencies?
5 years ago
mdepouw.cei wrote:

Wonder which dependencies?


EF apparently.  They need more functionality in EF Core that EF 6 has.

YouTube: nopCommerce 4.00 - How we moved to ASP.NET Core(Around the 3min mark)
5 years ago
mdepouw.cei wrote:


EF apparently.  They need more functionality in EF Core that EF 6 has.


I know wonder what specific feature(s) are missing that are needed?
5 years ago
mdepouw.cei wrote:


EF apparently.  They need more functionality in EF Core that EF 6 has.


I know wonder what specific feature(s) are missing that are needed?


"As nopCommerce is waiting for Entity framework core 2.1 to support Lazy loading feature"'

https://github.com/nopSolutions/nopCommerce/issues/2976#issue-318470264
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.