o novo asp.net - campinas .net - março/2017
TRANSCRIPT
![Page 1: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/1.jpg)
O novo ASP.NETDESENVOLVIMENTO WEB NA PLATAFORMA .NET EM WINDOWS E LINUX
![Page 2: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/2.jpg)
Renato Groffe◦ Microsoft Most Valuable Professional (MVP)
◦ Multi-Plataform Technical Audience Contributor
◦ Mais de 15 anos de experiência na área de Tecnologia
◦ Articulista e Palestrante
![Page 3: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/3.jpg)
Contatos◦ Facebook: https://www.facebook.com/renatogroff
◦ Site: http://renatogroffe.net/
◦ Canal .NET: https://www.facebook.com/canaldotnet
◦ LinkedIn: http://br.linkedin.com/in/renatogroffe
◦ GitHub: https://github.com/renatogroffe
![Page 4: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/4.jpg)
Agenda
◦ Principais características do ASP.NET Core
◦ Alguns exemplos
![Page 5: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/5.jpg)
Principais características do ASP.NET Core
![Page 6: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/6.jpg)
ASP.NET Core – Primórdios◦ Chamado inicialmente de ASP.NET vNext e
depois ASP.NET 5
◦ Primeiros releases em 2014
◦ Rebatizado como ASP.NET Core 1.0 em Janeiro/2016
◦ Um novo framework, completamente reescrito
![Page 7: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/7.jpg)
ASP.NET Core – Estrutura geral
![Page 8: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/8.jpg)
ASP.NET Core – Open source◦ Projeto hospedado no GitHub
https://github.com/aspnet/Home
![Page 9: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/9.jpg)
ASP.NET Core – Sites, serviços?◦ Uma única arquitetura, com a unificação dos modelos MVC e Web API
![Page 10: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/10.jpg)
ASP.NET Core – Cloud computing◦Otimizado para a nuvem (cloud-ready)
![Page 11: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/11.jpg)
ASP.NET Core – Estrutura dos projetos◦Arquivos de configuração no formato JSON (parte deles)
◦ .csproj ao invés de project.json → Visual Studio 2017
![Page 12: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/12.jpg)
ASP.NET Core – Arquitetura◦ Mais enxuta e modular, baseada no
modelo OWIN (projeto Katana)
◦ Mecanismo nativo para injeção de dependências
◦ Middlewares
◦ Fim do System.Web
![Page 13: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/13.jpg)
ASP.NET Core – Hospedagem de soluções◦ Internet Information Services (IIS)
◦ Azure App Service
◦ Containers (Docker)
◦ Processos self-host
◦ Amazon Web Services
◦ IBM Bluemix
![Page 14: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/14.jpg)
ASP.NET Core – Front-end◦Gerenciamento automatizado de pacotes client-side
◦ Bower → instalação e restauração◦ Gulp → automação de tarefas (sintaxe JavaScript)◦ npm → ambiente de execução
![Page 15: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/15.jpg)
ASP.NET Core – Arquivos Razor
◦ View Components
◦ Tag Helpers
![Page 16: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/16.jpg)
ASP.NET Core – Ferramentas◦Visual Studio 2015◦Visual Studio 2017◦Visual Studio Code (Windows, Linux e Mac)◦Visual Studio for Mac
![Page 17: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/17.jpg)
ASP.NET Core e Visual Studio Code◦ Criação de novos projetos via Yeoman
◦ generator-aspnet (OmniSharp): templates para ASP.NET Core
![Page 18: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/18.jpg)
Exemplos práticos
![Page 19: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/19.jpg)
Exemplos práticos
◦Alguns aplicações explorando os novos recursos do ASP.NET Core
![Page 20: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/20.jpg)
Dúvidas?
![Page 21: O novo ASP.NET - Campinas .NET - Março/2017](https://reader033.vdocuments.pub/reader033/viewer/2022051520/58ee1e7c1a28ab13578b457d/html5/thumbnails/21.jpg)
Obrigado!