ASP.NET Core 1.0 Overview

Shahed Chowdhuri
Shahed ChowdhuriAuthor, Sr. Tech Evangelist @ MSFT, 1776 Mentor, Blogger, Speaker, App/Game Developer em Microsoft
ASP.NET Core* 1.0
Shahed Chowdhuri
Sr. Technical Evangelist @ Microsoft
@shahedC
WakeUpAndCode.com
The Future of Web Apps
* aka ASP.NET 5 before RC1
Agenda
Introduction
> .NET (Framework & Core)
> ASP.NET Core
> Visual Studio
Q&A
Introduction
Sources
asp.net/vNext
Scott Guthrie’s Blog
MSDN Blogs, Feb 2015 Update
dotnetConf 2015 on MSDN Ch9
BuildWindows.com
docs.asp.net
Newer Blog Posts in 2016
RC2: http://www.hanselman.com/blog/AnUpdateOnASPNETCore10RC2.aspx
Community Standup Notes: https://blogs.msdn.microsoft.com/webdev/
Moving to RC2
RC1 to .NET Core: https://docs.asp.net/en/latest/migration/rc1-to-rc2.html
Announcing RC2: https://blogs.msdn.microsoft.com/webdev/2016/05/16/announcing-asp-net-core-rc2/
.NET Core 1.0
Info and Downloads: https://www.microsoft.com/net
ASP.NET Core 1.0
Info and Downloads: http://www.asp.net/
.NET Across Windows/Web Platforms
http://blogs.msdn.com/b/dotnet/archive/2014/12/04/introducing-net-core.aspx
ASP.NET
Web API
Active
Server
Pages
(Classic
ASP)
ASP.NET
(Web
Forms)
ASP.NET
MVC
1/2/3/4/5
ASP.NET
Web Pages
ASP.NET
MVC 6
Unified
MVC, Web
API and
Web
Pages
ASP.NET
Web API
Active
Server
Pages
(Classic
ASP)
ASP.NET
(Web
Forms)
ASP.NET
MVC
1/2/3/4/5
ASP.NET
Web Pages
ASP.NET
MVC 6
Core MVC
Unified
MVC, Web
API and
Web
Pages
Evolution of ASP and ASP .NET
5
5
.NET Core 5
Names & Version Numbers
ASP.NET Roadmap…
https://github.com/aspnet/Home/wiki/Roadmap
13
https://blogs.msdn.microsoft.com/webdev/2016/06/27/announcing-asp-net-core-1-0/
Announcing ASP.NET Core 1.0
Going beyond 1.0…
https://github.com/aspnet/Home/wiki/Roadmap
.NET Standard Library + Tooling
Source: http://www.hanselman.com/blog/AnUpdateOnASPNETCore10RC2.aspx
Agenda
Introduction
> .NET (Framework & Core)
> ASP.NET Core
> Visual Studio
Q&A
.NET Framework
& .NET Core
.NET in 2015: High-Level Overview
ASP.NET Core High-Level Overview
Compilation Process
What About .NET Framework 4.6?
Core is
ASP .NET Core
ASP.NET Core 1.0 Features
ASP.NET Core Summary
Relevant XKCD Comic
https://xkcd.com/303/
ASP.NET Core Features in Detail
• .NET Core or full .NET Framework
• .NET Core is cross-platform
• Deploy Core runtime with app
• No need for unused features
ASP.NET Core Features in Detail
Unified:
• MVC
• Web API
• Web Pages
ASP.NET Core Features in Detail
• HTML Helpers in your views!
ASP.NET Core Features in Detail
1. Edit code
2. Save changes
3. Refresh browser
4. See changes!
Compiled language with benefits of
interpreted language!
ASP.NET Core Features in Detail
• Bower  client-side pkg mgr
• e.g. JS, CSS
• Grunt & Gulp  task runners
• compile LESS/CoffeeScript,
Typescipt
• run JSLint
• minify JS files
ASP.NET Core Features in Detail
• Manage dependencies with NuGet
packages
• Edit project.json file (?)
• Enjoy IntelliSense!
ASP.NET Core Features in Detail
• Configuration in code
• Edit Startup.cs file
• No need to use Web.config
• Use JSON, XML, env vars
ASP.NET Core Features in Detail
• minimalistic DI container
• replace with others
• Autofac, Ninject, etc
• use [FromServices] attribute
ASP.NET Core Features in Detail
New HTTP pipeline
• modular
• add components as
needed
• no longer dependent
on System.Web
ASP.NET Core Features in Detail
GitHub!
ASP.NET Core Features in Detail
Post-RC2
Tooling Changes
ASP.NET Core Features in Detail
ASP.NET Core Preview Templates
• Empty
• Starter Web
• Web API
ASP.NET Core Features in Detail
• Open ID Connect
• OAuth2
• Template auth logic based on
OWIN and Open ID Connect (not
WIF)
ASP.NET Core Features in Detail
More granular control (than
HttpClientHandler) over individual
aspects of HTTP
• redirects, auth, cookies, etc
ASP.NET Core Features in Detail
ASP.NET Core Features in Detail
How about Entity Framework?
DB
ORM
Entities
in Code
Core
)
Visual Studio 2015
File  New Project  Web
• Web App (4.x)
• Core Web App (.NET Core)
• Core Web App (.NET framework)
Select a Template
ASP. NET Core Templates
• Empty
• Web API
• Web Application
Startup.cs Configuration
project.json
Right-click  (Project) Properties
Choose Profile While Debugging
DEMO
Visual Studio Code
Download https://code.visualstudio.com
.NET Version Manager (DNVM)
• .NET SDK Version
Manager
• Formerly KVM
• Get list of DNXs
(aka KRE)
GitHub: https://github.com/aspnet/dnvm
Tooling Changes and NETStandard
References
• ASP.NET vNext: http://asp.net/vnext
• Intro: https://weblogs.asp.net/scottgu/introducing-asp-net-5
• Feb 2015 Updates: http://blogs.msdn.com/b/webdev/archive/2015/02/23/aspnet-5-updates-
for-feb-2015.aspx
• dotnetConf March 2015: https://channel9.msdn.com/Events/dotnetConf/2015
• Build 2015: https://channel9.msdn.com/Events/Build/2015
• Understanding .NET 2015:
http://blogs.msdn.com/b/bethmassi/archive/2015/02/25/understanding-net-2015.aspx
• Grunt & Bower: http://www.asp.net/vnext/overview/aspnet-vnext/grunt-and-bower-in-visual-
studio-2015
• Tutorial: http://www.asp.net/vnext/overview/aspnet-vnext/vc
• ASP.NET Community Standup Notes: https://blogs.msdn.microsoft.com/webdev/
• Update on ASP.NET RC2: http://www.hanselman.com/blog/AnUpdateOnASPNETCore10RC2.aspx
• Additional Tutorials: See Starter Web Project Template
Other Resources
• Roadmap: https://github.com/aspnet/Home/wiki/Roadmap
• ASP.NET Identity: http://www.asp.net/identity/overview/getting-
started/introduction-to-aspnet-identity
• KRE, KVM, KPM: http://gunnarpeipman.com/2014/10/asp-net-5-what-
are-kre-kvm-kpm/
• Grunt, JS Task Runner: http://gruntjs.com/
• Gulp, Workflow Automation: http://gulpjs.com/
• Bower, Package Manager: http://bower.io/
• npm, Node Package Manager: https://www.npmjs.com/
Agenda
Introduction
> .NET (Framework & Core)
> ASP.NET Core
> Visual Studio
Q&A
Q & A
Agenda
Introduction
> .NET (Framework & Core)
> ASP.NET Core
> Visual Studio
Q&A
Email: shchowd@microsoft.com  Twitter: @shahedC
1 de 59

Mais conteúdo relacionado

Mais procurados(20)

Getting Started with ASP.net Core 1.0Getting Started with ASP.net Core 1.0
Getting Started with ASP.net Core 1.0
joescars5.3K visualizações
Capture the Cloud with AzureCapture the Cloud with Azure
Capture the Cloud with Azure
Shahed Chowdhuri3.6K visualizações
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
Shahed Chowdhuri2.8K visualizações
ASP.NET 5 Overview - Post Build 2015ASP.NET 5 Overview - Post Build 2015
ASP.NET 5 Overview - Post Build 2015
Shahed Chowdhuri2.4K visualizações
Building HTTP APIs with ASP.NET CoreBuilding HTTP APIs with ASP.NET Core
Building HTTP APIs with ASP.NET Core
Filip W727 visualizações
ASP.NET 5 OverviewASP.NET 5 Overview
ASP.NET 5 Overview
Shahed Chowdhuri7.5K visualizações
SharePoint Development with the SharePoint FrameworkSharePoint Development with the SharePoint Framework
SharePoint Development with the SharePoint Framework
JoAnna Cheshire435 visualizações
Selenium Topic 2 IDESelenium Topic 2 IDE
Selenium Topic 2 IDE
ITProfessional Academy218 visualizações
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Rodolfo Finochietti6.8K visualizações
Introduction to ASP.NET 5Introduction to ASP.NET 5
Introduction to ASP.NET 5
mbaric2.4K visualizações
How to Win #BestMicrosoftHack with AzureHow to Win #BestMicrosoftHack with Azure
How to Win #BestMicrosoftHack with Azure
Shahed Chowdhuri2.8K visualizações
SharePoint FrameworkSharePoint Framework
SharePoint Framework
Vitaly Zhukov908 visualizações
Connecticut Salesforce Developer Group - Jan 2017Connecticut Salesforce Developer Group - Jan 2017
Connecticut Salesforce Developer Group - Jan 2017
Jitendra Zaa5.1K visualizações
ASP.NET CoreASP.NET Core
ASP.NET Core
Maurice De Beijer [MVP]652 visualizações
Microsoft ASP.NET 5 - The new kid on the block Microsoft ASP.NET 5 - The new kid on the block
Microsoft ASP.NET 5 - The new kid on the block
Christos Matskas1.3K visualizações

Destaque

Intro to Bot Framework v3Intro to Bot Framework v3
Intro to Bot Framework v3Shahed Chowdhuri
3.9K visualizações39 slides
Azure: PaaS or IaaSAzure: PaaS or IaaS
Azure: PaaS or IaaSShahed Chowdhuri
6.6K visualizações38 slides
Intro to HoloLens DevelopmentIntro to HoloLens Development
Intro to HoloLens DevelopmentShahed Chowdhuri
9.3K visualizações20 slides
Xbox One Dev ModeXbox One Dev Mode
Xbox One Dev ModeShahed Chowdhuri
7.8K visualizações20 slides
Intro to XamarinIntro to Xamarin
Intro to XamarinShahed Chowdhuri
7.8K visualizações27 slides
Intro to Bot FrameworkIntro to Bot Framework
Intro to Bot FrameworkShahed Chowdhuri
7.9K visualizações18 slides

Destaque(20)

Intro to Bot Framework v3Intro to Bot Framework v3
Intro to Bot Framework v3
Shahed Chowdhuri3.9K visualizações
Azure: PaaS or IaaSAzure: PaaS or IaaS
Azure: PaaS or IaaS
Shahed Chowdhuri6.6K visualizações
Intro to HoloLens DevelopmentIntro to HoloLens Development
Intro to HoloLens Development
Shahed Chowdhuri9.3K visualizações
Xbox One Dev ModeXbox One Dev Mode
Xbox One Dev Mode
Shahed Chowdhuri7.8K visualizações
Intro to XamarinIntro to Xamarin
Intro to Xamarin
Shahed Chowdhuri7.8K visualizações
Intro to Bot FrameworkIntro to Bot Framework
Intro to Bot Framework
Shahed Chowdhuri7.9K visualizações
Unity 5 Jumpstart: KickoffUnity 5 Jumpstart: Kickoff
Unity 5 Jumpstart: Kickoff
Shahed Chowdhuri3.1K visualizações
Xbox One Dev ModeXbox One Dev Mode
Xbox One Dev Mode
Shahed Chowdhuri10.1K visualizações
24 Resharper Tricks Every .Net Developer Should Know24 Resharper Tricks Every .Net Developer Should Know
24 Resharper Tricks Every .Net Developer Should Know
Lee Richardson1.1K visualizações
ASP.NET Core 1.0 OverviewASP.NET Core 1.0 Overview
ASP.NET Core 1.0 Overview
Shahed Chowdhuri7K visualizações
Rollerball: 1 of 2Rollerball: 1 of 2
Rollerball: 1 of 2
Shahed Chowdhuri9.1K visualizações
Rollerball: 2 of 2Rollerball: 2 of 2
Rollerball: 2 of 2
Shahed Chowdhuri6.5K visualizações
ASP.NET Core 1.0 Overview: Post-RC2ASP.NET Core 1.0 Overview: Post-RC2
ASP.NET Core 1.0 Overview: Post-RC2
Shahed Chowdhuri4.4K visualizações
Capture the Cloud with AzureCapture the Cloud with Azure
Capture the Cloud with Azure
Shahed Chowdhuri2K visualizações
BizSpark & Azure for StartupsBizSpark & Azure for Startups
BizSpark & Azure for Startups
Shahed Chowdhuri2.9K visualizações
Universal Apps for Windows 10Universal Apps for Windows 10
Universal Apps for Windows 10
Shahed Chowdhuri3.8K visualizações
Deeper into Windows 10 DevelopmentDeeper into Windows 10 Development
Deeper into Windows 10 Development
Shahed Chowdhuri6.9K visualizações
ASP.NET 5 & Unit TestingASP.NET 5 & Unit Testing
ASP.NET 5 & Unit Testing
Shahed Chowdhuri7.9K visualizações
Intro to HoloLens Development + Windows Mixed RealityIntro to HoloLens Development + Windows Mixed Reality
Intro to HoloLens Development + Windows Mixed Reality
Shahed Chowdhuri2K visualizações
Getting Started with Microsoft Bot FrameworkGetting Started with Microsoft Bot Framework
Getting Started with Microsoft Bot Framework
Sarah Sexton1.1K visualizações

Similar a ASP.NET Core 1.0 Overview(20)

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
Shahed Chowdhuri4.1K visualizações
ASP.NET Core 2.0: The Future of Web AppsASP.NET Core 2.0: The Future of Web Apps
ASP.NET Core 2.0: The Future of Web Apps
Shahed Chowdhuri4.1K visualizações
ASP.NET Core: The best of the new bitsASP.NET Core: The best of the new bits
ASP.NET Core: The best of the new bits
Ken Cenerelli1.6K visualizações
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
Shahed Chowdhuri5K visualizações
Getting Started with ASP.NET Core 1.0 (formerly ASP.NET 5)Getting Started with ASP.NET Core 1.0 (formerly ASP.NET 5)
Getting Started with ASP.NET Core 1.0 (formerly ASP.NET 5)
Arrow Consulting & Design1.6K visualizações
The Future of ASP.NETThe Future of ASP.NET
The Future of ASP.NET
Microsoft Developer Network (MSDN) - Belgium and Luxembourg6.3K visualizações
Net coreandsimplcommerceNet coreandsimplcommerce
Net coreandsimplcommerce
Thien Nguyen Le Quynh674 visualizações
ASP.NET Core 1.0ASP.NET Core 1.0
ASP.NET Core 1.0
Ido Flatow701 visualizações
.NET Core Today and Tomorrow.NET Core Today and Tomorrow
.NET Core Today and Tomorrow
Jon Galloway119 visualizações
Migration from ASP.NET MVC to ASP.NET CoreMigration from ASP.NET MVC to ASP.NET Core
Migration from ASP.NET MVC to ASP.NET Core
Miroslav Popovic356 visualizações
The future of ASP.NET / CodeCamp/Iasi 25 Oct 2014The future of ASP.NET / CodeCamp/Iasi 25 Oct 2014
The future of ASP.NET / CodeCamp/Iasi 25 Oct 2014
Enea Gabriel1K visualizações
Integrate any Angular Project into WebSphere PortalIntegrate any Angular Project into WebSphere Portal
Integrate any Angular Project into WebSphere Portal
Himanshu Mendiratta689 visualizações
Usability AJAX and other ASP.NET FeaturesUsability AJAX and other ASP.NET Features
Usability AJAX and other ASP.NET Features
Peter Gfader2.3K visualizações
Unboxing ASP.NET CoreUnboxing ASP.NET Core
Unboxing ASP.NET Core
Kevin Leung139 visualizações
MVC 6 - the new unified Web programming modelMVC 6 - the new unified Web programming model
MVC 6 - the new unified Web programming model
Alex Thissen403 visualizações

Mais de Shahed Chowdhuri(11)

Microsoft Cognitive ServicesMicrosoft Cognitive Services
Microsoft Cognitive Services
Shahed Chowdhuri4.4K visualizações
Intro to Bot Framework v3 with DBIntro to Bot Framework v3 with DB
Intro to Bot Framework v3 with DB
Shahed Chowdhuri2.4K visualizações
Game On with Windows & Xbox One @ .NET Conf UYGame On with Windows & Xbox One @ .NET Conf UY
Game On with Windows & Xbox One @ .NET Conf UY
Shahed Chowdhuri4.2K visualizações
Game On with Windows & Xbox One!Game On with Windows & Xbox One!
Game On with Windows & Xbox One!
Shahed Chowdhuri442 visualizações
Going Serverless with Azure FunctionsGoing Serverless with Azure Functions
Going Serverless with Azure Functions
Shahed Chowdhuri3.4K visualizações
Azure for HackathonsAzure for Hackathons
Azure for Hackathons
Shahed Chowdhuri2K visualizações
Xbox One Dev ModeXbox One Dev Mode
Xbox One Dev Mode
Shahed Chowdhuri358 visualizações
What's New at Microsoft?What's New at Microsoft?
What's New at Microsoft?
Shahed Chowdhuri2.1K visualizações

Último(20)

Business Analyst Series 2023 -  Week 2 Session 3Business Analyst Series 2023 -  Week 2 Session 3
Business Analyst Series 2023 - Week 2 Session 3
DianaGray10319 visualizações
CXL at OCPCXL at OCP
CXL at OCP
CXL Forum203 visualizações
TE Connectivity: Card Edge InterconnectsTE Connectivity: Card Edge Interconnects
TE Connectivity: Card Edge Interconnects
CXL Forum95 visualizações
Java 21 and Beyond- A Roadmap of Innovations  .pdfJava 21 and Beyond- A Roadmap of Innovations  .pdf
Java 21 and Beyond- A Roadmap of Innovations .pdf
Ana-Maria Mihalceanu54 visualizações
Photowave Presentation Slides - 11.8.23.pptxPhotowave Presentation Slides - 11.8.23.pptx
Photowave Presentation Slides - 11.8.23.pptx
CXL Forum120 visualizações
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi102 visualizações
Micron CXL product and architecture updateMicron CXL product and architecture update
Micron CXL product and architecture update
CXL Forum23 visualizações

ASP.NET Core 1.0 Overview

Notas do Editor

  1. Agenda
  2. Introduction
  3. Agenda
  4. Variables, Operators & Loops
  5. ASP .NET 5.0
  6. ASP .NET 5.0
  7. Agenda
  8. Additional Topics
  9. Agenda
  10. Contact Microsoft email: shchowd@microsoft.com Personal Twitter: @shahedC Dev Blog: WakeUpAndCode.com