Palestra de Asp.Net 5 no TDC floripa e DotnetFloripa

  • View
    93

  • Download
    0

Embed Size (px)

Text of Palestra de Asp.Net 5 no TDC floripa e DotnetFloripa

  1. 1. Primeiros Passos no ASP.NET 5 Renato Haddad www.renatohaddad.com @rehaddad May 14, 2015 May 14 15, 2015 2015 Microsoft MVP Virtual Conference
  2. 2. ASP.NET 5 e Modern Web Vrios editores e ferramentas Contribuies Open Source Cross-Platform Transio suave de local para nuvem Ciclo Desenvolvimento RpidoTotalmente Modular ASP.NET 5 um novo framework open-source e cross-platform para construir modernas aplicaes Web baseadas na nuvem usando .NET.
  3. 3. ASP.NET 5 requer .NET Execution Environment (DNX) Plataformas de Execuo Windows Mac OS X Linux
  4. 4. .NET Version Manager (DNVM) Plataformas de Execuo powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1 '))} ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_BRANCH=dev sh && source ~/.dnx/dnvm/dnvm.sh
  5. 5. O que Open Source?
  6. 6. Servidores IIS ou self-hosting No Windows voc pode usar o IIS ou outro que usa o servidor WebListener, o qual baseado no HTTP.sys. Para ambientes no-Windows usando cross-platform, use o servidor web Kestrel.
  7. 7. Command Prompt DNVM (.NET Version Manager) DNX (.NET Execution Environment) DNU (.NET Development Utility)
  8. 8. Arquivos de Configuraes project.json config.json bower.json package.json
  9. 9. Injeo de Dependncia Nos arquivos de configuraes
  10. 10. Injeo de Dependncia Via Razor
  11. 11. Injeo de Dependncia Por projetos e framework (veja net451)