Introduction To ASP.Net v Next

Introduction

The new features include improved tools for Windows Phone 8.1 and universal Windows apps. The biggest highlight in Visual Studio2013 Update 2 is that developers can create universal Windows application forms in one single project. Microsoft Visual Studio supports the three UI frameworks for universal Windows applications that are XAML, HTML and DirectX. The new version is used to create cloud optimized applications also. Make high performance and high productivity APIs and patterns available.

  • The new version is used to create cloud optimized applications and Windows apps.
  • Human readable and easy to author project files with default conventions.
  • Deliver applications for multiple devices using the same application model.
  • The every control available via command-line tools and standard file formats.
  • Uses a smaller set of framework libraries.
  • Enabled on Mono and Linux.
  • Performance and hub improvements in Visual Studio 2013 Update 2.
  • .NET Native: compile .NET ahead-of-time. Everything gets faster.
  • NET Compiler Platform: All new C# and VB compilers, new language features, compiler-as-a-service and it's Open Source.
  • ASP.NET vNext is open source and cross platform.

ASP.NET vNext Frameworks

A very important highlight is that MVC, the Web API and Web Pages now share a unified core, they are merged. Now there is a single type of controller.

 
 
  • One routing system, one model binding system, one filter pipeline.
  • Smooth transition from Web Pages to MVC.
  • Return HTML as views (HTML) or data for HTTP Services.
  • Optional small core CLR that only contains fundamental building blocks.
  • Support of true side by side execution of the framework that allows breaking changes scenarios.
  • Enables best-of-breed performance and scalability with a high resource-efficient optimization.
 
 
MVC

MVC, the Web API and Web Pages are one framework that include:

  • One routing system, one model binding system, one filter pipeline.
  • Smooth transition from Web Pages to MVC.
  • Returns HTML as views or data.

SignalR

  • ASP.NET vNext support for the real-time Web through the next version of ASP.NET SignalR.

Data

  • The data builds a lighter-weight version of the Entity Framework that can be used across a wide variety of platforms.
  • The Entity Framework stack contains many APIs and features that are not especially useful and/or hardly ever used.

ASP.NET vNext Strengths

  • Dependency injection everywhere.
  • Fast cold start times.
  • Low memory footprint.
  • Side by side runtimes.
  • Lightweight pay as you go stack.
  • No dependency on System.Web.
  • Excellent Visual Studio experience.
  • Ability to change code and use F5 in the browser without an explicit build step.
  • Unified compilation with the same design time and runtime compiler.
  • First class ability to produce NuGet packages from the project system.

ASP.NET v Next Weaknesses

  • View compilation is always configured separately from your normal project compilation.
  • View page errors don't show up in the IDE alongside normal compilation errors.
  • Dependency Injection is different across all of our frameworks (Web API, MVC).
  • MVC / Web API / Web Pages merge, using a common set of abstractions for HTTP, routing, action selection, filters, model binding.

Summary

This article provided an introduction to the ASP.NET v Next strengths and weaknesses. It will also help you to learn the ASP.NET v Next. Thanks for reading the article.

Up Next
    Ebook Download
    View all
    Learn
    View all