New Features in ASP.NET 2015 or ASP.NET 5

New Features in ASP.NET 2015 or ASP.NET 5

  • Normally, whenever you made any change in your project, you have to rebuild it to check its effects. But now in ASP.Net 2015,there is no need to rebuild it again, as it used Roslyn compiler for this.

  • Earlier we need to do lot of configuration for publishing or deploying project in cloud, but now in ASP.NET 2015, you can easily migrate and deploy your project using cloud ready configuration. Tip for publishing project in cloud: first by converting your project to azure cloud project and then publish that converted azure project.

  • In .Net 5, you can easily IIS host or self host, your 2015 project.

  • 2015 has open source in github, that means you can find code of 5 from github, and you can make repository of your project in github just live svn.

  • ASP.NET uses 3 types of run time engine
        1. Full .Net CLR (Default)
        2. Core CLR (Include only those which is needed in your application for ex using system.console only)
        3. Cross Platform CLR (For running app on mac and linux os)

  • In ASP.Net 2015 you can run new and old version code together. For this you have to use core CLR.

  • No need to add assembly in references, you can directly add assembly name with version in project.json file. Intellisense will work for this.

  • In ASP.Net 2015, you can easily use MVC, web api and web pages together without any conflicts of their features, as MVC 6 is introduced for this. So there is no need to write different code for all three technologies.

  • ASP.NET 5 uses new http pipeline, which uses less overhead in pipeline and improves http performance.

  • ASP.NET 5 can use dependency injection i.e. can replace module with another module without altering the client.

  • ASP.NET 5 can run older version application without modification of any code except mvc6 and signal r 3, as they use new http pipeline.