Introduction to ASP.Net vNext

This post will give you an introduction to ASP.Net vNext and cover what all new things have been introduced with it.
ASP.Net vNext is designed for building cloud based apps easily. It is built on top of .Net vNext. 

Following are the salient features of ASP.Net vNext: -

  1. ASP.Net vNext can use cloud optimized .Net vNext. This enables developers to use common API’s for access services like session, caching, etc. irrespective of cloud hosting or server hosting
  2. ASP.Net vNext allows you to deploy your own .Net framework on an app to app basis (side by side). Thus, developers can upgrade the .Net Framework for required apps.
  3. MVC and Web API, Web Pages and SignalR have been merged into MVC 6. It uses common This means a Single controller can returns MVC views as well as Web API responses. They have been decoupled from System.web. ASP.Net Web Forms are still part of system.web and hence are still not part of ‘Cloud Optimized’ stack. Since, MVC 6 is a leaner framework now, this would result in apps with smaller footprint which would result in faster startup time and lower memory consumption.
  4. New configuration system implemented which allows the developers to use the same API’s to access configuration values from local or Azure configuration.
  5. NuGet packages have been brought to forefront with ASP.Net vNext. ASP.Net vNext and CLR itself are being shipped as NuGet packages. Developers can reference only the required functionalities.
  6. As ASP.Net nNext uses new .Net Compiler (‘Roslyn’), code is compiled dynamically. That means developers can change the code and refresh the browser to see the changes take effect.
  7. Dependency Injection built into the framework for configuring environment specific services/libraries.
  8. ASP.Net vNext is Cross Platform enabled thanks to ‘Mono Project’ and end to end use of Dependency Injection across the stack. Developers can build and deploy across Windows, Mac or Linux platform.
  9. Microsoft has gone open source with ASP.Net vNext. Access github here

Happy Learning!!!

P.S. For any errata/suggestions/comments/questions please use the comments section below

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>