What’s new in ASP.NET vNext 
Gunnar Peipman 
ASP.NET/IIS MVP
Celebrity chart 
Name: Gunnar Peipman 
Job: Chief Everything Officer 
Company: Peipman Consult Ltd 
Hobbies: Coding, reading, beers 
MS: ASP.NET MVP, blogger, speaker 
Blog: gunnarpeipman.com 
Shoe number: can’t remember
Agenda 
• Where we are now? 
• What’s new? 
• K World 
• ASP.NET demos
Where we are now 
• ASP.NET, Web API and Wweb Pages are matured 
• Entity Framework is matured
What’s new?
Infrastructure 
• Support for true side-by-side deployment 
• Cloud optimized .NET (CoreCLR) takes ~11MB 
• Open source and cross platform 
• New run-time engine called „K“
ASP.NET 
• MVC, Web API & Web Pages have been merged into one 
• New cloud-optimized versions of MVC, Web API, Web Pages, SignalR, and Entity Framework 
• ASP.NET vNext apps are cloud ready by design 
• Host agnostic – runs not only under IIS
Development 
• New project and setting files 
• Consume services as you go 
• No code compilation using Roslyn 
• Changed API-s 
• Framework level dependency injection
K World
K Runtime Layering 
Content here • Find and call the CLR Native host 
• Pass in arguments given to the process to the native host 
Layer 0 
Native processs 
• Boot the CLR 
• Calling the Managed Entry Point, Layer 2 
Layer 1 
CLR Native Host 
• Create the LoaderContainer that will contain the required Iloaders 
• Provide the root ILoader that will load assemblies, and satisfy dependencies 
• Call the main entry point of the provided program 
Layer 2 
Managed Entry point 
• Walks the dependencies in the project and builds up the closure of dependencies 
• Adds ILoader => LoaderContainer that can load assemblies from various sources 
• Calls the entry point of assembly name given as the next argument given to KLR.exe 
Layer 3 
Application Host 
• Developer’s application code when running on the application host 
Layer 4 
Application
KVM 
• K Runtime version manager 
• Switch between versions 
• Switch between .NET runtimes 
• Upgrade K Runtime
KPM 
• Package manager 
• Downloads or restores packages for application 
• Runs from command-line 
• Uses project file to detect required packages
Demos
Please rate this lecture 
and win Window Phone NOKIA Lumia 1320 
Help us choose the best Sinergija lecturer! 
Microsoft will award you – at the conference end, 
we’ll give one NOKIA Lumia 1320 to someone 
from the audience – randomly. 
Go to www.mssinergija.net, log in and cast your 
votes! 
You can rate only lectures that you were present 
at, just once. More lectures you rate, more 
chances you have. 
Winner will be announced at the official Sinergija 
web portal, www.mssinergija.net
What's new in ASP.NET vNext

What's new in ASP.NET vNext

  • 2.
    What’s new inASP.NET vNext Gunnar Peipman ASP.NET/IIS MVP
  • 3.
    Celebrity chart Name:Gunnar Peipman Job: Chief Everything Officer Company: Peipman Consult Ltd Hobbies: Coding, reading, beers MS: ASP.NET MVP, blogger, speaker Blog: gunnarpeipman.com Shoe number: can’t remember
  • 4.
    Agenda • Wherewe are now? • What’s new? • K World • ASP.NET demos
  • 5.
    Where we arenow • ASP.NET, Web API and Wweb Pages are matured • Entity Framework is matured
  • 6.
  • 7.
    Infrastructure • Supportfor true side-by-side deployment • Cloud optimized .NET (CoreCLR) takes ~11MB • Open source and cross platform • New run-time engine called „K“
  • 8.
    ASP.NET • MVC,Web API & Web Pages have been merged into one • New cloud-optimized versions of MVC, Web API, Web Pages, SignalR, and Entity Framework • ASP.NET vNext apps are cloud ready by design • Host agnostic – runs not only under IIS
  • 9.
    Development • Newproject and setting files • Consume services as you go • No code compilation using Roslyn • Changed API-s • Framework level dependency injection
  • 10.
  • 11.
    K Runtime Layering Content here • Find and call the CLR Native host • Pass in arguments given to the process to the native host Layer 0 Native processs • Boot the CLR • Calling the Managed Entry Point, Layer 2 Layer 1 CLR Native Host • Create the LoaderContainer that will contain the required Iloaders • Provide the root ILoader that will load assemblies, and satisfy dependencies • Call the main entry point of the provided program Layer 2 Managed Entry point • Walks the dependencies in the project and builds up the closure of dependencies • Adds ILoader => LoaderContainer that can load assemblies from various sources • Calls the entry point of assembly name given as the next argument given to KLR.exe Layer 3 Application Host • Developer’s application code when running on the application host Layer 4 Application
  • 13.
    KVM • KRuntime version manager • Switch between versions • Switch between .NET runtimes • Upgrade K Runtime
  • 14.
    KPM • Packagemanager • Downloads or restores packages for application • Runs from command-line • Uses project file to detect required packages
  • 15.
  • 16.
    Please rate thislecture and win Window Phone NOKIA Lumia 1320 Help us choose the best Sinergija lecturer! Microsoft will award you – at the conference end, we’ll give one NOKIA Lumia 1320 to someone from the audience – randomly. Go to www.mssinergija.net, log in and cast your votes! You can rate only lectures that you were present at, just once. More lectures you rate, more chances you have. Winner will be announced at the official Sinergija web portal, www.mssinergija.net