ASP.NET 5 is comes under Umbrella of Open Source


One of my Friend and Colleague recently informed me about ASP.NET is now open source.

Being an Open Source Enthusiast I am really happy to see thisASP.NET also will be comes under the Umbrella of Open Source.

Read thishttps://get.asp.net/

ASP.NET 5 is a new open-source, cross-platform, high performance and lightweight framework for building Web Applications using .NET.

ASP.NET 5 RC 2 or ASP.NET Core 1.0 RC as ASP.NET 5 is now ASP.NET Core 1.0 should be out mid Feb 2016. Since we are still not sure about the new release name, so for this post lets continue to use ASP.NET 5 RC 2. Earlier I posted about whats coming in ASP.NET 5 RC 2, in which I mentioned about a new dotnet cli tool to replace DNX commands. In this post, lets take a looks at whats new in ASP.NET 5 RC 2 release as shown by ASP.NET team in NDC conference earlier this year. This is not a complete list and I believe this list will grow when ASP.NET 5 RC 2 comes.

Whats new in ASP.NET 5 RC 2

  • Till ASP.NET 5 RC 1, every ASP.NET 5 project is a DNX project but thats no more valid with RC 2 release.
  • A new CLI tool named dotnet to replace dnx.
  • ASP.NET 5 RC 1 project has static void main() method in startup.cs file, which is the entry point for ASP.NET 5 application. And in RC 2, ASP.NET application changes to true console application. Which means that ASP.NET 5 applications are self hosted all the time. So from your console application, you will call ASPNETHosting API to build your code and run ASP.NET part of your application.
  • Support for NuGet Content is back. Nuget content is the ability to put non dll via nuget in your application.
  • Visual Basic and F# were not supported previously by ASP.NET 5 but now the new CLI tool supports new language via dotnet compile.
  • Incremental compilation One of the features of DNX was dynamic compilation. So when you run dnx commands on any ASP.NET source application, it compiles them in memory and launch the application. But as soon as you make any code changes, dnx server is stopped. So when you use dnxagain, it recompiles the whole application, instead of compiling only whats changed. So with RC 2, incremental compilation is back. Just compile what is changed.
  • .csproj applications now can reference .xproj, which was not possible with DNX projects.

Project.json changes

  • Project.json now allows to set compiler in compilerOption section. So whendotnet compile command is executed, it will look in Project.json file.
  • You can also set gcMode (Garbage Collection Mode) in Project.json file underrunTimeOptions section.
  • commands section is gone.
  • dnx46 now becomes net46

Thats all for now. I will be updating this list when ASP.NET RC 2 finally comes so keep.

 

 

Thanks : Ravindra Jumrani

Reference Link :http://www.talkingdotnet.com/whats-new-in-asp-net-5-rc-2-or-asp-net-core/

Share on Facebook




About Pragnesh Karia

Pragnesh Karia, Open Source Enthusiast, Software Professional, Software Developer, Technical Lead ,Magento, Joomla ,Joomla LMS , Moodel LMS ,PHP ,Mysql, Ajax, Javascript, Jquery, Linux, Fan of Open Sources , Annet Technologies , SEO Analyst , Mootools