SlideShare ist ein Scribd-Unternehmen logo
1 von 42
Shaun Walker
- Microsoft MVP (11 years), ASP Insider
- .NET Foundation Advisory Council
- Creator of DotNetNuke
shaun.walker@arrowdesigns.com
@sbwalker
About Me: Based in Abbotsford, BC,
Canada. Proud parent. I love ice
hockey, music, and technology.
History of Microsoft’s Web Frameworks
1996 – Active Server Pages (ASP)
2002 – ASP.NET
2008 – ASP.NET MVC
2010 – ASP.NET Web Pages
2012 – ASP.NET Web API, SignalR
Characteristics of the Modern Web
Web Frameworks:
- Responsive Design
- Client Frameworks
- Cloud Ready
- Cross Platform
- Open Source
Web Tooling:
- Standards Based
- Develop in Browser
- Open Tooling
- Grunt / Bower
Open Web Server Interface for .NET
- Open Sourceproject ( http://owin.org/)
- Specificationpublishedin 2012
- Standardizedinterfacebetweenweb serversand web applications
- In practicalterms,a decouplingof ASP.NETfrom IIS
- Providesthe flexibilityto run other OWIN-enabledframeworkson IIS
- Providesthe flexibilityto run Microsoft’sweb frameworksin other environments
- Introducedthe conceptof “Middleware”
History of ASP.NET Core 1.0
2012– Open WebServerInterfacefor .NET (OWIN)
2012– “ProjectK”
2013– Katana(Microsoftimplementationof OWIN)
2014– ASP.NETvNext
2015– ASP.NET5
2016– ASP.NETCore 1.0*
*Note: full renameto ASP.NETCore 1.0 will be completedin RC2
ASP.NET Core 1.0 Key Values
Choose your Editors
and Tools
Open Source
with Contributions
Cross-PlatformOSS
Seamless transition
from on-premises to cloud
Faster Development CycleTotally Modular
High Performance Unified Experience1
Modern Web - Productive
Faster Development CycleUnified Experience1
- MVC & Web API
unified( Web Pages
coming)
- DependencyInjection
- Tracing& Diagnostics
- Featuresshippedas
packagesvia Nuget
- Frameworkshipsas
partof your application
- Side-by-side
frameworkversioning
- Servicepackcontrol
Modern Web – Fast
- Fasterstartuptimes
- Lowermemory/
higherdensity(> 90%
reduction)
- Use a raw socket,
frameworkor both
- IIS or self-hosted
- New HTTP request
pipelineutilizing
Middleware
- Opt into onlydesired
features
High Performance Totally Modular
Modern Web - Flexible
- Cloudready
configuration,session,
cache
- No codechangesfor
Cloud
- Diagnostics,remote
tracingand debugging
Seamless transition
from on-premises to cloud
- Visual Studio,Text,
Cloudeditors
- No editors(command
line)
Choose your Editors
and Tools
Modern Web – Cross Platform
- Windows
- Mac
- Linux
Cross-Platform
Open Source
with Contributions
OSS
- ApacheLicense,
Version2.0
- Availableon Github
- Pull Requests
ASP.NET 4.6 and ASP.NET Core 1.0
ASP.NET 4.6 and ASP.NET Core 1.0
.NET Framework 4.6 .NET Core 1.0
Full .NET Framework for any scenario and
library support on Windows
Modular libraries & runtime optimized for
server and cloud workloads
https://github.com/aspnet/home/wiki/roadmap
Milestone Release Date
Beta6 Jul 27, 2015
Beta7 Sep 2, 2015
Beta8 Oct 15, 2015
RC1 Nov 18, 2015
RC2 April 2016??
RTM Summer/Fall 2016??
Release Schedule
Performance Benchmark
ASP.NETCore 1.0 exceeded1.15 millionRequestsper Secondand 12.6Gbps of
Throughput– 2300% greaterthan ASP.NET4.6!!
https://get.asp.net
Installing ASP.NET Core 1.0 On Windows
1. InstallVisualStudio 2015
- Be sure to specifythat you want to includethe .
2. InstallASP.NET5
- This will installthe latestASP.NET5 runtimeand tooling.
3. Enablethe ASP.NET5 command-linetools.
- Open a command-promptand run: dnvmupgrade
(thiswill enable the default.NET ExecutionEnvironment(DNX)).
.NET Execution Environment (DNX)
- SDK and runtimeenvironmentfor creating.NET applicationson Windows, Mac, and
Linux.
- Provides a host process,CLR hosting logic and managedentry point discovery and can
be interactedwith through a commandline tool.
- Distributedwith your application
Create Project
> File
> New Project
> ASP.NET Web Application
- ApplicationInsights Integration
Project Templates
> ASP.NET 5 Templates
> Web Application
- AuthenticationOptions
- Microsoft Azure Options
Demo
Getting Started with ASP.NET Core 1.0
Project Structure
/References- server-sidereferences
/wwwroot - web app root and location of staticresources
/Dependencies- client-side dependencies(Bower/NPM)
/Migrations- Entity Frameworkmigrations
appsettings.json- configurationsettings
project.json- server side dependencies(Nuget)
Startup.cs- applicationentry point, configurationof request
pipeline and services
Middleware
- Componentsassembledinto an
applicationpipeline to handle requests
and responses.
- Each componentcan pass the request
on to the next componentor terminate
- Componentshave the opportunityto
performoperationsbefore and afterthe
next componentexecutes
- Ordering of componentsis important
- Authentication,staticfiles, MVC, etc

Dependency Injection (DI)
- First-classcitizen
- DefaultInversionof Control(IoC) containerprovided (canbe replaced)
- Declareyour Servicesin Startup.cs
Adding MVC
Diagnostics
- get rich diagnosticsby using the Microsoft.AspNet.Diagnosticspackageand
app.UseDeveloperExceptionPage();in Startup.cs
Routing
- Familiarconvention-basedsyntax
- Consistentfor both MVC and WebAPI
- Support for Filtersand Attributes(withconstructorinjection)
Views
- Now supportDependencyInjectionwith @inject
- _ViewImports.cshtmlfor registeringnamespacesto be used in your Views
View Components
- Finallya more robust componentmodel for MVC!
- Similarto partialviews but with more power (ie. complexbusinesslogic)
Tag Helpers
- HTML helpers expressed as
HTML tags
- Designer friendly
- Easier to customize with
additional attributes
- Works seamlessly with any
HTML editor
- Input Tag:
- Generates:
- From:
Tag Helpers
Tag Helpers
- Create your own custom Tag Helpers!
Entity Framework Core 1.0
- Formerly named Entity Framework 7
- Rewritten from scratch
- Common classes, patterns and workflows remain intact
- Code First workflow only ( no designer-based EDMX model )
- Smaller Footprint
- Cross Platform
Demo
ASP.NET Core 1.0 Features
ASP.NET Core 1.0 Resources
http://www.asp.net/vnext
http://get.asp.net
http://docs.asp.net
https://live.asp.net/
Questions?

Weitere Àhnliche Inhalte

Was ist angesagt?

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 5Steven Smith
 
ASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with OverviewASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with OverviewShahed Chowdhuri
 
Introduction to ASP.NET Core
Introduction to ASP.NET CoreIntroduction to ASP.NET Core
Introduction to ASP.NET CoreAvanade Nederland
 
Dot Net Core
Dot Net CoreDot Net Core
Dot Net CoreAmir Barylko
 
ASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with OverviewASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with OverviewShahed Chowdhuri
 
Moving ASP.NET MVC to ASP.NET Core
Moving ASP.NET MVC to ASP.NET Core Moving ASP.NET MVC to ASP.NET Core
Moving ASP.NET MVC to ASP.NET Core John Patrick Oliveros
 
Introduction to .NET Core & ASP.NET Core MVC
Introduction to .NET Core & ASP.NET Core MVCIntroduction to .NET Core & ASP.NET Core MVC
Introduction to .NET Core & ASP.NET Core MVCSaineshwar bageri
 
.NET Core: a new .NET Platform
.NET Core: a new .NET Platform.NET Core: a new .NET Platform
.NET Core: a new .NET PlatformAlex Thissen
 
What's New in ASP.NET Core 2.0
What's New in ASP.NET Core 2.0What's New in ASP.NET Core 2.0
What's New in ASP.NET Core 2.0Jon Galloway
 
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
Microsoft ASP.NET 5 - The new kid on the block Christos Matskas
 
Migrating .NET Application to .NET Core
Migrating .NET Application to .NET CoreMigrating .NET Application to .NET Core
Migrating .NET Application to .NET CoreBaris Ceviz
 
Microsoft <3 Linux with ASP.NET Core
Microsoft <3 Linux with ASP.NET CoreMicrosoft <3 Linux with ASP.NET Core
Microsoft <3 Linux with ASP.NET CoreJohn Patrick Oliveros
 
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
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.1Rodolfo Finochietti
 
ASP.NET 5 Overview: Post RTM
ASP.NET 5 Overview: Post RTMASP.NET 5 Overview: Post RTM
ASP.NET 5 Overview: Post RTMShahed Chowdhuri
 
Introduction to ASP.NET 5
Introduction to ASP.NET 5Introduction to ASP.NET 5
Introduction to ASP.NET 5mbaric
 
Evolution / History of ASP.NET
Evolution / History of ASP.NETEvolution / History of ASP.NET
Evolution / History of ASP.NETAnoop Kumar Sharma
 
Que hay de nuevo en 2013 en la plataforma Microsoft para desarrolladores
Que hay de nuevo en 2013 en la plataforma Microsoft para desarrolladoresQue hay de nuevo en 2013 en la plataforma Microsoft para desarrolladores
Que hay de nuevo en 2013 en la plataforma Microsoft para desarrolladoresRodolfo Finochietti
 
Deploy a Website in Azure using ARM Templates
Deploy a Website in Azure using ARM TemplatesDeploy a Website in Azure using ARM Templates
Deploy a Website in Azure using ARM TemplatesPratik Khasnabis
 
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 AppsShahed Chowdhuri
 

Was ist angesagt? (20)

.Net Core
.Net Core.Net Core
.Net Core
 
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
 
ASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with OverviewASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with Overview
 
Introduction to ASP.NET Core
Introduction to ASP.NET CoreIntroduction to ASP.NET Core
Introduction to ASP.NET Core
 
Dot Net Core
Dot Net CoreDot Net Core
Dot Net Core
 
ASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with OverviewASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with Overview
 
Moving ASP.NET MVC to ASP.NET Core
Moving ASP.NET MVC to ASP.NET Core Moving ASP.NET MVC to ASP.NET Core
Moving ASP.NET MVC to ASP.NET Core
 
Introduction to .NET Core & ASP.NET Core MVC
Introduction to .NET Core & ASP.NET Core MVCIntroduction to .NET Core & ASP.NET Core MVC
Introduction to .NET Core & ASP.NET Core MVC
 
.NET Core: a new .NET Platform
.NET Core: a new .NET Platform.NET Core: a new .NET Platform
.NET Core: a new .NET Platform
 
What's New in ASP.NET Core 2.0
What's New in ASP.NET Core 2.0What's New in ASP.NET Core 2.0
What's New in ASP.NET Core 2.0
 
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
Microsoft ASP.NET 5 - The new kid on the block
 
Migrating .NET Application to .NET Core
Migrating .NET Application to .NET CoreMigrating .NET Application to .NET Core
Migrating .NET Application to .NET Core
 
Microsoft <3 Linux with ASP.NET Core
Microsoft <3 Linux with ASP.NET CoreMicrosoft <3 Linux with ASP.NET Core
Microsoft <3 Linux with ASP.NET Core
 
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
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
 
ASP.NET 5 Overview: Post RTM
ASP.NET 5 Overview: Post RTMASP.NET 5 Overview: Post RTM
ASP.NET 5 Overview: Post RTM
 
Introduction to ASP.NET 5
Introduction to ASP.NET 5Introduction to ASP.NET 5
Introduction to ASP.NET 5
 
Evolution / History of ASP.NET
Evolution / History of ASP.NETEvolution / History of ASP.NET
Evolution / History of ASP.NET
 
Que hay de nuevo en 2013 en la plataforma Microsoft para desarrolladores
Que hay de nuevo en 2013 en la plataforma Microsoft para desarrolladoresQue hay de nuevo en 2013 en la plataforma Microsoft para desarrolladores
Que hay de nuevo en 2013 en la plataforma Microsoft para desarrolladores
 
Deploy a Website in Azure using ARM Templates
Deploy a Website in Azure using ARM TemplatesDeploy a Website in Azure using ARM Templates
Deploy a Website in Azure using ARM Templates
 
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
 

Ähnlich wie Getting Started with ASP.NET Core 1.0 (formerly ASP.NET 5)

The next step from Microsoft - Vnext (Srdjan Poznic)
The next step from Microsoft - Vnext (Srdjan Poznic)The next step from Microsoft - Vnext (Srdjan Poznic)
The next step from Microsoft - Vnext (Srdjan Poznic)Geekstone
 
Learning ASP.NET 5 and MVC 6
Learning ASP.NET 5 and MVC 6Learning ASP.NET 5 and MVC 6
Learning ASP.NET 5 and MVC 6Ido Flatow
 
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 AppsShahed Chowdhuri
 
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 AppsShahed Chowdhuri
 
Web API or WCF - An Architectural Comparison
Web API or WCF - An Architectural ComparisonWeb API or WCF - An Architectural Comparison
Web API or WCF - An Architectural ComparisonAdnan Masood
 
Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015Bluegrass Digital
 
Websites, Web Services and Cloud Applications with Visual Studio
Websites, Web Services and Cloud Applications with Visual StudioWebsites, Web Services and Cloud Applications with Visual Studio
Websites, Web Services and Cloud Applications with Visual StudioMicrosoft Visual Studio
 
StrongLoop Overview
StrongLoop OverviewStrongLoop Overview
StrongLoop OverviewShubhra Kar
 
Best Practices for couchDB developers on Microsoft Azure
Best Practices for couchDB developers on Microsoft AzureBest Practices for couchDB developers on Microsoft Azure
Best Practices for couchDB developers on Microsoft AzureBrian Benz
 
ASP.NET Core 2.0: The Future of Web Apps
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 AppsShahed Chowdhuri
 
Introduction to ASP.NET Core
Introduction to ASP.NET CoreIntroduction to ASP.NET Core
Introduction to ASP.NET CoreMiroslav Popovic
 
Vijay Oscon
Vijay OsconVijay Oscon
Vijay Osconvijayrvr
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET PresentationRasel Khan
 
RichardChauvetShortResume2015
RichardChauvetShortResume2015RichardChauvetShortResume2015
RichardChauvetShortResume2015Richard Chauvet
 
Open shift and docker - october,2014
Open shift and docker - october,2014Open shift and docker - october,2014
Open shift and docker - october,2014Hojoong Kim
 
Asp. net core 3.0 build modern web and cloud applications (top 13 features +...
Asp. net core 3.0  build modern web and cloud applications (top 13 features +...Asp. net core 3.0  build modern web and cloud applications (top 13 features +...
Asp. net core 3.0 build modern web and cloud applications (top 13 features +...Katy Slemon
 

Ähnlich wie Getting Started with ASP.NET Core 1.0 (formerly ASP.NET 5) (20)

The next step from Microsoft - Vnext (Srdjan Poznic)
The next step from Microsoft - Vnext (Srdjan Poznic)The next step from Microsoft - Vnext (Srdjan Poznic)
The next step from Microsoft - Vnext (Srdjan Poznic)
 
Learning ASP.NET 5 and MVC 6
Learning ASP.NET 5 and MVC 6Learning ASP.NET 5 and MVC 6
Learning ASP.NET 5 and MVC 6
 
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 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
 
Web API or WCF - An Architectural Comparison
Web API or WCF - An Architectural ComparisonWeb API or WCF - An Architectural Comparison
Web API or WCF - An Architectural Comparison
 
【BS1】What’s new in visual studio 2022 and c# 10
【BS1】What’s new in visual studio 2022 and c# 10【BS1】What’s new in visual studio 2022 and c# 10
【BS1】What’s new in visual studio 2022 and c# 10
 
Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015
 
Websites, Web Services and Cloud Applications with Visual Studio
Websites, Web Services and Cloud Applications with Visual StudioWebsites, Web Services and Cloud Applications with Visual Studio
Websites, Web Services and Cloud Applications with Visual Studio
 
StrongLoop Overview
StrongLoop OverviewStrongLoop Overview
StrongLoop Overview
 
Best Practices for couchDB developers on Microsoft Azure
Best Practices for couchDB developers on Microsoft AzureBest Practices for couchDB developers on Microsoft Azure
Best Practices for couchDB developers on Microsoft Azure
 
ASP.NET Core 2.0: The Future of Web Apps
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
 
Introduction to ASP.NET Core
Introduction to ASP.NET CoreIntroduction to ASP.NET Core
Introduction to ASP.NET Core
 
Vijay Oscon
Vijay OsconVijay Oscon
Vijay Oscon
 
The Future of ASP.NET
The Future of ASP.NETThe Future of ASP.NET
The Future of ASP.NET
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentation
 
RichardChauvetShortResume2015
RichardChauvetShortResume2015RichardChauvetShortResume2015
RichardChauvetShortResume2015
 
Open shift and docker - october,2014
Open shift and docker - october,2014Open shift and docker - october,2014
Open shift and docker - october,2014
 
Asp. net core 3.0 build modern web and cloud applications (top 13 features +...
Asp. net core 3.0  build modern web and cloud applications (top 13 features +...Asp. net core 3.0  build modern web and cloud applications (top 13 features +...
Asp. net core 3.0 build modern web and cloud applications (top 13 features +...
 
About netcore2
About netcore2About netcore2
About netcore2
 
ASP.NET 5
ASP.NET 5ASP.NET 5
ASP.NET 5
 

KĂŒrzlich hochgeladen

Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
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)wesley chun
 
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, ...apidays
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
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 SavingEdi Saputra
 
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.pdfsudhanshuwaghmare1
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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 FresherRemote DBA Services
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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 CVKhem
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel AraĂșjo
 

KĂŒrzlich hochgeladen (20)

Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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)
 
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, ...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Getting Started with ASP.NET Core 1.0 (formerly ASP.NET 5)

  • 1.
  • 2. Shaun Walker - Microsoft MVP (11 years), ASP Insider - .NET Foundation Advisory Council - Creator of DotNetNuke shaun.walker@arrowdesigns.com @sbwalker About Me: Based in Abbotsford, BC, Canada. Proud parent. I love ice hockey, music, and technology.
  • 3.
  • 4.
  • 5. History of Microsoft’s Web Frameworks 1996 – Active Server Pages (ASP) 2002 – ASP.NET 2008 – ASP.NET MVC 2010 – ASP.NET Web Pages 2012 – ASP.NET Web API, SignalR
  • 6. Characteristics of the Modern Web Web Frameworks: - Responsive Design - Client Frameworks - Cloud Ready - Cross Platform - Open Source Web Tooling: - Standards Based - Develop in Browser - Open Tooling - Grunt / Bower
  • 7. Open Web Server Interface for .NET - Open Sourceproject ( http://owin.org/) - Specificationpublishedin 2012 - Standardizedinterfacebetweenweb serversand web applications - In practicalterms,a decouplingof ASP.NETfrom IIS - Providesthe flexibilityto run other OWIN-enabledframeworkson IIS - Providesthe flexibilityto run Microsoft’sweb frameworksin other environments - Introducedthe conceptof “Middleware”
  • 8. History of ASP.NET Core 1.0 2012– Open WebServerInterfacefor .NET (OWIN) 2012– “ProjectK” 2013– Katana(Microsoftimplementationof OWIN) 2014– ASP.NETvNext 2015– ASP.NET5 2016– ASP.NETCore 1.0* *Note: full renameto ASP.NETCore 1.0 will be completedin RC2
  • 9.
  • 10. ASP.NET Core 1.0 Key Values Choose your Editors and Tools Open Source with Contributions Cross-PlatformOSS Seamless transition from on-premises to cloud Faster Development CycleTotally Modular High Performance Unified Experience1
  • 11. Modern Web - Productive Faster Development CycleUnified Experience1 - MVC & Web API unified( Web Pages coming) - DependencyInjection - Tracing& Diagnostics - Featuresshippedas packagesvia Nuget - Frameworkshipsas partof your application - Side-by-side frameworkversioning - Servicepackcontrol
  • 12. Modern Web – Fast - Fasterstartuptimes - Lowermemory/ higherdensity(> 90% reduction) - Use a raw socket, frameworkor both - IIS or self-hosted - New HTTP request pipelineutilizing Middleware - Opt into onlydesired features High Performance Totally Modular
  • 13. Modern Web - Flexible - Cloudready configuration,session, cache - No codechangesfor Cloud - Diagnostics,remote tracingand debugging Seamless transition from on-premises to cloud - Visual Studio,Text, Cloudeditors - No editors(command line) Choose your Editors and Tools
  • 14. Modern Web – Cross Platform - Windows - Mac - Linux Cross-Platform Open Source with Contributions OSS - ApacheLicense, Version2.0 - Availableon Github - Pull Requests
  • 15.
  • 16. ASP.NET 4.6 and ASP.NET Core 1.0
  • 17. ASP.NET 4.6 and ASP.NET Core 1.0 .NET Framework 4.6 .NET Core 1.0 Full .NET Framework for any scenario and library support on Windows Modular libraries & runtime optimized for server and cloud workloads
  • 18. https://github.com/aspnet/home/wiki/roadmap Milestone Release Date Beta6 Jul 27, 2015 Beta7 Sep 2, 2015 Beta8 Oct 15, 2015 RC1 Nov 18, 2015 RC2 April 2016?? RTM Summer/Fall 2016?? Release Schedule
  • 19. Performance Benchmark ASP.NETCore 1.0 exceeded1.15 millionRequestsper Secondand 12.6Gbps of Throughput– 2300% greaterthan ASP.NET4.6!!
  • 20.
  • 22. Installing ASP.NET Core 1.0 On Windows 1. InstallVisualStudio 2015 - Be sure to specifythat you want to includethe . 2. InstallASP.NET5 - This will installthe latestASP.NET5 runtimeand tooling. 3. Enablethe ASP.NET5 command-linetools. - Open a command-promptand run: dnvmupgrade (thiswill enable the default.NET ExecutionEnvironment(DNX)).
  • 23. .NET Execution Environment (DNX) - SDK and runtimeenvironmentfor creating.NET applicationson Windows, Mac, and Linux. - Provides a host process,CLR hosting logic and managedentry point discovery and can be interactedwith through a commandline tool. - Distributedwith your application
  • 24. Create Project > File > New Project > ASP.NET Web Application - ApplicationInsights Integration
  • 25. Project Templates > ASP.NET 5 Templates > Web Application - AuthenticationOptions - Microsoft Azure Options
  • 26. Demo Getting Started with ASP.NET Core 1.0
  • 27.
  • 28. Project Structure /References- server-sidereferences /wwwroot - web app root and location of staticresources /Dependencies- client-side dependencies(Bower/NPM) /Migrations- Entity Frameworkmigrations appsettings.json- configurationsettings project.json- server side dependencies(Nuget) Startup.cs- applicationentry point, configurationof request pipeline and services
  • 29. Middleware - Componentsassembledinto an applicationpipeline to handle requests and responses. - Each componentcan pass the request on to the next componentor terminate - Componentshave the opportunityto performoperationsbefore and afterthe next componentexecutes - Ordering of componentsis important - Authentication,staticfiles, MVC, etc

  • 30. Dependency Injection (DI) - First-classcitizen - DefaultInversionof Control(IoC) containerprovided (canbe replaced) - Declareyour Servicesin Startup.cs
  • 32. Diagnostics - get rich diagnosticsby using the Microsoft.AspNet.Diagnosticspackageand app.UseDeveloperExceptionPage();in Startup.cs
  • 33. Routing - Familiarconvention-basedsyntax - Consistentfor both MVC and WebAPI - Support for Filtersand Attributes(withconstructorinjection)
  • 34. Views - Now supportDependencyInjectionwith @inject - _ViewImports.cshtmlfor registeringnamespacesto be used in your Views
  • 35. View Components - Finallya more robust componentmodel for MVC! - Similarto partialviews but with more power (ie. complexbusinesslogic)
  • 36. Tag Helpers - HTML helpers expressed as HTML tags - Designer friendly - Easier to customize with additional attributes - Works seamlessly with any HTML editor
  • 37. - Input Tag: - Generates: - From: Tag Helpers
  • 38. Tag Helpers - Create your own custom Tag Helpers!
  • 39. Entity Framework Core 1.0 - Formerly named Entity Framework 7 - Rewritten from scratch - Common classes, patterns and workflows remain intact - Code First workflow only ( no designer-based EDMX model ) - Smaller Footprint - Cross Platform
  • 41. ASP.NET Core 1.0 Resources http://www.asp.net/vnext http://get.asp.net http://docs.asp.net https://live.asp.net/