Saro
Saro

Reputation: 160

ABP 3.0 differences between Full and Cross Net Framework template

Related to "Free Startup Templates" for the last ABP 3.0 version, what are the differences between the Full .NET Framework and .Net Core (Cross Platform) versions?

Upvotes: 2

Views: 425

Answers (2)

Alper Ebicoglu
Alper Ebicoglu

Reputation: 9634

if we talk about only aspnetboilerplate framework; the only main difference is, currently in .NET Core platform SignalR implementation is missing.

Upvotes: 0

Andre Odendaal
Andre Odendaal

Reputation: 557

I presume you are talking about the ASP.NET Core 2.0 target framework, either Full .NET Framework and .NET Core (Cross Platform)?

I think the code is more-or-less the same (as mentioned by @Alper Ebicoglu the .NET Core project is missing the SignalR implementation) but the output from the build will be for .NET Framework 4.6.1 as supposed to for .NET Core.

Basically they're building a .NET Framework project using .NET Core tools which you can do.

For example:

Create a temp folder and open Command Prompt or PowerShell in that directory. Then run dotnet new console, then dotnet restore and finally dotnet build. You should get a message like temp -> C:\Source\temp\bin\Debug\netcoreapp2.0\temp.dll

Edit the .csproj file and change the TargetFramework property to net461. Run dotnet build and you'll see a different message temp -> C:\Source\temp\bin\Debug\net461\temp.exe.

In the first instance you created a .dll to run cross platform using dotnet run and in the second instance you created a .exe which will only run on the Windows platform.

I hope I'm answering what you're asking and this helps.

Upvotes: 4

Related Questions