SlideShare ist ein Scribd-Unternehmen logo
1 von 20
.NET
thinking out of the box
https://rogeriomc.wordpress.com/2016/03/31/minha-palestra-no-qcon-sao-paulo-2016-explorando-o-novo-net-multiplataformaasp-net-
core-net-core-e-ef-core/
The new .NET
Open Source Cross Platform
.NET Core, o que é?
É uma implementação open source e cross plataform do .NET
framework.
.NET Core CLI
.NET Core no longer requires an IDE to compile and run your application. You can now build your
application with the dotnet command line interface.
.NET Core SDK = .NET Core + CLI tools
.NET CoreCLR
The CoreCLR is an open-source, cross-platform implementation of the .Net Runtime. It includes a VM, JIT, and the core
class library (mscorlib). It is cross-platform, with multiple OS and CPU ports in progress.
Roslyn
RyuJIT
Roslyn
.NET Compiler Platform ("Roslyn")
- Project that uses Roslyn - https://github.com/code-cracker/code-cracker
IDE
IDEs
- Free
- Open source
- Runs everywhere
ASP.NET Core
ASP.NET Core is an open source web framework for building modern web applications that can
be developed and run on Windows, Linux and the Mac. It includes the MVC framework, which
now combines the features of MVC and Web API into a single web programming framework.
ASP.NET Core is built on the .NET Core runtime, but it can also be run on the full .NET
Framework for maximum compatibility.
http://web.ageofascent.com/asp-
net-core-exeeds-1-15-million-
requests-12-6-gbps/
ASP.NET Core,
2.300% a mais de
requisição por
segundo do que
ASP.NET 4.6
IIS? ‘we can make ASP.NET Core run great on other web
servers like Nginx and even in your own hosted application.‘
Kestrel
A web server for ASP.NET Core based on libuv. (libuv is a multi-platform support library with a focus on asynchronous I/O.
It was primarily developed for use by Node.js, but it's also used by Luvit, Julia, pyuv, and others.).
How does ASP.NET Core manage to be more than 20x faster than ASP.NET? A large part of it is thanks to the brand new cross-
platform .NET web server "Kestrel", based on libuv.
Performance on OSes
Docker
What about Containers? ASP.NET Core supports running in containers, with options
available on hub.docker.com for Linux and Windows based containers to host your
applications.
https://hub.docker.com/r/microsoft/dotnet/
EF Core
https://blogs.msdn.microsoft.com/dotnet/2016/05/16/announcing
-entity-framework-core-rc2/
LLILC - https://github.com/dotnet/llilc/blob/master/Documentation/llilc-at-six-months.md
https://github.com/dotnet/llilc/blob/master/Documentation/llilc-faq.md
LLILC é um compilador JIT baseado em LLVM (Low Level Virtual
Machine) para .NET.
JIT - Just In Time, compila o teu código Just In Time :), ex:
um método é compilado somente quanto o mesmo for chamado pela
aplicação. Caso possuir um método que nunca é chamado, este
nunca será compilado pelo JIT
LLVM - Low Level Virtual machine, é uma estrutura de
compilador open source muito popular que suporta diversos
tipos de CPU.
LLILC
Quando compilamos um arquivo C#, o mesmo torna-se MSIL
(Microsoft Intermediate Language), ex: .ddl / .exe. Este por
sua vez ainda não é entendível pela CPU, não é código nativo.
Quando rodamos nosso código, o compilador JIT, method by
method compila nosso MSIL código em código de máquina/nativo.
.NET Core works, lets prove it
Por onde começar?
https://www.microsoft.com/net/core#ubuntu
1. sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet/
trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
2. sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
3. sudo apt-get update
4. sudo apt-get install dotnet-dev-1.0.0-preview1-002702
.NET Core
HANDS ON CODE
1 - dotnet new ; dotnet restore ; dotnet run
2 - asp.net core mvc
3 - yeoman (https://docs.asp.net/en/latest/client-side/yeoman.html /
https://github.com/OmniSharp/generator-aspnet)
4 - docker ; vs node integration
5 - commands (https://dotnet.github.io/docs/core-concepts/core-sdk/cli/dotnet-new.html)
https://github.com/dotnet/roslyn
https://dotnet.github.io/about/overview.html#net-compiler-
platform-roslyn
dnx - https://msdn.microsoft.com/pt-br/mt147283.aspx
A key change that occurred between RC1 and RC2 is the introduction of the .NET command-line interface. This tool replaces the dnvm, dnx,
and dnu utilities with a single tool that handles the responsibilities of these tools. Get started by executing the command `dotnet` at a
command-prompt: (https://blogs.msdn.microsoft.com/webdev/2016/05/16/announcing-asp-net-core-rc2/)
https://dotnet.github.io/docs/core-concepts/dnx-migration.html
https://www.simple-talk.com/dotnet/.net-framework/what-is-dnx/
https://blogs.msdn.microsoft.com/dotnet/2015/02/03/coreclr-is-now-open-source/ ←---------------
https://github.com/dotnet/llilc
https://www.dotnetfoundation.org/blog/announcing-llilc-llvm-
for-dotnet
.NET Core
Docker
https://hub.docker.com/r/microsoft/dotnet/

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Introduction to .NET Core
Introduction to .NET CoreIntroduction to .NET Core
Introduction to .NET Core
 
Thesis - LLVM toolchain support as a plug-in for Eclipse CDT
Thesis - LLVM toolchain support as a plug-in for Eclipse CDTThesis - LLVM toolchain support as a plug-in for Eclipse CDT
Thesis - LLVM toolchain support as a plug-in for Eclipse CDT
 
[UDS] Cloud Computing "pour les nuls" (Exemple avec LinShare)
[UDS] Cloud Computing "pour les nuls" (Exemple avec LinShare)[UDS] Cloud Computing "pour les nuls" (Exemple avec LinShare)
[UDS] Cloud Computing "pour les nuls" (Exemple avec LinShare)
 
20151117 IoT를 위한 서비스 구성과 개발
20151117 IoT를 위한 서비스 구성과 개발20151117 IoT를 위한 서비스 구성과 개발
20151117 IoT를 위한 서비스 구성과 개발
 
Roslyn: el futuro de C#
Roslyn: el futuro de C#Roslyn: el futuro de C#
Roslyn: el futuro de C#
 
Docker London Meetup: Docker Engine Evolution
Docker London Meetup: Docker Engine EvolutionDocker London Meetup: Docker Engine Evolution
Docker London Meetup: Docker Engine Evolution
 
LLVM Compiler
LLVM CompilerLLVM Compiler
LLVM Compiler
 
Angular v2 et plus : le futur du développement d'applications en entreprise
Angular v2 et plus : le futur du développement d'applications en entrepriseAngular v2 et plus : le futur du développement d'applications en entreprise
Angular v2 et plus : le futur du développement d'applications en entreprise
 
Chromium: NaCl and Pepper API
Chromium: NaCl and Pepper APIChromium: NaCl and Pepper API
Chromium: NaCl and Pepper API
 
Let's Try Every CRI Runtime Available for Kubernetes
Let's Try Every CRI Runtime Available for KubernetesLet's Try Every CRI Runtime Available for Kubernetes
Let's Try Every CRI Runtime Available for Kubernetes
 
Enabling Security via Container Runtimes
Enabling Security via Container RuntimesEnabling Security via Container Runtimes
Enabling Security via Container Runtimes
 
.NET Core Blimey! Windows Platform User Group, Manchester
.NET Core Blimey! Windows Platform User Group, Manchester.NET Core Blimey! Windows Platform User Group, Manchester
.NET Core Blimey! Windows Platform User Group, Manchester
 
ApiOps Tampere meetup 17.11.2017- serverless_with_openfaas
ApiOps Tampere meetup 17.11.2017- serverless_with_openfaasApiOps Tampere meetup 17.11.2017- serverless_with_openfaas
ApiOps Tampere meetup 17.11.2017- serverless_with_openfaas
 
Containers and Orchestration approaches
Containers and Orchestration approachesContainers and Orchestration approaches
Containers and Orchestration approaches
 
Salt and pepper — native code in the browser Browser using Google native Client
Salt and pepper — native code in the browser Browser using Google native ClientSalt and pepper — native code in the browser Browser using Google native Client
Salt and pepper — native code in the browser Browser using Google native Client
 
CI-CD WITH GITLAB WORKFLOW
CI-CD WITH GITLAB WORKFLOWCI-CD WITH GITLAB WORKFLOW
CI-CD WITH GITLAB WORKFLOW
 
.Net Core
.Net Core.Net Core
.Net Core
 
Cloud Native TLV Meetup: Securing Containerized Applications Primer
Cloud Native TLV Meetup: Securing Containerized Applications PrimerCloud Native TLV Meetup: Securing Containerized Applications Primer
Cloud Native TLV Meetup: Securing Containerized Applications Primer
 
Docker - modern platform for developement and operations
Docker - modern platform for developement and operationsDocker - modern platform for developement and operations
Docker - modern platform for developement and operations
 
CRI-containerd
CRI-containerdCRI-containerd
CRI-containerd
 

Andere mochten auch

SW Set Out 23 Apr 2015 Plan (1)
SW Set Out 23 Apr 2015 Plan (1)SW Set Out 23 Apr 2015 Plan (1)
SW Set Out 23 Apr 2015 Plan (1)
Jonathan Algie
 
SeniorProjectBOM.xlsx - Sheet1-1
SeniorProjectBOM.xlsx - Sheet1-1SeniorProjectBOM.xlsx - Sheet1-1
SeniorProjectBOM.xlsx - Sheet1-1
Jennifer Vazquez
 
Hyperglycemia Event Review Results - Patient De-identified
Hyperglycemia Event Review Results - Patient De-identifiedHyperglycemia Event Review Results - Patient De-identified
Hyperglycemia Event Review Results - Patient De-identified
Jack Mao, PharmD
 
Luovien Toimialojen Nykytila Pohjois-Savossa
Luovien Toimialojen Nykytila Pohjois-SavossaLuovien Toimialojen Nykytila Pohjois-Savossa
Luovien Toimialojen Nykytila Pohjois-Savossa
Sampsa Wulff
 

Andere mochten auch (20)

SW Set Out 23 Apr 2015 Plan (1)
SW Set Out 23 Apr 2015 Plan (1)SW Set Out 23 Apr 2015 Plan (1)
SW Set Out 23 Apr 2015 Plan (1)
 
Presentación Final
Presentación FinalPresentación Final
Presentación Final
 
Symphony bass
Symphony bassSymphony bass
Symphony bass
 
CertificatePdfServlet 2
CertificatePdfServlet 2CertificatePdfServlet 2
CertificatePdfServlet 2
 
SeniorProjectBOM.xlsx - Sheet1-1
SeniorProjectBOM.xlsx - Sheet1-1SeniorProjectBOM.xlsx - Sheet1-1
SeniorProjectBOM.xlsx - Sheet1-1
 
Curso
CursoCurso
Curso
 
Klavertje 4 Model - Sc
Klavertje 4 Model - ScKlavertje 4 Model - Sc
Klavertje 4 Model - Sc
 
Reino fungí
Reino fungíReino fungí
Reino fungí
 
Hyperglycemia Event Review Results - Patient De-identified
Hyperglycemia Event Review Results - Patient De-identifiedHyperglycemia Event Review Results - Patient De-identified
Hyperglycemia Event Review Results - Patient De-identified
 
Luovien Toimialojen Nykytila Pohjois-Savossa
Luovien Toimialojen Nykytila Pohjois-SavossaLuovien Toimialojen Nykytila Pohjois-Savossa
Luovien Toimialojen Nykytila Pohjois-Savossa
 
Publicación1
Publicación1Publicación1
Publicación1
 
Certificate
CertificateCertificate
Certificate
 
Presentation_NEW.PPTX
Presentation_NEW.PPTXPresentation_NEW.PPTX
Presentation_NEW.PPTX
 
Sell sheet 1
Sell sheet 1Sell sheet 1
Sell sheet 1
 
Alimentacao saudavel idosa_profissionais_saude
Alimentacao saudavel idosa_profissionais_saudeAlimentacao saudavel idosa_profissionais_saude
Alimentacao saudavel idosa_profissionais_saude
 
Eliana fleury
Eliana fleuryEliana fleury
Eliana fleury
 
[BrunoiMob] Vent residencial
[BrunoiMob] Vent residencial[BrunoiMob] Vent residencial
[BrunoiMob] Vent residencial
 
Honda strømaggregater 1.2.2016 Grim Maskin, Lillestrøm, Jessheim
Honda strømaggregater 1.2.2016 Grim Maskin, Lillestrøm, JessheimHonda strømaggregater 1.2.2016 Grim Maskin, Lillestrøm, Jessheim
Honda strømaggregater 1.2.2016 Grim Maskin, Lillestrøm, Jessheim
 
Katalog Europower strømaggregater 2015
Katalog Europower strømaggregater 2015Katalog Europower strømaggregater 2015
Katalog Europower strømaggregater 2015
 
Honda hage og park 2014 Grim Maskin Service
Honda hage og park 2014 Grim Maskin ServiceHonda hage og park 2014 Grim Maskin Service
Honda hage og park 2014 Grim Maskin Service
 

Ähnlich wie .Net Core

tybsc it asp.net full unit 1,2,3,4,5,6 notes
tybsc it asp.net full unit 1,2,3,4,5,6 notestybsc it asp.net full unit 1,2,3,4,5,6 notes
tybsc it asp.net full unit 1,2,3,4,5,6 notes
WE-IT TUTORIALS
 
Introdot Netc Sharp En
Introdot Netc Sharp EnIntrodot Netc Sharp En
Introdot Netc Sharp En
Gregory Renard
 

Ähnlich wie .Net Core (20)

AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...
AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...
AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...
 
.Net introduction by Quontra Solutions
.Net introduction by Quontra Solutions.Net introduction by Quontra Solutions
.Net introduction by Quontra Solutions
 
1..Net Framework Architecture-(c#)
1..Net Framework Architecture-(c#)1..Net Framework Architecture-(c#)
1..Net Framework Architecture-(c#)
 
Introduction to .net
Introduction to .netIntroduction to .net
Introduction to .net
 
Academy PRO: .NET Core intro
Academy PRO: .NET Core introAcademy PRO: .NET Core intro
Academy PRO: .NET Core intro
 
Future of .NET - .NET on Non Windows Platforms
Future of .NET - .NET on Non Windows PlatformsFuture of .NET - .NET on Non Windows Platforms
Future of .NET - .NET on Non Windows Platforms
 
.NET Core, ASP.NET Core Course, Session 3
.NET Core, ASP.NET Core Course, Session 3.NET Core, ASP.NET Core Course, Session 3
.NET Core, ASP.NET Core Course, Session 3
 
tybsc it asp.net full unit 1,2,3,4,5,6 notes
tybsc it asp.net full unit 1,2,3,4,5,6 notestybsc it asp.net full unit 1,2,3,4,5,6 notes
tybsc it asp.net full unit 1,2,3,4,5,6 notes
 
Inside CoreCLR
Inside CoreCLRInside CoreCLR
Inside CoreCLR
 
NET core 2 e i fratelli
NET core 2 e i fratelliNET core 2 e i fratelli
NET core 2 e i fratelli
 
.Net: Introduction, trends and future
.Net: Introduction, trends and future.Net: Introduction, trends and future
.Net: Introduction, trends and future
 
Red Hat and kubernetes: awesome stuff coming your way
Red Hat and kubernetes:  awesome stuff coming your wayRed Hat and kubernetes:  awesome stuff coming your way
Red Hat and kubernetes: awesome stuff coming your way
 
Pottnet Meetup Essen - ASP.Net Core
Pottnet Meetup Essen - ASP.Net CorePottnet Meetup Essen - ASP.Net Core
Pottnet Meetup Essen - ASP.Net Core
 
Pottnet MeetUp Essen - ASP.Net Core
Pottnet MeetUp Essen - ASP.Net CorePottnet MeetUp Essen - ASP.Net Core
Pottnet MeetUp Essen - ASP.Net Core
 
Dotnet core
Dotnet coreDotnet core
Dotnet core
 
Introdot Netc Sharp En
Introdot Netc Sharp EnIntrodot Netc Sharp En
Introdot Netc Sharp En
 
Dive into .Net Core framework
Dive into .Net Core framework Dive into .Net Core framework
Dive into .Net Core framework
 
Visual studio 2015 and .net core 5 – get ready to rumble
Visual studio 2015 and .net core 5  – get ready to rumbleVisual studio 2015 and .net core 5  – get ready to rumble
Visual studio 2015 and .net core 5 – get ready to rumble
 
ASP.NET Core: The best of the new bits
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
 
.Net overview
.Net overview.Net overview
.Net overview
 

Kürzlich hochgeladen

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 

Kürzlich hochgeladen (20)

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 

.Net Core

  • 1. .NET thinking out of the box https://rogeriomc.wordpress.com/2016/03/31/minha-palestra-no-qcon-sao-paulo-2016-explorando-o-novo-net-multiplataformaasp-net- core-net-core-e-ef-core/
  • 2. The new .NET Open Source Cross Platform
  • 3. .NET Core, o que é? É uma implementação open source e cross plataform do .NET framework.
  • 4. .NET Core CLI .NET Core no longer requires an IDE to compile and run your application. You can now build your application with the dotnet command line interface. .NET Core SDK = .NET Core + CLI tools
  • 5. .NET CoreCLR The CoreCLR is an open-source, cross-platform implementation of the .Net Runtime. It includes a VM, JIT, and the core class library (mscorlib). It is cross-platform, with multiple OS and CPU ports in progress. Roslyn RyuJIT
  • 6. Roslyn .NET Compiler Platform ("Roslyn") - Project that uses Roslyn - https://github.com/code-cracker/code-cracker
  • 7. IDE
  • 8. IDEs - Free - Open source - Runs everywhere
  • 9. ASP.NET Core ASP.NET Core is an open source web framework for building modern web applications that can be developed and run on Windows, Linux and the Mac. It includes the MVC framework, which now combines the features of MVC and Web API into a single web programming framework. ASP.NET Core is built on the .NET Core runtime, but it can also be run on the full .NET Framework for maximum compatibility. http://web.ageofascent.com/asp- net-core-exeeds-1-15-million- requests-12-6-gbps/ ASP.NET Core, 2.300% a mais de requisição por segundo do que ASP.NET 4.6 IIS? ‘we can make ASP.NET Core run great on other web servers like Nginx and even in your own hosted application.‘
  • 10. Kestrel A web server for ASP.NET Core based on libuv. (libuv is a multi-platform support library with a focus on asynchronous I/O. It was primarily developed for use by Node.js, but it's also used by Luvit, Julia, pyuv, and others.). How does ASP.NET Core manage to be more than 20x faster than ASP.NET? A large part of it is thanks to the brand new cross- platform .NET web server "Kestrel", based on libuv.
  • 12. Docker What about Containers? ASP.NET Core supports running in containers, with options available on hub.docker.com for Linux and Windows based containers to host your applications. https://hub.docker.com/r/microsoft/dotnet/
  • 14. LLILC - https://github.com/dotnet/llilc/blob/master/Documentation/llilc-at-six-months.md https://github.com/dotnet/llilc/blob/master/Documentation/llilc-faq.md LLILC é um compilador JIT baseado em LLVM (Low Level Virtual Machine) para .NET. JIT - Just In Time, compila o teu código Just In Time :), ex: um método é compilado somente quanto o mesmo for chamado pela aplicação. Caso possuir um método que nunca é chamado, este nunca será compilado pelo JIT LLVM - Low Level Virtual machine, é uma estrutura de compilador open source muito popular que suporta diversos tipos de CPU.
  • 15. LLILC Quando compilamos um arquivo C#, o mesmo torna-se MSIL (Microsoft Intermediate Language), ex: .ddl / .exe. Este por sua vez ainda não é entendível pela CPU, não é código nativo. Quando rodamos nosso código, o compilador JIT, method by method compila nosso MSIL código em código de máquina/nativo.
  • 16. .NET Core works, lets prove it Por onde começar? https://www.microsoft.com/net/core#ubuntu 1. sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list' 2. sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893 3. sudo apt-get update 4. sudo apt-get install dotnet-dev-1.0.0-preview1-002702
  • 17. .NET Core HANDS ON CODE 1 - dotnet new ; dotnet restore ; dotnet run 2 - asp.net core mvc 3 - yeoman (https://docs.asp.net/en/latest/client-side/yeoman.html / https://github.com/OmniSharp/generator-aspnet) 4 - docker ; vs node integration 5 - commands (https://dotnet.github.io/docs/core-concepts/core-sdk/cli/dotnet-new.html)
  • 18. https://github.com/dotnet/roslyn https://dotnet.github.io/about/overview.html#net-compiler- platform-roslyn dnx - https://msdn.microsoft.com/pt-br/mt147283.aspx A key change that occurred between RC1 and RC2 is the introduction of the .NET command-line interface. This tool replaces the dnvm, dnx, and dnu utilities with a single tool that handles the responsibilities of these tools. Get started by executing the command `dotnet` at a command-prompt: (https://blogs.msdn.microsoft.com/webdev/2016/05/16/announcing-asp-net-core-rc2/) https://dotnet.github.io/docs/core-concepts/dnx-migration.html https://www.simple-talk.com/dotnet/.net-framework/what-is-dnx/ https://blogs.msdn.microsoft.com/dotnet/2015/02/03/coreclr-is-now-open-source/ ←---------------