SlideShare una empresa de Scribd logo
1 de 35
ASP.NET Core MVC
Changes Every Developer Should Know
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.2
About Me
Ed Charbeneau
 Developer Advocate for Progress, Telerik DevCraft
 Developer.Telerik.com
 Twitter @EdCharbeneau
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.3
.NET Core overview
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.4
Hello.NET Core 1.1.1
 Cross platform
• Development,
Deployment
• Windows, Mac, Linux
 Current App Models
• UWP
• Console Applications
• ASP.NET Core
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.5
Hello ASP.NET Core 1.1.1
 vNext
 ASP.NET 5
 ASP.NET Core 1.1.1
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.6
Cross platform development
DOTNET CLI
Read more: http://developer.telerik.com/featured/net-cli-decoded/
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.7
Cross platform deployment
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.8
ASP.NET Core “MVC” overview
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.9
Just the FAQs
 ASP.NET Core is a complete rewrite
 MVC is a module for ASP.NET Core
 MVC and Web API have merged into a single codebase
 There is no longer an MVC 6, the module was reversioned to 1.0
 There is no official plan for WebForms on .NET Core
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.10
Modularity
 ASP.NET Core uses a request pipeline
 Successor to HttpHandler
 Read / Write directly to the HTTP Pipeline
using middleware
 MVC is ASP.NET Core middleware
 Raw access to the HTTP request/response
(A.k.a. the bare metal)
 Built using Dependency Injection
Pipeline
HTTP Request
HTTP Response
middleware
MVC
middleware
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.11
No dependency on IIS
 Remember, cross platform!
 ASP.NET Core can be:
• Self-hosted
• Cloud hosted
• Mac, Windows, Linux
• Docker (integrated with VS2017)
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.12
 cross-platform asynchronous I/O library
 Should use Reverse Proxy Server
 ASP.NET Core Module .UseIISIntegration()
Servers
Kestrel WebListener
 Windows only
 Direct connection to the Internet
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.13
File, New Project
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.14
What's (Mostly) the Same
 MVC design pattern itself
• Models
• Views
• Controller
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.15
What's Missing
 App_Start
 App_Data
 Global.ASAX
 /Scripts
 /Content
 Web.Config*
* For IIS support only
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.16
ASP.NET Core 1.0 – 1.1 changes
 /src
 Project.json
• In ASP.NET Core 1.0, this replaced .csproj
• .csproj is back in 1.1
• 1.0 apps must to migrate to .csproj
 Web.Config
• For IIS support only
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.17
What’s new
 /wwwroot
 Dependencies
 /Data/Migrations
 Appsettings.json
 Startup.cs
 Program.cs
 _ViewImports.cshtml
Visual Studio Demo
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.19
Application Initialization
ASP.NET Core is a
Console Application
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.21
Application Initialization
ASP.NET Core
 No dependency on IIS
 Initialized via command line
 Program.Main() builds web host &
invokes Startup
 Startup.cs handles startup
.NET Framework 4.6, ASP.NET
 IIS (InetMgr.exe) initialized application
 HttpApplication.Application_Start()
 Startup code handled by Global.asax
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.22
Application Startup
 Replaces App_Start, and Global.ASAX
 Startup is called by WebHostBuilder.UseStartup
Program.Main()
ConfigureServices()
Configure()
Startup
Startup()
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.23
New Configuration Options
 Configuration options are resolved in the Startup constructor
 Settings can be stored in .json, .xml or environment variables
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.24
Overloading Configuration Options
Overloading
 Dev Ops Friendly
 Multiple configs
• Development
• Staging
• Production
 Last setting to be resolved wins
Example
var builder = new ConfigurationBuilder()
.SetBasePath(env.ContentRootPath)
.AddJsonFile(“foo.json”)
.AddJsonFile(“bar.json”);
Configuration.GetValue<string>(“myKey”); //=> Bar
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.25
Startup methods
ConfigureServices
 Dependency Injection (DI) configured
 IServiceCollection is the DI container
 AddTransient<TService, TImplementation>();
 services.AddMvc();
Configure
 HTTP Middleware is added
 IApplicationBuilder is the pipeline
 app.UseMiddleware()
 app.UseMvc(routes …)
Visual Studio Demo
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.27
TagHelpers
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.28
Overview
 Augments HTML to include server-side code & values
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.29
Just the FAQs
TagHelpers Are
 Use tags and attributes like HTML
 Rendered Server-Side
 Supported by intellisense
TagHelpers Are Not
 Going to eliminate Razor @Html
 Like WebForms
Visual Studio Demo
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.31
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.32
UI for ASP.NET Core
 For ASP.NET Core
 70+ ASP.NET MVC Components Powered by Kendo UI
 Charts
 Graphs
 Grids
 Schedulers
 Responsive, works on any screen size
© 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.33
Polished UI for All your Apps
http://telerik.com/devcraft
Thank you
ASP.NET Core Changes Every Developer Should Know

Más contenido relacionado

Destacado

Tervezz IoT architektúrát, avagy élet egy HTTP nélküli világban
Tervezz IoT architektúrát, avagy élet egy HTTP nélküli világbanTervezz IoT architektúrát, avagy élet egy HTTP nélküli világban
Tervezz IoT architektúrát, avagy élet egy HTTP nélküli világban
György Balássy
 

Destacado (17)

PDFArticle
PDFArticlePDFArticle
PDFArticle
 
ASP.NET MVC difference between questions list 1
ASP.NET MVC difference between questions list 1ASP.NET MVC difference between questions list 1
ASP.NET MVC difference between questions list 1
 
Inversion of control using dependency injection in Web APIs using Unity Conta...
Inversion of control using dependency injection in Web APIs using Unity Conta...Inversion of control using dependency injection in Web APIs using Unity Conta...
Inversion of control using dependency injection in Web APIs using Unity Conta...
 
Technical Video Training Sites- 1
Technical Video Training Sites- 1Technical Video Training Sites- 1
Technical Video Training Sites- 1
 
Resolve dependency of dependencies using Inversion of Control and dependency ...
Resolve dependency of dependencies using Inversion of Control and dependency ...Resolve dependency of dependencies using Inversion of Control and dependency ...
Resolve dependency of dependencies using Inversion of Control and dependency ...
 
Asp.net MVC DI
Asp.net MVC DIAsp.net MVC DI
Asp.net MVC DI
 
A mi hackathonunk: Egy kihívásokkal teli IoT projekt tapasztalatai
A mi hackathonunk: Egy kihívásokkal teli IoT projekt tapasztalataiA mi hackathonunk: Egy kihívásokkal teli IoT projekt tapasztalatai
A mi hackathonunk: Egy kihívásokkal teli IoT projekt tapasztalatai
 
Angularjs Basics
Angularjs BasicsAngularjs Basics
Angularjs Basics
 
Capture the Cloud with Azure
Capture the Cloud with AzureCapture the Cloud with Azure
Capture the Cloud with Azure
 
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
 
Difference between authentication and authorization in asp.net
Difference between authentication and authorization in asp.netDifference between authentication and authorization in asp.net
Difference between authentication and authorization in asp.net
 
Getting Started with ASP.net Core 1.0
Getting Started with ASP.net Core 1.0Getting Started with ASP.net Core 1.0
Getting Started with ASP.net Core 1.0
 
State Management In ASP.NET And ASP.NET MVC
State Management In ASP.NET And ASP.NET MVCState Management In ASP.NET And ASP.NET MVC
State Management In ASP.NET And ASP.NET MVC
 
Tervezz IoT architektúrát, avagy élet egy HTTP nélküli világban
Tervezz IoT architektúrát, avagy élet egy HTTP nélküli világbanTervezz IoT architektúrát, avagy élet egy HTTP nélküli világban
Tervezz IoT architektúrát, avagy élet egy HTTP nélküli világban
 
Capture the Cloud with Azure
Capture the Cloud with AzureCapture the Cloud with Azure
Capture the Cloud with Azure
 
MS.Net Interview Questions - Simplified
MS.Net Interview Questions - SimplifiedMS.Net Interview Questions - Simplified
MS.Net Interview Questions - Simplified
 
.Net Core
.Net Core.Net Core
.Net Core
 

Más de Ed Charbeneau

Más de Ed Charbeneau (20)

Writing JavaScript for C# Blazor.pptx
Writing JavaScript for C# Blazor.pptxWriting JavaScript for C# Blazor.pptx
Writing JavaScript for C# Blazor.pptx
 
Blazor Stability Testing Tools for Bullet Proof Applications
Blazor Stability Testing Tools for Bullet Proof ApplicationsBlazor Stability Testing Tools for Bullet Proof Applications
Blazor Stability Testing Tools for Bullet Proof Applications
 
Secrets of a Blazor Component Artisan (v2)
Secrets of a Blazor Component Artisan (v2)Secrets of a Blazor Component Artisan (v2)
Secrets of a Blazor Component Artisan (v2)
 
Modernizing Web Apps with .NET 6.pptx
Modernizing Web Apps with .NET 6.pptxModernizing Web Apps with .NET 6.pptx
Modernizing Web Apps with .NET 6.pptx
 
Modernizing Web Apps with .NET 6.pptx
Modernizing Web Apps with .NET 6.pptxModernizing Web Apps with .NET 6.pptx
Modernizing Web Apps with .NET 6.pptx
 
Blazor Full-Stack
Blazor Full-StackBlazor Full-Stack
Blazor Full-Stack
 
Secrets of a Blazor Component Artisan
Secrets of a Blazor Component ArtisanSecrets of a Blazor Component Artisan
Secrets of a Blazor Component Artisan
 
Writing java script for Csharp's Blazor
Writing java script for Csharp's BlazorWriting java script for Csharp's Blazor
Writing java script for Csharp's Blazor
 
Goodbye JavaScript Hello Blazor
Goodbye JavaScript Hello BlazorGoodbye JavaScript Hello Blazor
Goodbye JavaScript Hello Blazor
 
Razor into the Razor'verse
Razor into the Razor'verseRazor into the Razor'verse
Razor into the Razor'verse
 
Blazor
BlazorBlazor
Blazor
 
Giving Clarity to LINQ Queries by Extending Expressions R2
Giving Clarity to LINQ Queries by Extending Expressions R2Giving Clarity to LINQ Queries by Extending Expressions R2
Giving Clarity to LINQ Queries by Extending Expressions R2
 
Into the next dimension
Into the next dimensionInto the next dimension
Into the next dimension
 
Giving Clarity to LINQ Queries by Extending Expressions
Giving Clarity to LINQ Queries by Extending ExpressionsGiving Clarity to LINQ Queries by Extending Expressions
Giving Clarity to LINQ Queries by Extending Expressions
 
What is new in Q2 2015
What is new in Q2 2015What is new in Q2 2015
What is new in Q2 2015
 
TelerikNEXT What's new in UI for ASP.NET AJAX
TelerikNEXT What's new in UI for ASP.NET AJAXTelerikNEXT What's new in UI for ASP.NET AJAX
TelerikNEXT What's new in UI for ASP.NET AJAX
 
Journey to JavaScript (from C#)
Journey to JavaScript (from C#)Journey to JavaScript (from C#)
Journey to JavaScript (from C#)
 
Refactoring css
Refactoring cssRefactoring css
Refactoring css
 
Don't be a stereotype: Rapid Prototype
Don't be a stereotype: Rapid PrototypeDon't be a stereotype: Rapid Prototype
Don't be a stereotype: Rapid Prototype
 
A crash course in responsive design
A crash course in responsive designA crash course in responsive design
A crash course in responsive design
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

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
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
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, ...
 
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...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
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?
 
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...
 
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...
 
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
 
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
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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...
 
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
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 

ASP.NET Core Changes Every Developer Should Know

  • 1. ASP.NET Core MVC Changes Every Developer Should Know
  • 2. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.2 About Me Ed Charbeneau  Developer Advocate for Progress, Telerik DevCraft  Developer.Telerik.com  Twitter @EdCharbeneau
  • 3. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.3 .NET Core overview
  • 4. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.4 Hello.NET Core 1.1.1  Cross platform • Development, Deployment • Windows, Mac, Linux  Current App Models • UWP • Console Applications • ASP.NET Core
  • 5. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.5 Hello ASP.NET Core 1.1.1  vNext  ASP.NET 5  ASP.NET Core 1.1.1
  • 6. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.6 Cross platform development DOTNET CLI Read more: http://developer.telerik.com/featured/net-cli-decoded/
  • 7. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.7 Cross platform deployment
  • 8. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.8 ASP.NET Core “MVC” overview
  • 9. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.9 Just the FAQs  ASP.NET Core is a complete rewrite  MVC is a module for ASP.NET Core  MVC and Web API have merged into a single codebase  There is no longer an MVC 6, the module was reversioned to 1.0  There is no official plan for WebForms on .NET Core
  • 10. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.10 Modularity  ASP.NET Core uses a request pipeline  Successor to HttpHandler  Read / Write directly to the HTTP Pipeline using middleware  MVC is ASP.NET Core middleware  Raw access to the HTTP request/response (A.k.a. the bare metal)  Built using Dependency Injection Pipeline HTTP Request HTTP Response middleware MVC middleware
  • 11. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.11 No dependency on IIS  Remember, cross platform!  ASP.NET Core can be: • Self-hosted • Cloud hosted • Mac, Windows, Linux • Docker (integrated with VS2017)
  • 12. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.12  cross-platform asynchronous I/O library  Should use Reverse Proxy Server  ASP.NET Core Module .UseIISIntegration() Servers Kestrel WebListener  Windows only  Direct connection to the Internet
  • 13. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.13 File, New Project
  • 14. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.14 What's (Mostly) the Same  MVC design pattern itself • Models • Views • Controller
  • 15. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.15 What's Missing  App_Start  App_Data  Global.ASAX  /Scripts  /Content  Web.Config* * For IIS support only
  • 16. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.16 ASP.NET Core 1.0 – 1.1 changes  /src  Project.json • In ASP.NET Core 1.0, this replaced .csproj • .csproj is back in 1.1 • 1.0 apps must to migrate to .csproj  Web.Config • For IIS support only
  • 17. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.17 What’s new  /wwwroot  Dependencies  /Data/Migrations  Appsettings.json  Startup.cs  Program.cs  _ViewImports.cshtml
  • 19. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.19 Application Initialization
  • 20. ASP.NET Core is a Console Application
  • 21. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.21 Application Initialization ASP.NET Core  No dependency on IIS  Initialized via command line  Program.Main() builds web host & invokes Startup  Startup.cs handles startup .NET Framework 4.6, ASP.NET  IIS (InetMgr.exe) initialized application  HttpApplication.Application_Start()  Startup code handled by Global.asax
  • 22. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.22 Application Startup  Replaces App_Start, and Global.ASAX  Startup is called by WebHostBuilder.UseStartup Program.Main() ConfigureServices() Configure() Startup Startup()
  • 23. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.23 New Configuration Options  Configuration options are resolved in the Startup constructor  Settings can be stored in .json, .xml or environment variables
  • 24. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.24 Overloading Configuration Options Overloading  Dev Ops Friendly  Multiple configs • Development • Staging • Production  Last setting to be resolved wins Example var builder = new ConfigurationBuilder() .SetBasePath(env.ContentRootPath) .AddJsonFile(“foo.json”) .AddJsonFile(“bar.json”); Configuration.GetValue<string>(“myKey”); //=> Bar
  • 25. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.25 Startup methods ConfigureServices  Dependency Injection (DI) configured  IServiceCollection is the DI container  AddTransient<TService, TImplementation>();  services.AddMvc(); Configure  HTTP Middleware is added  IApplicationBuilder is the pipeline  app.UseMiddleware()  app.UseMvc(routes …)
  • 27. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.27 TagHelpers
  • 28. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.28 Overview  Augments HTML to include server-side code & values
  • 29. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.29 Just the FAQs TagHelpers Are  Use tags and attributes like HTML  Rendered Server-Side  Supported by intellisense TagHelpers Are Not  Going to eliminate Razor @Html  Like WebForms
  • 31. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.31
  • 32. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.32 UI for ASP.NET Core  For ASP.NET Core  70+ ASP.NET MVC Components Powered by Kendo UI  Charts  Graphs  Grids  Schedulers  Responsive, works on any screen size
  • 33. © 2016 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.33 Polished UI for All your Apps http://telerik.com/devcraft

Notas del editor

  1. OmniSharp Yeoman Dotnet exe