Sin duda, una noticia importante para toda la comunidad de ASP.NET, según ha publicado recientemente Scott Hanselman en su blog ASP.NET 5 pasa a mejor vida o mejor dicho evoluciona para dar la bienvenida al nuevo ASP.NET Core 1.0 and .NET Core 1.0
El motivo principal es por la evolución hacia .NET Core y soporte multiplataforma:
- ASP.NET 5 es ahora ASP.NET Core 1.0.
- .NET Core 5 es ahora .NET Core 1.0.
- Entity Framework 7 es ahora EF Core 1.0.
Este cambio no afecta a que seguiremos disponiendo de ASP.NET y Framework 4.6:
- ASP.NET Web Forms 4.6
- ASP.NET MVC 5.2.3
- ASP.NET Web Pages 3.2.3
- ASP.NET Web API 5.2.3
- ASP.NET SignalR 2.1.2
Sobretodo, tener en cuenta la parte final del anuncio de Hanselman, que cito a continuación:
«Which to choose? To be clear, ASP.NET 4.6 is the more mature platform. It’s battle-tested and released and available today. ASP.NET Core 1.0 is a 1.0 release that includes Web API and MVC but doesn’t yet have SignalR or Web Pages. It doesn’t yet support VB or F#. It will have these subsystems some day but not today.»
Link Oficial Hanselman: http://www.hanselman.com/blog/ASPNET5IsDeadIntroducingASPNETCore10AndNETCore10.aspx
¿Deberia migrar mis aplicaciones .NET?
La respuesta es complicada y siempre dependerá de las necesidades del cliente y el escenario actual que tengamos, primero debemos auditar lo que tenemos que migrar para decidir si vale la pena o es mejor construir de nuevo la aplicación.
Dejo esta respuesta, que me gusto bastante:
«Ever since ASP.NET Core came out, a big deal has been made that it runs on Linux and we can finally deploy ASP.NET inside Docker containers. While there’s no doubt that it’s a huge step forward for the platform; there’s one thing that is often overlooked… This is only good news for green field projects and apps that can be ported to ASP.NET Core.
The majority of existing ASP.NET apps will never be ported to ASP.NET Core. There are many reasons an app can’t be ported:
- Too many dependencies on System.Web
- WebForms!
- Third party dependencies that haven’t been ported to .NET Core
- It runs perfectly fine in .NET 4.6 and earlier and doesn’t make financial sense to port it
This is why Windows containers are so important. They let us bake our existing applications into Docker images and deploy them with the same tools as the rest of the Docker ecosystem.»