Hello World Admir Tuzović Chief Technology App Impact

Slides:



Advertisements
Similar presentations
Faith Allington Program Manager Microsoft Corporation WSV322.
Advertisements

The Future of Web WakeUpAndCode.com.
Meet Jeremy Thake Jeremy recently joined Microsoft as Technical Product Manager for the Visual Studio Developer story for Office 365 development.
Building a social networking portal on Windows Azure in 1 hour Saranya Sriram Developer Evangelist Microsoft, India.
ASP.NET vNEXT & development tools Marco De
ASP.NET Core* 1.0 The Future of Web Apps Shahed Chowdhuri
//liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS,
ASP.NET 2.0 Mohammed Abdelhadi Developer.NET Evangelist Microsoft Corporation.
Migrating to ASP.NET Core Challenges & Opportunities
ASP.NET Core* in 2017 The Future of Web Apps Shahed Chowdhuri
10/18/2017 3:02 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Top 10 Entity Framework Features Every Developer Should Know
Build and Learn ASP.NET Workshop.
Introduction to ASP.NET Core
Microsoft Connect /28/ :21 AM
Introduction to ASP.NET 2.0
Data centric apps for web, desktop and mobile with EF5
TechEd /1/2018 7:56 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
ASP.NET Core 2.0 Fundamentals
The Modern ASP.NET Tech Stack!
6/24/ :43 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Modern web tooling in Visual Studio 2015
ASP.NET Core* 1.0 The Future of Web Apps Shahed Chowdhuri
Getting Started with Visual Studio Tools for Tizen
ASP.NET in Linux and Windows containers
Lean .NET stack for building modern web apps
Building a Continuous Integration Pipeline using VSTS
Introducing ASP.NET Core 2.0
Microsoft Virtual Academy
MVC in ASP.NET Core: The new kid on the block
Microsoft Build /8/2018 3:30 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Explore web development with Microsoft ASP.NET Core 1.0
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Microsoft Build /11/2018 2:12 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Ignite NZ October 2016 SKYCITY, Auckland
Building Modern Web Apps with ASP.NET MVC 6
Dive deep into ASP.NET Core 1.0
Explore web development with Microsoft ASP.NET Core 1.0
DotnetConf 11/17/ :06 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
Office 365 Development July 2014.
ASP.NET Roadmap Mike Ormond Developer & Platform Group Microsoft Ltd
Should I Transition to .NET Core? Will it hurt?
Microsoft Ignite /28/2018 8:58 AM
Working with different JavaScript frameworks and libraries
Microsoft Build /30/2018 2:15 AM Migrating Silverlight Windows Phone apps to the Universal Windows Platform Ricardo Villalobos Principal SDE Manager.
Microsoft Connect /1/2018 2:36 AM
12/3/2018 7:56 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Application Insights Diagnostics Preview
Web Development in Visual Studio 2017
ASP.NET 5 és ami mögötte van – a gyakorlatban
ASP.NET 4 Core Runtime for Web Developers
Serverless Architecture in the Cloud
C++ Productivity Improvements
Microsoft Connect /24/ :10 PM
Microsoft Connect /28/2019 2:20 AM
SharePoint Development
Understand design from code with code maps
From Development to Production: Optimizing for Continuous Delivery
Jonathan Ruckert & Darren Neimke
Build /19/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
5/6/2019 7:40 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Strategic Sponsors Sponsors and Partners Gold Sponsors Silver Sponsors.
Introduction to ASP.NET Parts 1 & 2
Azure App Service Web App for Containers
The Future is Now with ASP.NET Core 3.0
#01# ASP.NET Core Overview Design by: TEDU Trainer: Bach Ngoc Toan
Concepts in ASP.NET Core App
ASP.NET Core 2.0 The Future of Web Apps Shahed Chowdhuri
What’s ASP.NET 5 and Why? Scott Hunter | Director of Program Management Scott Hanselman | Principal Program Manager.
Microsoft Connect /14/ :11 AM
Presentation transcript:

Hello World Admir Tuzović Chief Technology Officer @ App Impact 5/26/2018 1:50 AM Hello World Admir Tuzović Chief Technology Officer @ App Impact © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5/26/2018 1:50 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5/26/2018 1:50 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

ASP.NET Core 1.1 & Visual Studio 2017 Hello World 5/26/2018 1:50 AM ASP.NET Core 1.1 & Visual Studio 2017 Hello World Admir Tuzović CTO @ App Impact © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

About me Chief Technology Officer Author Former Tech Evangelist 5/26/2018 1:50 AM About me Chief Technology Officer Author Former Tech Evangelist © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Agenda Project structure .NET Standard Hosting options Middleware 5/26/2018 1:50 AM Agenda Project structure .NET Standard Hosting options Middleware Dependency Injection MVC vs MVC Core Tooling JS support © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

.NET Core Release Timeline 5/26/2018 1:50 AM .NET Core Release Timeline 2015.11.01 : Release Candidate 1 2016.05.01 : Release Candidate 2 (DNX 2 CLI) 2016.06.27 : 1.0 2016.09.09 : 1.0.1 2016.10.17 : 1.0.2 2016.11.16 : 1.1 2017.03.07 : 1.1.1 Death to project.json © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5/26/2018 1:50 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5/26/2018 1:50 AM Hosting Options Kestrel – lightweight, cross-platform, super great web server !!! ...that anyone can hack or exploit.  Primary role: provide seperate process for ASP.NET Core to run in. Production scenarios require reverse proxy: IIS Apache Nginx © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo Migrating from VS 2015 to VS 2017 Targeting multiple frameworks © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Request pipeline Middleware A Middleware B Middleware C Middleware D Middleware E Request Response © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

MVC in Request Pipeline 5/26/2018 1:50 AM MVC in Request Pipeline Should be the last (terminating) middleware Writes to the response stream (irreversible) Has its own internal pipeline © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

ASP.NET Request Pipeline 5/26/2018 1:50 AM ASP.NET Request Pipeline Request Response Module 5 Module 4 Module 3 Module 2 Module 1 © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Request pipeline Request Exception Handling Static Files Logging 5/26/2018 1:50 AM Request pipeline Exception Handling Static Files Logging Security MVC Request Response © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Middleware from IHttpModule perspective 5/26/2018 1:50 AM Middleware from IHttpModule perspective Request Response MVC Security Logging Static Files Exception Logging © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo Middleware Filter 5/26/2018 1:50 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

ASP.NET MVC vs ASP.NET Web API 5/26/2018 1:50 AM ASP.NET MVC vs ASP.NET Web API Web API ASP.NET MVC ASP.NET Core MVC Core ASP.NET Core MVC ASP.NET Core MVC Core Razor … much more © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo Frontend Backend separation 5/26/2018 1:50 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Decoupling Common External Power Supply aka power jack 5/26/2018 1:50 AM Decoupling Common External Power Supply aka power jack © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Dependency injection ConfigureServices in Startup.cs 5/26/2018 1:50 AM Dependency injection ConfigureServices in Startup.cs Three scoping levels: Singleton (1 instance for entire application) Transient (new instance for every resolution) Scoped (new instance for every new HTTP request) Integrates well with 3rd party libraries like AutoFac © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo Integration with AutoFac 5/26/2018 1:50 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Exception handling Startup.cs Middleware A Middleware B Middleware C MVC MW configuration Request 1 DI configuration Request 2 Request 3 Program.cs Request 4 Host configuration © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Task Runner + BundleMinifier 5/26/2018 1:50 AM Task Runner + BundleMinifier 1st announcement: We support Grunt in VS!!! 2nd announcement: We support Grunt Gulp in VS!!! No announcement: bundleconfig.json gulpfile.js Hi, I am Mads Kristensen, and I have this awesome library for bundling and minification!!! Hi, I am Starcraft siege tank and I can do 80 damage when in siege mode. Gulp sends his regards. © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Gulp vs BundleMinifier 5/26/2018 1:50 AM Gulp vs BundleMinifier Bundleminifer: Minify and Concat JS and CSS Gulp: Cook, Clean, Delete, Wash, Sing, Dance, Scratch, Play, Minify, Rename, Copy, Fix broken pipe, Sort files, Benchmark, Concat, Bless, Sketch, Kill your enemies ... © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Future projects (heavily opinionated) 5/26/2018 1:50 AM Future projects (heavily opinionated) Visual Studio 2017? Yes, 2015 is not even listed anymore .NET Core? If possible, YES ASP.NET Core with MVC Core? OMG, 100% YES!!! ASP.NET Core MVC with Razor? Not worth it, stick with MVC Core + client-side technologies Entity Framework Core? Only if you are into S&M © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5/26/2018 1:50 AM Gracias! © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.