SlideShare a Scribd company logo
asp.net vNext 
The future of the Server 
MAXIME LEMAITRE – 11/12/2014
Agenda 
‱ Before to start 
‱ Let’s 
– create a new MVC project.. 
– open the project file 
 
– add a reference 
 
– add a nuget package 
 
– build a class library
 
– build & publish the project
 
– edit source code
 
– add some configuration 
 
– add a web api 
 
– play with bower/gulp/grunt 
 
‱ asp.net core & project K 
‱ Questions
Based on latest asp.net 
vNext version (Nov. 2014)
Let’s create a new MVC project 
 
What’s different ? 
‱ New sections 
– wwwroot 
– Dependencies 
‱ New Solution structure 
– Src, artefacts, 
 
‱ New files 
– project.json 
– global.json 
– (package.json) 
– (grunfile.js) 
– (bower.json) 
‱ Missing files/folders 
– MVC Content/Scripts/AppStart 
– Web.config 
– global.asax
Let’s open the project file 
 
What’s different ? 
‱ K Project file is smaller 
– Where are references ? 
– Where are source code files ? 
– Where are X & Y ? 
‱ A new project.json file 
– Project settings 
– Dependencies & Frameworks 
– Commands 
– (but still no files)
Let’s add a reference 
 
What’s different ? 
‱ No more direct dependencies 
‱ No more GAC dependencies 
‱ NuGet everything, even the 
runtime itself. 
Dependencies are now defined in project.json
Let’s add a nuget package 

Let’s add a nuget package 
 
‱ Brand New UI 
‱ Version Selection 
‱ Combined Installed/Online/Updates 
Workflows 
‱ Version Consolidation 
‱ Operation Previews 
‱ Installation Options (Dep behavior & 
conflict action) 
‱ Infinite Scrolling 
‱ 

Let’s build a class library 
 
‱ New project type 
‱ Nuget packages “All the way” 
‱ Cross compiling (net40, net45, 
aspnet, aspnetcore, 
) 
‱ Can be built via command line 
or VS
Let’s build & publish the project 
 
‱ What about the deployable package ? 
– the assemblies never exist on the disk 
– the compiler do all the work in memory 
Tip : > SET KRE_TRACE=1 
‱ Same experience 
between command 
prompt and VS 
‱ Cross-platform
Let’s edit source code 
 
No-compile 
developer 
experience ! 
vNext uses the Rosyln compiler to compile code dynamically. You will be able to edit a code file, refresh 
the browser, and see the changes without rebuilding the project.
Let’s add some configuration 
 
‱ No more .config file ! But a new lightweight model 
– Configuartion that works everywhere (Core & Full CLR) 
– Configuration can be instantiated and initialized by the 
application 
Project.json 
Config.json Config.xml 
Config.ini 
Supports also command 
line arguments & 
environement variables ! 
Tip : ConfigR may help
 Program.cs
Let’s add a web api 
 
‱ MVC, Web API, and Web Pages will 
be merged into one framework, 
called MVC 6 
– removes a lot of overlap between 
the existing MVC and Web API 
frameworks 
– uses a common set of abstractions 
for routing, action selection, filters, 
model binding, and so on 
– use the framework to create both UI 
(HTML) and web APIs. 
‱ No dependency to System.Web 
– leaner framework, with faster 
startup time and lower memory 
consumption
Let’s play with bower/gulp/grunt 
 
‱ VS 2015 Preview has built-in support for popular 
package managers 
– Bower. Described as a “package manager for the 
web,” Bower lets you install and restore client-side 
packages, include JavaScript and CSS libraries. 
– Grunt and Gulp. Grunt and Gulp are JavaScript-based 
task runners. 
– npm : npm is a package manager that was originally 
created for Node.js. Bower, Grunt, and Gulp all use 
npm. 
‱ wwwroot folder 
– All of the static files (generated or not) in your 
project go into this folder
Microsoft’s Special K 
‱ KRE – K Runtime Environment is the 
code required to bootstrap and run an 
ASP.NET vNext application. This 
includes things like the compilation 
system, SDK tools, and the native CLR 
hosts. 
‱ KVM – K Version Manager is for 
updating and installing different 
versions of KRE. KVM is also used to 
set default KRE version. 
‱ KPM – K Package Manager manages 
packages needed by applications to 
run. Packages in this context are 
NuGet packages. 
Read more here
Levels of abstractions 
‱ The host application – in the past this 
was ALWAYS Microsoft Internet 
Information Server (IIS). This could be 
IIS, IIS with Helios, Katana, or some 
other OWIN capable host. 
‱ The CLR framework – previously you 
would choose which version of the 
Microsoft.NET framework you wanted 
to use. This may be .NET 4.5.2, K 
runtime, or Mono. 
‱ The Application Host – previously, this 
would be the W3C executable. Now, 
this can be a host for the Visual Studio 
designer, or the new 
Microsoft.Host.Runtime. 
‱ Your Application – Your application 
now loads the former ASP.NET 
frameworks (MVC, WebAPI, or SignalR) 
as part of its dependencies. 
Read more here
Asp.net vNext Features 
‱ New flexible and cross-platform runtime 
‱ New modular HTTP request pipeline 
‱ Cloud-ready environment configuration 
‱ Unified programming model that combines MVC, Web API, 
and Web Pages 
‱ Ability to see changes without re-building the project 
‱ Side-by-side versioning of the .NET Framework 
‱ Ability to self-host or host on IIS 
‱ New tools in Visual Studio 2015 
‱ Open source in GitHub 
Read more here
Questions
Continue reading 
 
‱ http://www.asp.net/vnext/overview/aspnet-vnext 
‱ http://channel9.msdn.com/Events/Visual-Studio/Connect-event-2014/011 
‱ http://www.tugberkugurlu.com/archive/exciting-things-about-asp-net-vnext-series- 
the-ultimate-guide 
‱ https://github.com/aspnet/Home/wiki 
‱ https://github.com/aspnet/Home/wiki/KRuntime-structure 
‱ http://www.hanselman.com/blog/IntroducingASPNETVNext.aspx 
‱ http://stackoverflow.com/questions/25431750/asp-net-vnext-is-host-agnostic-what- 
does-it-deeply-mean 
‱ http://channel9.msdn.com/Events/dotnetConf/2014/ASP-NET-vNext-101 
‱ http://channel9.msdn.com/Events/Visual-Studio/Connect-event-2014/023 
‱ http://jeremydmiller.com/2014/12/02/some-thoughts-on-the-new-net/? 
utm_source=twitterfeed&utm_medium=twitter 
‱ http://gunnarpeipman.com/aspnet/ 
‱ http://www.omnisharp.net/
About Us 
‱ Betclic Everest Group, one of the world leaders in online 
gaming, has a unique portfolio comprising various 
complementary international brands: Betclic, Everest 
Poker/Casino, Bet-at-home, Expekt, Imperial Casino, Monte- 
Carlo Casino
 
‱ Through our brands, Betclic Everest Group places expertise, 
technological know-how and security at the heart of our 
strategy to deliver an on-line gaming offer attuned to the 
passion of our players. We want our brands to be easy to use 
for every gamer around the world. We’re building our 
company to make that happen. 
‱ Active in 100 countries with more than 12 million customers 
worldwide, the Group is committed to promoting secure and 
responsible gaming and is a member of several international 
professional associations including the EGBA (European 
Gaming and Betting Association) and the ESSA (European 
Sports Security Association).
We want our Sports betting, Poker, Horse racing and 
Casino & Games brands to be easy to use for every 
gamer around the world. Code with us to make that 
happen. 
Look at all the challenges we offer HERE 
Check our Employer Page 
Follow us on LinkedIn 
WE’RE HIRING !

More Related Content

PPTX
Docker With Asp.net Core
PDF
Mini-Training: Redis
PPTX
Mini-training: Let’s Git It!
PPTX
Continuous Delivery and Infrastructure as Code
PDF
Codecoon - A technical Case Study
PPTX
ASP.NET 5 - Microsoft's Web development platform reimagined
PDF
Git and GitHub for Documentation
PDF
Engage 2019: Introduction to Node-Red
Docker With Asp.net Core
Mini-Training: Redis
Mini-training: Let’s Git It!
Continuous Delivery and Infrastructure as Code
Codecoon - A technical Case Study
ASP.NET 5 - Microsoft's Web development platform reimagined
Git and GitHub for Documentation
Engage 2019: Introduction to Node-Red

What's hot (20)

PPTX
5 Popular Choices for NoSQL on a Microsoft Platform - All Things Open - Octob...
PPTX
Warden @ Meet magento Romania 2021
PDF
How adding a further tool can be a good thing
PDF
TYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source Tools
PDF
Introduction to jenkins
 
PDF
Dot Net Core
PPTX
Continuous Delivery with Jenkins
PPTX
Untangling - fall2017 - week 8
PDF
Introduction to ansible
 
PDF
Nürnberg WooCommerce Talk - 11/24/16
PDF
Working in harmony
PDF
How to make your Webpack builds 10x faster
PDF
Afrimadoni the power of docker
PPTX
Zend Framwork presentation
PPTX
PHP Indonesia - Nodejs Web Development
PPTX
CubeJS: eBay’s Node.js Adoption Journey
PPTX
Introduction to apache maven
 
PPTX
Package Management on Windows with Chocolatey
 
PDF
The New Frontend Toolchain
PPTX
WordPress Development with VVV, VV, and Vagrant
5 Popular Choices for NoSQL on a Microsoft Platform - All Things Open - Octob...
Warden @ Meet magento Romania 2021
How adding a further tool can be a good thing
TYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source Tools
Introduction to jenkins
 
Dot Net Core
Continuous Delivery with Jenkins
Untangling - fall2017 - week 8
Introduction to ansible
 
Nürnberg WooCommerce Talk - 11/24/16
Working in harmony
How to make your Webpack builds 10x faster
Afrimadoni the power of docker
Zend Framwork presentation
PHP Indonesia - Nodejs Web Development
CubeJS: eBay’s Node.js Adoption Journey
Introduction to apache maven
 
Package Management on Windows with Chocolatey
 
The New Frontend Toolchain
WordPress Development with VVV, VV, and Vagrant
Ad

Viewers also liked (17)

PPTX
Mini-training: Personalization & Recommendation Demystified
PPTX
Mini training- Scenario Driven Design
PPTX
Mini-Training: Docker
PPTX
Training - What is Performance ?
PDF
Mini-Training: Mobile UX Trends
PDF
Email Management in Outlook
PPTX
Training – Going Async
PDF
Mini-Training: NDepend
PDF
Lean for Business
PPTX
Training: MVVM Pattern
PPTX
Mini training - Reactive Extensions (Rx)
PPTX
Mini training - Introduction to Microsoft Azure Storage
PDF
Mini-Training: SSO with Windows Identity Foundation
PPTX
Mini training - Moving to xUnit.net
PDF
Management 3.0 Workout
PDF
Mini Training Flyway
Mini-training: Personalization & Recommendation Demystified
Mini training- Scenario Driven Design
Mini-Training: Docker
Training - What is Performance ?
Mini-Training: Mobile UX Trends
Email Management in Outlook
Training – Going Async
Mini-Training: NDepend
Lean for Business
Training: MVVM Pattern
Mini training - Reactive Extensions (Rx)
Mini training - Introduction to Microsoft Azure Storage
Mini-Training: SSO with Windows Identity Foundation
Mini training - Moving to xUnit.net
Management 3.0 Workout
Mini Training Flyway
Ad

Similar to Short-Training asp.net vNext (20)

PPTX
The future of ASP.NET / CodeCamp/Iasi 25 Oct 2014
PPTX
The next step from Microsoft - Vnext (Srdjan Poznic)
PPTX
ASP.NET vNext the future of ASP
PPTX
ASP.NET vNext
PPTX
ASP.NET vNext
PPTX
Get acquainted with the new ASP.Net 5
PPTX
Introducing ASP.NET vNext - A tour of the new ASP.NET platform
PDF
Introduction to ASP.NET Core
PPTX
What is new in visual studio "14"
PPTX
Les nouveautés ASP.NET 5 avec Visual Studio 2015
PPTX
MiM asp.net core
PPTX
Angular on ASP.NET MVC 6
PPTX
.NET Core: a new .NET Platform
PPTX
ASP.NET Core: The best of the new bits
PDF
Asp.Net Core MVC , Razor page , Entity Framework Core
PPTX
Intro to.net core 20170111
PPTX
Introduction to ASP.NET 5
 
PPTX
Learning ASP.NET 5 and MVC 6
PPTX
From .NET Core 3, all the rest will be legacy
PPTX
ASP.NET Core - Phillosophies, Processes and Tooling
The future of ASP.NET / CodeCamp/Iasi 25 Oct 2014
The next step from Microsoft - Vnext (Srdjan Poznic)
ASP.NET vNext the future of ASP
ASP.NET vNext
ASP.NET vNext
Get acquainted with the new ASP.Net 5
Introducing ASP.NET vNext - A tour of the new ASP.NET platform
Introduction to ASP.NET Core
What is new in visual studio "14"
Les nouveautés ASP.NET 5 avec Visual Studio 2015
MiM asp.net core
Angular on ASP.NET MVC 6
.NET Core: a new .NET Platform
ASP.NET Core: The best of the new bits
Asp.Net Core MVC , Razor page , Entity Framework Core
Intro to.net core 20170111
Introduction to ASP.NET 5
 
Learning ASP.NET 5 and MVC 6
From .NET Core 3, all the rest will be legacy
ASP.NET Core - Phillosophies, Processes and Tooling

More from Betclic Everest Group Tech Team (11)

PDF
AngularJS Best Practices
PDF
Mini-Training: Roslyn
PDF
Mini-Training: Netflix Simian Army
PPTX
WCF Configuration - The basics
PDF
Mini-Training: Javascript Patterns
PPTX
The Ten Commandments of Egoless Programming
PDF
Productivity Tips for the Busy Tech Professional
PDF
PDF
Mini-Training: TypeScript
PDF
Betclic Winter Team Building 2013
PPTX
Mini-Training: To cache or not to cache
AngularJS Best Practices
Mini-Training: Roslyn
Mini-Training: Netflix Simian Army
WCF Configuration - The basics
Mini-Training: Javascript Patterns
The Ten Commandments of Egoless Programming
Productivity Tips for the Busy Tech Professional
Mini-Training: TypeScript
Betclic Winter Team Building 2013
Mini-Training: To cache or not to cache

Recently uploaded (20)

PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
top salesforce developer skills in 2025.pdf
PPTX
L1 - Introduction to python Backend.pptx
PDF
Digital Strategies for Manufacturing Companies
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
ai tools demonstartion for schools and inter college
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Nekopoi APK 2025 free lastest update
PPTX
CHAPTER 2 - PM Management and IT Context
PTS Company Brochure 2025 (1).pdf.......
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Odoo Companies in India – Driving Business Transformation.pdf
Design an Analysis of Algorithms II-SECS-1021-03
top salesforce developer skills in 2025.pdf
L1 - Introduction to python Backend.pptx
Digital Strategies for Manufacturing Companies
Operating system designcfffgfgggggggvggggggggg
ai tools demonstartion for schools and inter college
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Upgrade and Innovation Strategies for SAP ERP Customers
Softaken Excel to vCard Converter Software.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Reimagine Home Health with the Power of Agentic AI​
Which alternative to Crystal Reports is best for small or large businesses.pdf
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
How to Choose the Right IT Partner for Your Business in Malaysia
Navsoft: AI-Powered Business Solutions & Custom Software Development
Nekopoi APK 2025 free lastest update
CHAPTER 2 - PM Management and IT Context

Short-Training asp.net vNext

  • 1. asp.net vNext The future of the Server MAXIME LEMAITRE – 11/12/2014
  • 2. Agenda ‱ Before to start ‱ Let’s – create a new MVC project.. – open the project file 
 – add a reference 
 – add a nuget package 
 – build a class library
 – build & publish the project
 – edit source code
 – add some configuration 
 – add a web api 
 – play with bower/gulp/grunt 
 ‱ asp.net core & project K ‱ Questions
  • 3. Based on latest asp.net vNext version (Nov. 2014)
  • 4. Let’s create a new MVC project 
 What’s different ? ‱ New sections – wwwroot – Dependencies ‱ New Solution structure – Src, artefacts, 
 ‱ New files – project.json – global.json – (package.json) – (grunfile.js) – (bower.json) ‱ Missing files/folders – MVC Content/Scripts/AppStart – Web.config – global.asax
  • 5. Let’s open the project file 
 What’s different ? ‱ K Project file is smaller – Where are references ? – Where are source code files ? – Where are X & Y ? ‱ A new project.json file – Project settings – Dependencies & Frameworks – Commands – (but still no files)
  • 6. Let’s add a reference 
 What’s different ? ‱ No more direct dependencies ‱ No more GAC dependencies ‱ NuGet everything, even the runtime itself. Dependencies are now defined in project.json
  • 7. Let’s add a nuget package 

  • 8. Let’s add a nuget package 
 ‱ Brand New UI ‱ Version Selection ‱ Combined Installed/Online/Updates Workflows ‱ Version Consolidation ‱ Operation Previews ‱ Installation Options (Dep behavior & conflict action) ‱ Infinite Scrolling ‱ 

  • 9. Let’s build a class library 
 ‱ New project type ‱ Nuget packages “All the way” ‱ Cross compiling (net40, net45, aspnet, aspnetcore, 
) ‱ Can be built via command line or VS
  • 10. Let’s build & publish the project 
 ‱ What about the deployable package ? – the assemblies never exist on the disk – the compiler do all the work in memory Tip : > SET KRE_TRACE=1 ‱ Same experience between command prompt and VS ‱ Cross-platform
  • 11. Let’s edit source code 
 No-compile developer experience ! vNext uses the Rosyln compiler to compile code dynamically. You will be able to edit a code file, refresh the browser, and see the changes without rebuilding the project.
  • 12. Let’s add some configuration 
 ‱ No more .config file ! But a new lightweight model – Configuartion that works everywhere (Core & Full CLR) – Configuration can be instantiated and initialized by the application Project.json Config.json Config.xml Config.ini Supports also command line arguments & environement variables ! Tip : ConfigR may help
 Program.cs
  • 13. Let’s add a web api 
 ‱ MVC, Web API, and Web Pages will be merged into one framework, called MVC 6 – removes a lot of overlap between the existing MVC and Web API frameworks – uses a common set of abstractions for routing, action selection, filters, model binding, and so on – use the framework to create both UI (HTML) and web APIs. ‱ No dependency to System.Web – leaner framework, with faster startup time and lower memory consumption
  • 14. Let’s play with bower/gulp/grunt 
 ‱ VS 2015 Preview has built-in support for popular package managers – Bower. Described as a “package manager for the web,” Bower lets you install and restore client-side packages, include JavaScript and CSS libraries. – Grunt and Gulp. Grunt and Gulp are JavaScript-based task runners. – npm : npm is a package manager that was originally created for Node.js. Bower, Grunt, and Gulp all use npm. ‱ wwwroot folder – All of the static files (generated or not) in your project go into this folder
  • 15. Microsoft’s Special K ‱ KRE – K Runtime Environment is the code required to bootstrap and run an ASP.NET vNext application. This includes things like the compilation system, SDK tools, and the native CLR hosts. ‱ KVM – K Version Manager is for updating and installing different versions of KRE. KVM is also used to set default KRE version. ‱ KPM – K Package Manager manages packages needed by applications to run. Packages in this context are NuGet packages. Read more here
  • 16. Levels of abstractions ‱ The host application – in the past this was ALWAYS Microsoft Internet Information Server (IIS). This could be IIS, IIS with Helios, Katana, or some other OWIN capable host. ‱ The CLR framework – previously you would choose which version of the Microsoft.NET framework you wanted to use. This may be .NET 4.5.2, K runtime, or Mono. ‱ The Application Host – previously, this would be the W3C executable. Now, this can be a host for the Visual Studio designer, or the new Microsoft.Host.Runtime. ‱ Your Application – Your application now loads the former ASP.NET frameworks (MVC, WebAPI, or SignalR) as part of its dependencies. Read more here
  • 17. Asp.net vNext Features ‱ New flexible and cross-platform runtime ‱ New modular HTTP request pipeline ‱ Cloud-ready environment configuration ‱ Unified programming model that combines MVC, Web API, and Web Pages ‱ Ability to see changes without re-building the project ‱ Side-by-side versioning of the .NET Framework ‱ Ability to self-host or host on IIS ‱ New tools in Visual Studio 2015 ‱ Open source in GitHub Read more here
  • 19. Continue reading 
 ‱ http://www.asp.net/vnext/overview/aspnet-vnext ‱ http://channel9.msdn.com/Events/Visual-Studio/Connect-event-2014/011 ‱ http://www.tugberkugurlu.com/archive/exciting-things-about-asp-net-vnext-series- the-ultimate-guide ‱ https://github.com/aspnet/Home/wiki ‱ https://github.com/aspnet/Home/wiki/KRuntime-structure ‱ http://www.hanselman.com/blog/IntroducingASPNETVNext.aspx ‱ http://stackoverflow.com/questions/25431750/asp-net-vnext-is-host-agnostic-what- does-it-deeply-mean ‱ http://channel9.msdn.com/Events/dotnetConf/2014/ASP-NET-vNext-101 ‱ http://channel9.msdn.com/Events/Visual-Studio/Connect-event-2014/023 ‱ http://jeremydmiller.com/2014/12/02/some-thoughts-on-the-new-net/? utm_source=twitterfeed&utm_medium=twitter ‱ http://gunnarpeipman.com/aspnet/ ‱ http://www.omnisharp.net/
  • 20. About Us ‱ Betclic Everest Group, one of the world leaders in online gaming, has a unique portfolio comprising various complementary international brands: Betclic, Everest Poker/Casino, Bet-at-home, Expekt, Imperial Casino, Monte- Carlo Casino
 ‱ Through our brands, Betclic Everest Group places expertise, technological know-how and security at the heart of our strategy to deliver an on-line gaming offer attuned to the passion of our players. We want our brands to be easy to use for every gamer around the world. We’re building our company to make that happen. ‱ Active in 100 countries with more than 12 million customers worldwide, the Group is committed to promoting secure and responsible gaming and is a member of several international professional associations including the EGBA (European Gaming and Betting Association) and the ESSA (European Sports Security Association).
  • 21. We want our Sports betting, Poker, Horse racing and Casino & Games brands to be easy to use for every gamer around the world. Code with us to make that happen. Look at all the challenges we offer HERE Check our Employer Page Follow us on LinkedIn WE’RE HIRING !