Reputation: 767
I'm starting to understand the naming conventions for the .NET stack cross-platform. Particularly this page explained it well: http://blog.tonysneed.com/2016/01/22/ef6-asp-net-core-mvc6/
I'm starting a personal project which will be completely greenfield and see it as an opportunity to learn all these new technologies. However, I want to re-use code from other MVC5 applications that use well known libraries. Especially for the infrastructure & plumbing I used some well-known libraries such as StructureMap, AutoMapper and for data persistance EF (EF 4/5).
Since there is no restriction on what version I should use, should I start from scratch and use the latest ASP.NET Core 1.0, .NET Core 1.0 along with EF Core 1.0 or is the only advantage from using only that it will be cross-platform? In other words, if I am never going to run this on anything but Windows AND want minimum pain with library incompatibilities do I stick with .NET4.6?
I basically want to use this opportunity to be able to learn the new stuff without impacting on future portability for my application. Will MS eventually make .NET Core 1 the default even on Windows?
Upvotes: 0
Views: 374
Reputation: 6035
I went through this debate and settled on .NET Core; six months down the line and some production deployments later, I am convinced it was the right decision. Here are a few questions which may clarify your decision:
Hope that helps.
Upvotes: 2
Reputation: 1530
It doesn`t look MS is going to decide between the two because: .NET Core is essentially a fork of the NET Framework
In fact when you want to get it from official source you will be still facing your dilemma.
Asp.net core has a Go Live license, Microsoft will give support and is ready for production, which to choose?
Diclaimer: The rest of my answer could be opinion based...
If you don`t have constrains, e.g. you need still unsupported features like SignalR, I can share my similar experience so far:
I started with a core mvc6 web api
When I needed WCF it was not so easy -> see here
Then had to use a 4.5 framework targeted class library -> you can easily now reference those and all the wrap around it will be automatically done in visual studio
I had to find more ways through IIS publishing obstacles -> for example
Bottom line:
most of the issues where solving alone with new frequent releases
the feeling I had at the very beginning that I would jump out of it as soon as a blocking implementation arise, was changing in more and more confidence that actually you can have a flexible solution the more you learn it.
I can only add that you may want to go for a quick read of the documentation and have more clues
Upvotes: 2