- ASP.NET vNext provides a more modular, extensible, and lean framework for building Web applications.
- ASP.NET vNext lets you choose between two runtime modes: Full CLR and the light weight Core CLR.
- Beyond the initial bootstrapping, the Full CLR and Core CLR share the same KRE component eco-system, linking to components from the same NuGet feeds.
- The Core CLR is a trimmed down, xcopy-deployable, and cross-platform version of the CLR
- ASP.NET vNext provides a simple middleware interface to extend and replace existing behavior.
- ASP.NET vNext merges MVC and Web API into a single framework that combines the best features of both environments.
- ASP.NET vNext is based on async code from the ground up.
- Although vNext changes the underlying technology, it’s not at all making existing ASP.NET skills obsolete.
ASP.NET vNext aims to address the above scenarios by providing a more modular, extensible, asynchronous, and much leaner framework to build every kind of Web application on the Microsoft stack. ASP.NET vNext is a radical departure from the ASP.NET of yore by completely rebuilding the ASP.NET stack from scratch in a modular fashion. It’s designed to address the rapidly changing Web development landscape, and performance and scalability requirements for cloud computing. And Microsoft is doing it all in the open with the ASP.NET vNext stack developed as open source with community contribution from start to finish on GitHub.
MVC + Web API + Web Pages = ASP.NET MVC 6
Install ASP.NET 5 RC from https://get.asp.net/
Building ASP.NET 5 application in VS
- “wwwroot” - web root of application, mainly for static files and others like js, img, etc
- “Dependencies” - holds all external dependencies packages.
- “References” - all project nugget packages references are here including the compiler
- “project.json” – Project configuration including the nugget package, “project.json” = “web.config” + “packages.config”
It is very easy to turn any support project to a nugget package by clicking ; right click “Properties” of targeted project, go to build and check “Produce output on build”
ASP.NET MVC 6
ASP.NET 5 has been re-imagined from the ground up to provide a faster development experience, best in class performance, full side-by-side support, and cross platform support for Linux and Mac. In this video, gives an overview of what's new in ASP.NET 5 and provides a short demo of the new tooling inside of Visual Studio 2015
HTML Tag helpers instead of razor code