SlideShare a Scribd company logo
www.dotnetconf.net
dotNetConf2019
http://aka.ms/netcore3verona
http://eepurl.com/goovNv
dotNetConf2019
dotNetConf2019
dotNetConf2019
dot.net/get-core3
dotNetConf2019
dotNetConf2019
dotNetConf2019
dotNetConf2019
false
dotNetConf2019
true
dotNetConf2019
true
dotNetConf2019
true
dotNetConf2019
gRPC
High performance contract-
based RPC services with .NET
Works across many languages
and platforms
Worker Service
Starting point for long running
back processes like Windows
Server or Linux daemon
Producing or consuming
messages from a message
queue
Web API’s + Identity
Add security and authentication
to Web API’s
github.com/domaindrivendev/swashbuckle
github.com/identityserver
github.com/grpc
Healthchecks
ASP.NET Core Healthchecks
https://aka.ms/healthchecks
Healthchecks
ASP.NET Core Healthchecks
https://aka.ms/healthchecks
Healthchecks
Docker Images
Base address is mcr.microsoft.com
Alpine base images
Debian base images
Worker Service
Worker Service & GenericHost
Windows Service
Worker Service : Windows
systemd service
Worker Service : systemd
dotNetConf2019
EndPoint Routing
EndPoint Routing https://aka.ms/endpointrouting
dotNetConf2019
dotNetConf2019
dotNetConf2019
dotNetConf2019
https://grpc.io/docs/tutorials/basic/web/
dotNetConf2019
dotNetConf2019
dotNetConf2019
Long polling
Request
Response
Request
Event
Client Server
Server-sent events
new EventSource(…)
Message Event
Client Server
Message Event
Message Event
WebSockets
upgrade: websocket
Client Server
messages
HTTP/1.1 101 Switching Protocols 👍
🙂🙂
dotNetConf2019
dotNetConf2019
dotNetConf2019
dotNetConf2019
dotNetConf2019
Scale out with
Azure SignalR Service
Azure SignalR Service
Business
Logic
(Hub)
Client
Pages
Web traffic
SignalR traffic
Business
Logic
(Hub)
Pages
Client
Endpoint
Server
Endpoint
SignalR trafficWeb traffic
dotNetConf2019
Web apps with Blazor
Full stack web
development with C#
You don’t need to know AngularJS,
React, Vue, etc.
Take advantage of stability and
consistency of .NET
Runs in all browsers
Strongly typed on the client
and server
Share C# code with the client
and server
Web Assembly
(In Preview, Release in
May 2020)
Native performance
Requires no plugin or code
transpilation
https://...
JS
C#
How Blazor WebAssembly works
https://...
DOM
Razor Components
.NET
WebAssembly
https://www.nuget.org/packages/Microsoft.AspNetCore.Blazor.Template
s/3.0.0-preview9.19465.2
Blazor on client or server
https://...
DOM
Razor Components
.NET
WebAssembly
https...
DOM
.NET Core
SignalR
Blazor WebAssembly Blazor Server
Razor Components
.NET
.NET Core 3.0May 2020
Blazor on client or server
Blazor WebAssembly Blazor Server
.NET Core 3.0May 2020
https://blazor.net
dotNetConf2019
Build your own pizza store UI with Blazor
https://aka.ms/blazorworkshop
https://aka.ms/awesomeblazor
https://gitter.im/aspnet/blazor
https://aka.ms/blasteroids
dotNetConf2019
Try Blazor today!
• Blazor: https://blazor.net
• Docs: https://blazor.net/docs
• .NET Core 3.0: https://dot.net/get-core3
• Visual Studio: https://visualstudio.com/
• Workshop: https://aka.ms/blazorworkshop
• Community: https://aka.ms/awesomeblazor
dotNetConf2019
dotNetConf2019
dotNetConf2019
Blazor Server Web app
Every interaction handled on server
Prerendered HTML (optional)
Blazor WebAssembly Web app with client-side execution
Loaded from web server
Can work offline via Service Worker
Web
Desktop
+ Mobile
Blazor Server Web app
Every interaction handled on server
Prerendered HTML (optional)
Blazor WebAssembly Web app with client-side execution
Loaded from web server
Can work offline via Service Worker
Blazor PWA – OS installed Appears as native app (own window)
Works offline or online
Web
Desktop
+ Mobile
Works offline Push notifications
Fast & responsive OS installable
Blazor Server Web app
Every interaction handled on server
Prerendered HTML (optional)
Blazor WebAssembly Web app with client-side execution
Loaded from web server
Can work offline via Service Worker
Blazor PWA – OS installed Appears as native app (own window)
Works offline or online
Blazor Hybrid Native .NET renders to Electron / WebView
Appears as native app (own window)
Works offline or online
Web
Desktop
+ Mobile
Blazor Server Web app
Every interaction handled on server
Prerendered HTML (optional)
Blazor WebAssembly Web app with client-side execution
Loaded from web server
Can work offline via Service Worker
Blazor PWA – OS installed Appears as native app (own window)
Works offline or online
Blazor Hybrid Native .NET renders to Electron / WebView
Appears as native app (own window)
Works offline or online
Web
Desktop
+ Mobile
Blazor Native Same programming model, but
rendering non-HTML UI
https://aka.ms/blutter
dotNetConf2019
.NET 5
XAMARIN / MONO.NET FRAMEWORK .NET.NET CORE
.NET STANDARD
July 2019
.NET Core 3.0
RC
Sept 2019
.NET Core 3.0
Nov 2019
.NET Core 3.1
LTS
Nov 2020
.NET 5.0
Nov 2021
.NET 6.0
LTS
Nov 2022
.NET 7.0
Nov 2023
.NET 8.0
LTS
DESKTOP WEB CLOUD MOBILE GAMING IoT AI
.NET
Download .NET Core 3.0 Today!
visualstudio.com/downloads
dot.net/get-core3
https://devblogs.microsoft.com/aspnet/asp-net-
core-updates-in-net-core-3-1-preview-1/
https://dotnet.microsoft.com/learn/dotnet/architecture-guides
New free e-books

More Related Content

PDF
Cowboy rabbit-websockets
PPTX
Smuggling TCP traffic through HTTP
PDF
"13 ways to run web applications on the Internet" Andrii Shumada
PDF
High Productivity Web Development Workflow
PDF
DevOps and Hybrid Applications: What You Need to Know
PDF
Building Next Generation Real-Time Web Applications using Websockets
PPTX
Bluemix - Deploying a Java Web Application
PPT
PHP and MySQL
Cowboy rabbit-websockets
Smuggling TCP traffic through HTTP
"13 ways to run web applications on the Internet" Andrii Shumada
High Productivity Web Development Workflow
DevOps and Hybrid Applications: What You Need to Know
Building Next Generation Real-Time Web Applications using Websockets
Bluemix - Deploying a Java Web Application
PHP and MySQL

What's hot (20)

ODP
Technology / Open Source @ Creative Commons (CC Salon SF, August 2009)
PPTX
Word press workflows and gulp
PDF
WebRTC - Brings Real-Time to the Web
PDF
Node.js to the rescue
PDF
Grokking #9: Building a real-time and offline editing service with Couchbase
PDF
JHipster Conf 2018 : Connect your JHipster apps to the world of APIs with Ope...
PPTX
Speed up your front-end development with the Proxly chrome extension
PPTX
Web Sockets
PDF
Scale your Magento app with Elastic Beanstalk
PDF
Running azure function locally
PPT
Deploying Rails Apps with Capistrano
PDF
[Quality Meetup #20] Michał Górski - Continuous Deployment w chmurze
PPT
Introduction To Asp.Net Ajax
PPTX
Put kajakken på hylden - og få sexede windows services
PPTX
Introduction to ASP.NET Core
PDF
Introduction to Web Sockets
PPTX
SignalR. Code, not toothpaste - TechDays Belgium 2012
PDF
Виталий Редько "React + Redux: performance & scalability"
PDF
Calling java from a bash script 5
PDF
Тестирование мобильных приложений используя облачные сервисы. TestDroid, Test...
Technology / Open Source @ Creative Commons (CC Salon SF, August 2009)
Word press workflows and gulp
WebRTC - Brings Real-Time to the Web
Node.js to the rescue
Grokking #9: Building a real-time and offline editing service with Couchbase
JHipster Conf 2018 : Connect your JHipster apps to the world of APIs with Ope...
Speed up your front-end development with the Proxly chrome extension
Web Sockets
Scale your Magento app with Elastic Beanstalk
Running azure function locally
Deploying Rails Apps with Capistrano
[Quality Meetup #20] Michał Górski - Continuous Deployment w chmurze
Introduction To Asp.Net Ajax
Put kajakken på hylden - og få sexede windows services
Introduction to ASP.NET Core
Introduction to Web Sockets
SignalR. Code, not toothpaste - TechDays Belgium 2012
Виталий Редько "React + Redux: performance & scalability"
Calling java from a bash script 5
Тестирование мобильных приложений используя облачные сервисы. TestDroid, Test...
Ad

Similar to dotNetConf2019 (20)

PPTX
.NET Conf 2019 高雄場 - .NET Core 3.0
PPTX
.NET Core Today and Tomorrow
PDF
بالعربي التطور في البرمجة باستخدام ال .Net
PPTX
What you need to know about .NET Core 3.0 and beyond
PDF
【BS1】What’s new in visual studio 2022 and c# 10
PPTX
What's new in Web Development with ASP.NET Core 2.1
PPTX
Background Tasks with Worker Service
PPTX
Developing Cross-Platform Web Apps with ASP.NET Core1.0
PPTX
Welcome to Blazor
PDF
ITCamp 2017 - Raffaele Rialdi - Adopting .NET Core in Mainstream Projects
PPTX
Dot Net Core 3 with Raspberry Pi
PPTX
C#on linux
PPTX
O futuro do .NET : O que eu preciso saber
PDF
.NET Core on Mac
PDF
App Service Web
PDF
What's New in ASP.NET Core 3
PPTX
.NET Overview & Roadmap
PDF
Raffaele Rialdi
PPTX
Azure serverless computing
PPTX
NET app modernization and Microsoft Azure.pptx
.NET Conf 2019 高雄場 - .NET Core 3.0
.NET Core Today and Tomorrow
بالعربي التطور في البرمجة باستخدام ال .Net
What you need to know about .NET Core 3.0 and beyond
【BS1】What’s new in visual studio 2022 and c# 10
What's new in Web Development with ASP.NET Core 2.1
Background Tasks with Worker Service
Developing Cross-Platform Web Apps with ASP.NET Core1.0
Welcome to Blazor
ITCamp 2017 - Raffaele Rialdi - Adopting .NET Core in Mainstream Projects
Dot Net Core 3 with Raspberry Pi
C#on linux
O futuro do .NET : O que eu preciso saber
.NET Core on Mac
App Service Web
What's New in ASP.NET Core 3
.NET Overview & Roadmap
Raffaele Rialdi
Azure serverless computing
NET app modernization and Microsoft Azure.pptx
Ad

More from Andrea Tosato (20)

PPTX
Codemotion Azure Container Apps
PPTX
Lite db for dummies
PDF
Azure Static Web Apps & Blazor
PPTX
Dapr logicapps
PPTX
How to develop modern web application, with no money and nod javascript
PPTX
Entity framework core v3 from sql to no sql
PDF
How to develop modern web application - With no money and no Javascript
PDF
Mixing Identity server, AAD, ASP .NET Identity
PDF
An introduction to GraphQL in .NET Core
PDF
DevOps Heroes 2019
PPTX
Cost Optimization - Global Azure Bootcamp 2019
PPTX
Deep Dive Azure Functions - Global Azure Bootcamp 2019
PPTX
Azure Function Workflow
PPTX
Azure Cognitive Service on Container
PPTX
Deploy multi-environment application with Azure DevOps
PPTX
Azure Cognitive Service in Container
PPTX
Azure Signalr Service
PPTX
Xamarin - Microcharts
PPTX
Introduzione Xamarin
PPTX
Unit Testing
Codemotion Azure Container Apps
Lite db for dummies
Azure Static Web Apps & Blazor
Dapr logicapps
How to develop modern web application, with no money and nod javascript
Entity framework core v3 from sql to no sql
How to develop modern web application - With no money and no Javascript
Mixing Identity server, AAD, ASP .NET Identity
An introduction to GraphQL in .NET Core
DevOps Heroes 2019
Cost Optimization - Global Azure Bootcamp 2019
Deep Dive Azure Functions - Global Azure Bootcamp 2019
Azure Function Workflow
Azure Cognitive Service on Container
Deploy multi-environment application with Azure DevOps
Azure Cognitive Service in Container
Azure Signalr Service
Xamarin - Microcharts
Introduzione Xamarin
Unit Testing

Recently uploaded (20)

PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Introduction to Artificial Intelligence
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
System and Network Administraation Chapter 3
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Introduction to Artificial Intelligence
Navsoft: AI-Powered Business Solutions & Custom Software Development
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
Operating system designcfffgfgggggggvggggggggg
Odoo Companies in India – Driving Business Transformation.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Odoo POS Development Services by CandidRoot Solutions
PTS Company Brochure 2025 (1).pdf.......
Computer Software and OS of computer science of grade 11.pptx
Upgrade and Innovation Strategies for SAP ERP Customers
wealthsignaloriginal-com-DS-text-... (1).pdf
Softaken Excel to vCard Converter Software.pdf
System and Network Administraation Chapter 3
CHAPTER 2 - PM Management and IT Context
Design an Analysis of Algorithms I-SECS-1021-03
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...

dotNetConf2019

Editor's Notes

  • #21: We’ve added a ton of features to ASP.NET Core in version 3.0 on order to make building resilient microservices easier.
  • #28: There is a new microservices related Worker Service project template for building lightweight background workers, which can be run under orchestrators like Kubernetes.
  • #29: Works on a GenericHost. What is a generic host, it’s just that generic. It works in the same pattern as ASP.NET but without anything web specific. The web host is preconfigured to boot Kestrel, this one is not. All it does is if you have any services in your app that is a Hosted Service, it will run them. In this snippet, Worker is the service, inherits from BackgroundService but could also inherit from IHostedService.
  • #32: Worker service sidecar.
  • #33: In the microservices world, each services you create does a specific process. In previous versions of .NET or ASP.NET Core specifically MVC was included in order to get the routing. However, many of the APIs we are developing are just maybe the M and C of MVC or maybe not of the letters.
  • #34: Here is a very basic service that just returns HelloWorld on the /hello path. No MVC needed to route or respond to the HTTP request. We saw a similar pattern in the HealthChecks example under the /health route. Simply add the statement app.UseRouting(); and then app.UseEndPoints and map your routes
  • #46: Streaming demos
  • #47: Streaming demos
  • #55: Worker service sidecar.
  • #57: Blazor is a new client-side web UI framework based on .NET and C# instead of JavaScript.   .NET has always had great support for building server-rendered web apps with ASP.NET, where your .NET code runs on the server and generates HTML & JSON responses. But if you ever wanted to add some client-side functionality to your web app that runs in the browser on the user's device, that meant you had to write some JavaScript.   Well, not anymore! Blazor enables full-stack web development with .NET using only open web standards. .NET Core 3.0 ships support for Blazor Server apps, which enables you to handle client-side UI interactions over a real-time SignalR connection. And in the near future with Blazor WebAssembly you'll be able to run your .NET code directly in the browser on WebAssembly-based .NET runtime.
  • #64: Creating components Using components Component parameters Routing Layouts Dependency injection Event handling Data binding Forms & validation JS interop Use local storage Using .NET Standard libraries
  • #81: 2019 – Introduce .NET 5 – Windows, Mac, Linux, Android, IOS all run .NET Core’s runtime Same BCL used on all platforms, same runtime used on all platforms Native code compilation on all platforms, by merging .NET Native and Mono AOT JIT and AOT Runtime .NET 5 is the next major version of the .NET Platform that brings technologies from .NET Framework, .NET Core and & Mono runtimes and frameworks together into one .NET platform. .NET 5 will have one Base Class Library (BCL) that will contain APIs for building any type of application. All .NET workloads are supported with application frameworks including cross-platform web development with ASP.NET, iOS and Android mobile development with Xamarin, Windows Desktop, and cross-platform IoT.  .NET 5 will have both Just-in-Time (JIT) and Ahead-of-Time (AOT) compilation models for the multiple compute and device scenarios it must support. JIT has better performance for server and desktop workloads as well as development environments. AOT has better startup, a small footprint, and is required for mobile and IoT devices.  .NET 5 will also have one unified toolchain supported by new SDK project types, will have a flexible deployment model (Side-by-Side and self-contained EXEs) and continue .NET Core's superior performance for server & cloud workloads.