SlideShare uma empresa Scribd logo
1 de 27
ASP.NET 5
What’s the Big Deal?
Jim Duffy
TakeNote Technologies
© 2015 TakeNote Technologies
All Rights Reserved
Who Am I?
 Jim Duffy jduffy@takenote.com
 CEO/Founder TakeNote Technologies www.takenote.com
 Blog: www.geekswithblogs.net/takenote/
 Twitter: @jmduffy
 Microsoft Regional Director (RD) www.msrd.io
 11 time Microsoft Most Valuable Professional (MVP)
 .NET, ASP.NET MVC, HTML5, AngularJS & SQL Server Instructor,
Mentor, Developer, and Consultant
 Experienced conference presenter
 ASPInsider Member
© 2015 TakeNote Technologies
All Rights Reserved
Microsoft RD Program
© 2015 TakeNote Technologies
All Rights Reserved
“I am appointed by Microsoft with an independent external role in
the Regional Director program, as one of the top 130 advocates
worldwide for Microsoft, being recognized for deep and broad
technical expertise in many technologies, public communications,
community leadership and corporate experience, while maintaining
a privileged two-way relationship and communication channel with
the regional office, product teams, and senior Microsoft HQ
personnel.”
tl; dr: Microsoft values and trusts me. I am here to help you and
your organization.
The Plan For This Session
 Today’s Modern Web
 Re-Architecting ASP.NET
 Consolidation
© 2015 TakeNote Technologies
All Rights Reserved
Today’s Modern Web
 Apps today are very different from apps
built with original version of ASP.NET
 More Dynamic
 Less Server-Side HTML
 Services Dominate (REST)
 Cloud-based Hosting Has Arrived
© 2015 TakeNote Technologies
All Rights Reserved
So, What is ASP.NET 5?
“ASP.NET 5 is an open source web
framework for building modern web
applications that can be developed and
run on Windows, Linux and the Mac.”
https://weblogs.asp.net/scottgu/introducing-asp-net-5
© 2015 TakeNote Technologies
All Rights Reserved
Re-Architecting ASP.NET
© 2015 TakeNote Technologies
All Rights Reserved
Why?
 Emergence of NodeJS
 The Need for a Lightweight, Fast
Framework
 The Need to Stay Relevant
 Open Source Tools
© 2015 TakeNote Technologies
All Rights Reserved
How?
 Out in the open on Github!
https://github.com/aspnet/home
 Weekly Public Standups
https://www.youtube.com/playlist?list=PL0M0zPgJ3HSftTAAHttA3J
QU4vOjXFquF
© 2015 TakeNote Technologies
All Rights Reserved
Who?
 ASP.NET team blog
http://blogs.msdn.com/b/webdev/
 Driven By Community
© 2015 TakeNote Technologies
All Rights Reserved
Relax, Some Things Stay The
Same, Sort Of
 Controllers
 Razor Views (.cshtml)
 Models
 HTML / CSS / JavaScript (TypeScript)
© 2015 TakeNote Technologies
All Rights Reserved
Parallel Tracks
 ASP.NET 4.6
 MVC 5
 WEB API 2
 SignalR 2
 WebForms
 ASP.NET 5
 MVC 6
 SignalR 3
© 2015 TakeNote Technologies
All Rights Reserved
You don’t have to make the jump to ASP.NET 5 since ASP.NET 4.6
isn’t being discontinued.
VS Code or VS 2015
 Visual Studio
Code
 Command line
centric developers
 Visual Studio
2015
 IDE centric
developers
© 2014 TakeNote Technologies
All Rights Reserved
You can build ASP.NET 5 applications with either tool.
ASP.NET is moving away from requiring Visual Studio, Windows
or any GUI tools at all to build apps. Text editor is all you need.
Primary Changes
 New Project Structure
 File Based
 Two Runtimes to Select From
 Full & Core
 Unification of MVC and Web API
 Simplifies things
© 2015 TakeNote Technologies
All Rights Reserved
New Project Structure
 File based – just add file to a folder
 The file system IS the project
 New Folder Structure
 Configuration Files (JSON) – bye web.config!
 wwwroot
 For static files
 The root of the website is no longer the root of the
project.
© 2015 TakeNote Technologies
All Rights Reserved
Noticeable Changes
 .csproj file -> file system
 global.asax -> startup.cs
 web.config -> project.json
© 2015 TakeNote Technologies
All Rights Reserved
Configuration Files (JSON)
 global.json
 project.json
 config.json
 bower.json
 package.json
© 2015 TakeNote Technologies
All Rights Reserved
New Project Structure
© 2015 TakeNote Technologies
All Rights Reserved
DEMO
Two Runtimes, No Waiting
 DNX 4.5.1 (Full CLR)
 DNX Core 5.0 (Subset)
 Much faster startup times
 Lower memory consumption
 Runs on multiple platforms including
Windows, OS X & Linux
© 2015 TakeNote Technologies
All Rights Reserved
Which Runtime to Choose
 DNX 4.5.1 (Full Framework)
 When you need to use features not in
Core Framework
 DNX Core 5.0
 Deploy apps side-by-side
 Cross platform Windows, Linux & OS X
© 2015 TakeNote Technologies
All Rights Reserved
Command Line Tools
 DNX: .NET Execution Environment
 Was: k, klr, kre
 DNVM: .NET Version Manager
 Was: kvm
 DNU: .NET Development Utility
 Was: kpm
© 2015 TakeNote Technologies
All Rights Reserved
Not a command line person? No problem since all command line
commands will have a corresponding UI gesture in VS 2015.
Command Line Tools
© 2015 TakeNote Technologies
All Rights Reserved
DEMO
Unification MVC & Web API
 MVC 6 = MVC + Web API
 Single framework that can handle
both API and HTML endpoints
 Yes, endpoints can even in the same
controller!
© 2015 TakeNote Technologies
All Rights Reserved
Unification MVC & Web API
© 2015 TakeNote Technologies
All Rights Reserved
DEMO
ASP.NET 5 Resources
 http://www.asp.net/vnext
 http://docs.asp.net
 Open Command Line VS Extension
https://visualstudiogallery.msdn.microsoft.com/4e84e2cf-
2d6b-472a-b1e2-b84932511379
 Rick Strahl Articles (CODE magazine Jan/Feb 2015)
http://www.codemag.com/Article/1501061
http://www.codemag.com/Article/1501081
© 2015 TakeNote Technologies
All Rights Reserved
Thank You for Attending!
 My Contact info:
Jim Duffy
jduffy@takenote.com
CEO/Founder
TakeNote Technologies
www.takenote.com
Twitter: @jmduffy
© 2015 TakeNote Technologies
All Rights Reserved
TakeNote Technologies
Training Division
 Provides public and on-site
developer training classes
and mentoring in:
 C#
 ASP.NET MVC
 SQL Server
 HTML5
 JavaScript
 AngularJS
 GrapeCity ActiveReports
Consulting Division
 Develops new web and mobile
solutions
 Develops cloud-based solutions and
migrate existing solutions to the
cloud
 Convert legacy solutions into modern
web & mobile solutions
 Manages new or existing projects
 Supplements your development team
© 2015 TakeNote Technologies
All Rights Reserved

Mais conteúdo relacionado

Mais procurados

Asp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohraAsp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohra
Gajanand Bohra
 
Developing an aspnet web application
Developing an aspnet web applicationDeveloping an aspnet web application
Developing an aspnet web application
Rahul Bansal
 
Concepts of Asp.Net
Concepts of Asp.NetConcepts of Asp.Net
Concepts of Asp.Net
vidyamittal
 

Mais procurados (20)

Unpacking .NET Core | EastBanc Technologies
Unpacking .NET Core | EastBanc TechnologiesUnpacking .NET Core | EastBanc Technologies
Unpacking .NET Core | EastBanc Technologies
 
Introducing ASP.NET vNext - A tour of the new ASP.NET platform
Introducing ASP.NET vNext - A tour of the new ASP.NET platformIntroducing ASP.NET vNext - A tour of the new ASP.NET platform
Introducing ASP.NET vNext - A tour of the new ASP.NET platform
 
ASP.NET Core 2.1: The Future of Web Apps
ASP.NET Core 2.1: The Future of Web AppsASP.NET Core 2.1: The Future of Web Apps
ASP.NET Core 2.1: The Future of Web Apps
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentation
 
Dotnet Basics Presentation
Dotnet Basics PresentationDotnet Basics Presentation
Dotnet Basics Presentation
 
.NET,ASP .NET, Angular Js,LinQ
.NET,ASP .NET, Angular Js,LinQ.NET,ASP .NET, Angular Js,LinQ
.NET,ASP .NET, Angular Js,LinQ
 
Asp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohraAsp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohra
 
Developing an aspnet web application
Developing an aspnet web applicationDeveloping an aspnet web application
Developing an aspnet web application
 
PHP konferencija - Microsoft
PHP konferencija - MicrosoftPHP konferencija - Microsoft
PHP konferencija - Microsoft
 
Concepts of Asp.Net
Concepts of Asp.NetConcepts of Asp.Net
Concepts of Asp.Net
 
Asp.net basic
Asp.net basicAsp.net basic
Asp.net basic
 
ASP.NET Tutorial - Presentation 1
ASP.NET Tutorial - Presentation 1ASP.NET Tutorial - Presentation 1
ASP.NET Tutorial - Presentation 1
 
A Microsoft primer for PHP devs
A Microsoft primer for PHP devsA Microsoft primer for PHP devs
A Microsoft primer for PHP devs
 
Chapter10 web
Chapter10 webChapter10 web
Chapter10 web
 
Joe Staner Zend Con 2008
Joe Staner Zend Con 2008Joe Staner Zend Con 2008
Joe Staner Zend Con 2008
 
Inventory management project based on ASP.NET, introduction to C# and ASP.NET
Inventory management project based on ASP.NET, introduction to C# and ASP.NETInventory management project based on ASP.NET, introduction to C# and ASP.NET
Inventory management project based on ASP.NET, introduction to C# and ASP.NET
 
ASP.NET Core 1.0 Overview
ASP.NET Core 1.0 OverviewASP.NET Core 1.0 Overview
ASP.NET Core 1.0 Overview
 
A Whirldwind Tour of ASP.NET 5
A Whirldwind Tour of ASP.NET 5A Whirldwind Tour of ASP.NET 5
A Whirldwind Tour of ASP.NET 5
 
Php On Windows
Php On WindowsPhp On Windows
Php On Windows
 
JavaCro'14 - WebLogic-GlassFish-JaaS Strategy and Roadmap – Duško Vukmanović
JavaCro'14 - WebLogic-GlassFish-JaaS Strategy and Roadmap – Duško VukmanovićJavaCro'14 - WebLogic-GlassFish-JaaS Strategy and Roadmap – Duško Vukmanović
JavaCro'14 - WebLogic-GlassFish-JaaS Strategy and Roadmap – Duško Vukmanović
 

Destaque

Jjhh
JjhhJjhh
Jjhh
firee
 
характеристика отраслей мирового хозяйства (часть Ii)
характеристика отраслей мирового хозяйства (часть Ii)характеристика отраслей мирового хозяйства (часть Ii)
характеристика отраслей мирового хозяйства (часть Ii)
Yevgeniya Grigoryeva
 
Filosofia del derecho georg wilhelm friedrich hegel
Filosofia del derecho   georg wilhelm friedrich hegelFilosofia del derecho   georg wilhelm friedrich hegel
Filosofia del derecho georg wilhelm friedrich hegel
andres garcia
 
Тема 1. Вступ до анімаційної діяльності. Історія розвитку дозвілля
Тема 1. Вступ до анімаційної діяльності. Історія розвитку дозвілляТема 1. Вступ до анімаційної діяльності. Історія розвитку дозвілля
Тема 1. Вступ до анімаційної діяльності. Історія розвитку дозвілля
Роман Мазурець
 
Absceso hepático amibiano y piógeno
Absceso hepático amibiano y piógenoAbsceso hepático amibiano y piógeno
Absceso hepático amibiano y piógeno
Zhamrdgz
 

Destaque (18)

Germany
GermanyGermany
Germany
 
DOC012
DOC012DOC012
DOC012
 
1 marco normativo ambiental v2
1 marco normativo ambiental v21 marco normativo ambiental v2
1 marco normativo ambiental v2
 
Sales Rocket
Sales RocketSales Rocket
Sales Rocket
 
DOC005
DOC005DOC005
DOC005
 
Mapa conceptual III evaluación delitos contra la propiedad
Mapa conceptual III evaluación delitos contra la propiedadMapa conceptual III evaluación delitos contra la propiedad
Mapa conceptual III evaluación delitos contra la propiedad
 
metalmecanica
metalmecanicametalmecanica
metalmecanica
 
Презентация: Углеводы.
Презентация: Углеводы.Презентация: Углеводы.
Презентация: Углеводы.
 
Jjhh
JjhhJjhh
Jjhh
 
Природные зоны России
Природные зоны РоссииПриродные зоны России
Природные зоны России
 
характеристика отраслей мирового хозяйства (часть Ii)
характеристика отраслей мирового хозяйства (часть Ii)характеристика отраслей мирового хозяйства (часть Ii)
характеристика отраслей мирового хозяйства (часть Ii)
 
Filosofia del derecho georg wilhelm friedrich hegel
Filosofia del derecho   georg wilhelm friedrich hegelFilosofia del derecho   georg wilhelm friedrich hegel
Filosofia del derecho georg wilhelm friedrich hegel
 
Презентація №2 до теми 1. Туризм як світове глобальне явище
Презентація №2 до теми 1. Туризм як світове глобальне явищеПрезентація №2 до теми 1. Туризм як світове глобальне явище
Презентація №2 до теми 1. Туризм як світове глобальне явище
 
Тема 1. Вступ до анімаційної діяльності. Історія розвитку дозвілля
Тема 1. Вступ до анімаційної діяльності. Історія розвитку дозвілляТема 1. Вступ до анімаційної діяльності. Історія розвитку дозвілля
Тема 1. Вступ до анімаційної діяльності. Історія розвитку дозвілля
 
Derecho ambiental
Derecho ambientalDerecho ambiental
Derecho ambiental
 
2. derecho ambiental latinoamericano
2. derecho ambiental latinoamericano2. derecho ambiental latinoamericano
2. derecho ambiental latinoamericano
 
EMPIEMA PULMONAR
EMPIEMA PULMONAREMPIEMA PULMONAR
EMPIEMA PULMONAR
 
Absceso hepático amibiano y piógeno
Absceso hepático amibiano y piógenoAbsceso hepático amibiano y piógeno
Absceso hepático amibiano y piógeno
 

Semelhante a ASP.NET 5: What's the Big Deal

Rongde Qiu-DDsmile-2015.1.25
Rongde Qiu-DDsmile-2015.1.25Rongde Qiu-DDsmile-2015.1.25
Rongde Qiu-DDsmile-2015.1.25
Rongde Qiu
 

Semelhante a ASP.NET 5: What's the Big Deal (20)

Why is .Net Technology Recognised for Software Development?
Why is .Net Technology Recognised for Software Development?Why is .Net Technology Recognised for Software Development?
Why is .Net Technology Recognised for Software Development?
 
Why is .Net Technology Recognised for Software Development?
Why is .Net Technology Recognised for Software Development?Why is .Net Technology Recognised for Software Development?
Why is .Net Technology Recognised for Software Development?
 
Introduction to ASP.NET 5
Introduction to ASP.NET 5Introduction to ASP.NET 5
Introduction to ASP.NET 5
 
ASP.NET Core 1.0: Understanding ASP.NET Core 1.0 (ASP.NET 5)
ASP.NET Core 1.0: Understanding ASP.NET Core 1.0 (ASP.NET 5) ASP.NET Core 1.0: Understanding ASP.NET Core 1.0 (ASP.NET 5)
ASP.NET Core 1.0: Understanding ASP.NET Core 1.0 (ASP.NET 5)
 
Node.js Tools Ecosystem
Node.js Tools EcosystemNode.js Tools Ecosystem
Node.js Tools Ecosystem
 
Learn mulesoft from scratch
Learn mulesoft from scratchLearn mulesoft from scratch
Learn mulesoft from scratch
 
MuleSoft Online Meetup - Salesforce Streaming APIs
MuleSoft Online Meetup - Salesforce Streaming APIsMuleSoft Online Meetup - Salesforce Streaming APIs
MuleSoft Online Meetup - Salesforce Streaming APIs
 
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
 
Serverless java
Serverless   javaServerless   java
Serverless java
 
Getting Started with ASP.NET vNext
Getting Started with ASP.NET vNextGetting Started with ASP.NET vNext
Getting Started with ASP.NET vNext
 
PCF Cloud-Native Workshop Slides
PCF Cloud-Native Workshop SlidesPCF Cloud-Native Workshop Slides
PCF Cloud-Native Workshop Slides
 
Difference between .net and asp.net all you need to know
Difference between .net and asp.net  all you need to knowDifference between .net and asp.net  all you need to know
Difference between .net and asp.net all you need to know
 
Why Choose .NET Framework for Web Development
Why Choose .NET Framework for Web DevelopmentWhy Choose .NET Framework for Web Development
Why Choose .NET Framework for Web Development
 
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...
 
DOT NET TRaining
DOT NET TRainingDOT NET TRaining
DOT NET TRaining
 
Rongde Qiu-DDsmile-2015.1.25
Rongde Qiu-DDsmile-2015.1.25Rongde Qiu-DDsmile-2015.1.25
Rongde Qiu-DDsmile-2015.1.25
 
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
 
.Net framework vs .net core a complete comparison
.Net framework vs .net core  a complete comparison.Net framework vs .net core  a complete comparison
.Net framework vs .net core a complete comparison
 
Workspace on asp.net web aplication development
Workspace on asp.net  web aplication developmentWorkspace on asp.net  web aplication development
Workspace on asp.net web aplication development
 
Workspace on asp.net web aplication development
Workspace on asp.net  web aplication developmentWorkspace on asp.net  web aplication development
Workspace on asp.net web aplication development
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

ASP.NET 5: What's the Big Deal

  • 1. ASP.NET 5 What’s the Big Deal? Jim Duffy TakeNote Technologies © 2015 TakeNote Technologies All Rights Reserved
  • 2. Who Am I?  Jim Duffy jduffy@takenote.com  CEO/Founder TakeNote Technologies www.takenote.com  Blog: www.geekswithblogs.net/takenote/  Twitter: @jmduffy  Microsoft Regional Director (RD) www.msrd.io  11 time Microsoft Most Valuable Professional (MVP)  .NET, ASP.NET MVC, HTML5, AngularJS & SQL Server Instructor, Mentor, Developer, and Consultant  Experienced conference presenter  ASPInsider Member © 2015 TakeNote Technologies All Rights Reserved
  • 3. Microsoft RD Program © 2015 TakeNote Technologies All Rights Reserved “I am appointed by Microsoft with an independent external role in the Regional Director program, as one of the top 130 advocates worldwide for Microsoft, being recognized for deep and broad technical expertise in many technologies, public communications, community leadership and corporate experience, while maintaining a privileged two-way relationship and communication channel with the regional office, product teams, and senior Microsoft HQ personnel.” tl; dr: Microsoft values and trusts me. I am here to help you and your organization.
  • 4. The Plan For This Session  Today’s Modern Web  Re-Architecting ASP.NET  Consolidation © 2015 TakeNote Technologies All Rights Reserved
  • 5. Today’s Modern Web  Apps today are very different from apps built with original version of ASP.NET  More Dynamic  Less Server-Side HTML  Services Dominate (REST)  Cloud-based Hosting Has Arrived © 2015 TakeNote Technologies All Rights Reserved
  • 6. So, What is ASP.NET 5? “ASP.NET 5 is an open source web framework for building modern web applications that can be developed and run on Windows, Linux and the Mac.” https://weblogs.asp.net/scottgu/introducing-asp-net-5 © 2015 TakeNote Technologies All Rights Reserved
  • 7. Re-Architecting ASP.NET © 2015 TakeNote Technologies All Rights Reserved
  • 8. Why?  Emergence of NodeJS  The Need for a Lightweight, Fast Framework  The Need to Stay Relevant  Open Source Tools © 2015 TakeNote Technologies All Rights Reserved
  • 9. How?  Out in the open on Github! https://github.com/aspnet/home  Weekly Public Standups https://www.youtube.com/playlist?list=PL0M0zPgJ3HSftTAAHttA3J QU4vOjXFquF © 2015 TakeNote Technologies All Rights Reserved
  • 10. Who?  ASP.NET team blog http://blogs.msdn.com/b/webdev/  Driven By Community © 2015 TakeNote Technologies All Rights Reserved
  • 11. Relax, Some Things Stay The Same, Sort Of  Controllers  Razor Views (.cshtml)  Models  HTML / CSS / JavaScript (TypeScript) © 2015 TakeNote Technologies All Rights Reserved
  • 12. Parallel Tracks  ASP.NET 4.6  MVC 5  WEB API 2  SignalR 2  WebForms  ASP.NET 5  MVC 6  SignalR 3 © 2015 TakeNote Technologies All Rights Reserved You don’t have to make the jump to ASP.NET 5 since ASP.NET 4.6 isn’t being discontinued.
  • 13. VS Code or VS 2015  Visual Studio Code  Command line centric developers  Visual Studio 2015  IDE centric developers © 2014 TakeNote Technologies All Rights Reserved You can build ASP.NET 5 applications with either tool. ASP.NET is moving away from requiring Visual Studio, Windows or any GUI tools at all to build apps. Text editor is all you need.
  • 14. Primary Changes  New Project Structure  File Based  Two Runtimes to Select From  Full & Core  Unification of MVC and Web API  Simplifies things © 2015 TakeNote Technologies All Rights Reserved
  • 15. New Project Structure  File based – just add file to a folder  The file system IS the project  New Folder Structure  Configuration Files (JSON) – bye web.config!  wwwroot  For static files  The root of the website is no longer the root of the project. © 2015 TakeNote Technologies All Rights Reserved
  • 16. Noticeable Changes  .csproj file -> file system  global.asax -> startup.cs  web.config -> project.json © 2015 TakeNote Technologies All Rights Reserved
  • 17. Configuration Files (JSON)  global.json  project.json  config.json  bower.json  package.json © 2015 TakeNote Technologies All Rights Reserved
  • 18. New Project Structure © 2015 TakeNote Technologies All Rights Reserved DEMO
  • 19. Two Runtimes, No Waiting  DNX 4.5.1 (Full CLR)  DNX Core 5.0 (Subset)  Much faster startup times  Lower memory consumption  Runs on multiple platforms including Windows, OS X & Linux © 2015 TakeNote Technologies All Rights Reserved
  • 20. Which Runtime to Choose  DNX 4.5.1 (Full Framework)  When you need to use features not in Core Framework  DNX Core 5.0  Deploy apps side-by-side  Cross platform Windows, Linux & OS X © 2015 TakeNote Technologies All Rights Reserved
  • 21. Command Line Tools  DNX: .NET Execution Environment  Was: k, klr, kre  DNVM: .NET Version Manager  Was: kvm  DNU: .NET Development Utility  Was: kpm © 2015 TakeNote Technologies All Rights Reserved Not a command line person? No problem since all command line commands will have a corresponding UI gesture in VS 2015.
  • 22. Command Line Tools © 2015 TakeNote Technologies All Rights Reserved DEMO
  • 23. Unification MVC & Web API  MVC 6 = MVC + Web API  Single framework that can handle both API and HTML endpoints  Yes, endpoints can even in the same controller! © 2015 TakeNote Technologies All Rights Reserved
  • 24. Unification MVC & Web API © 2015 TakeNote Technologies All Rights Reserved DEMO
  • 25. ASP.NET 5 Resources  http://www.asp.net/vnext  http://docs.asp.net  Open Command Line VS Extension https://visualstudiogallery.msdn.microsoft.com/4e84e2cf- 2d6b-472a-b1e2-b84932511379  Rick Strahl Articles (CODE magazine Jan/Feb 2015) http://www.codemag.com/Article/1501061 http://www.codemag.com/Article/1501081 © 2015 TakeNote Technologies All Rights Reserved
  • 26. Thank You for Attending!  My Contact info: Jim Duffy jduffy@takenote.com CEO/Founder TakeNote Technologies www.takenote.com Twitter: @jmduffy © 2015 TakeNote Technologies All Rights Reserved
  • 27. TakeNote Technologies Training Division  Provides public and on-site developer training classes and mentoring in:  C#  ASP.NET MVC  SQL Server  HTML5  JavaScript  AngularJS  GrapeCity ActiveReports Consulting Division  Develops new web and mobile solutions  Develops cloud-based solutions and migrate existing solutions to the cloud  Convert legacy solutions into modern web & mobile solutions  Manages new or existing projects  Supplements your development team © 2015 TakeNote Technologies All Rights Reserved