single page applications com asp.net 5
TRANSCRIPT
![Page 1: Single Page Applications com ASP.NET 5](https://reader035.vdocument.in/reader035/viewer/2022071820/55b4f317bb61eb13038b4638/html5/thumbnails/1.jpg)
#VSSUMMIT
André Baltieri
Single Page Applications com ASP.NET vNext
Microsoft MVP – ASP.NET/IIS
http://andrebaltieri.net/
![Page 2: Single Page Applications com ASP.NET 5](https://reader035.vdocument.in/reader035/viewer/2022071820/55b4f317bb61eb13038b4638/html5/thumbnails/2.jpg)
#VSSUMMIT
Sobre
• Microsoft mvp asp.net/iis• Criador do ASP.NET Cast• Trabalha com desenvolvimento web
desde 2003• http://andrebaltieri.net/
![Page 3: Single Page Applications com ASP.NET 5](https://reader035.vdocument.in/reader035/viewer/2022071820/55b4f317bb61eb13038b4638/html5/thumbnails/3.jpg)
#VSSUMMIT
Como a web funciona
![Page 4: Single Page Applications com ASP.NET 5](https://reader035.vdocument.in/reader035/viewer/2022071820/55b4f317bb61eb13038b4638/html5/thumbnails/4.jpg)
#VSSUMMIT
Response
Request
Client Server
ProcessamentoASP.NET, C#, HTML
HTML, CSS, JAVASCRIPTProcessamento
HTML, CSS, JS
![Page 5: Single Page Applications com ASP.NET 5](https://reader035.vdocument.in/reader035/viewer/2022071820/55b4f317bb61eb13038b4638/html5/thumbnails/5.jpg)
#VSSUMMIT
Como o ASP.NET funciona
![Page 6: Single Page Applications com ASP.NET 5](https://reader035.vdocument.in/reader035/viewer/2022071820/55b4f317bb61eb13038b4638/html5/thumbnails/6.jpg)
#VSSUMMIT
Response (HTML)
Request
Client Server
ProcessamentoGERA HTML
HTML, CSS, JAVASCRIPTProcessamento
HTML, CSS, JS
![Page 7: Single Page Applications com ASP.NET 5](https://reader035.vdocument.in/reader035/viewer/2022071820/55b4f317bb61eb13038b4638/html5/thumbnails/7.jpg)
#VSSUMMIT
Como o WebAPI funciona
![Page 8: Single Page Applications com ASP.NET 5](https://reader035.vdocument.in/reader035/viewer/2022071820/55b4f317bb61eb13038b4638/html5/thumbnails/8.jpg)
#VSSUMMIT
Response (JSON)
Request
Client Server
ProcessamentoGERA JSON
HTML, CSS, JAVASCRIPTProcessamento
HTML, CSS, JS
![Page 9: Single Page Applications com ASP.NET 5](https://reader035.vdocument.in/reader035/viewer/2022071820/55b4f317bb61eb13038b4638/html5/thumbnails/9.jpg)
#VSSUMMIT
Vantagens do SPA
• Trafega apenas JSON• Utiliza o processamento do seu
device• Gera HTML no client• Maior manipulação do DOM
![Page 10: Single Page Applications com ASP.NET 5](https://reader035.vdocument.in/reader035/viewer/2022071820/55b4f317bb61eb13038b4638/html5/thumbnails/10.jpg)
#VSSUMMIT
Como aplicar SPA
• Server– DDD, TDD, BDD– ASP.NET Web API– C#– Regras de
Negócio
– JSON
• Client– HTML, CSS, JS– AngularJS*
![Page 11: Single Page Applications com ASP.NET 5](https://reader035.vdocument.in/reader035/viewer/2022071820/55b4f317bb61eb13038b4638/html5/thumbnails/11.jpg)
#VSSUMMIT
DEMO
• https://github.com/andrebaltieri/vssummit-2015
![Page 12: Single Page Applications com ASP.NET 5](https://reader035.vdocument.in/reader035/viewer/2022071820/55b4f317bb61eb13038b4638/html5/thumbnails/12.jpg)
#VSSUMMIT
Obrigado!
• ASP.NET MVC• http://bit.ly/abt-2015-mvc
• Modern Web Apps• http://bit.ly/abt-2015-mwb
• Domain Driven Design• http://bit.ly/abt-2015-ddd2