Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Asp.Net MVC 5

17,463 views

Published on

Published in: Technology
  • Be the first to comment

Asp.Net MVC 5

  1. 1. emanuele@smartcoretech.com
  2. 2. #WebAndBeyon d
  3. 3. Sponsor
  4. 4. Agenda      Chi eravamo e dove andiamo One Asp.Net Novità WebForms Novità MVC 5 Migrazione da MVC 4 a MVC 5
  5. 5. ONE ASP.NET
  6. 6. ASP.NET 4.5 In generale • Script e Librerie da NuGet • Async • Web Optimization • Request Validation • Data Annotations • HTML5 Web Sockets (IIS 8 e SignalR) • 30% più veloce a partire • 30% di occupazione di memoria in meno!
  7. 7. WebForms • HTML5 • Request Validation • Strongly Typed Data Controls • Model Binders
  8. 8. Strongly Typed Data Controls
  9. 9. MVC 5 • • • • • • • • HTML5 Bootstrap Scaffolding Async Routing ASP.NET Identity Filter Overrides EF6
  10. 10.
  11. 11. MVC 4 > MVC 5 • Verificare che le librerie usate siano compatibili • Tools -> Library Package Manager -> Package Manager Console • • • • Uninstall-Package -Id Microsoft.AspNet.WebPages.Administration Uninstall-Package -Id Microsoft-Web-Helpers Uninstall-Package -Id Microsoft.AspNet.Mvc.FixedDisplayModes Update-Package (aggiorna tutti i pacchetti scaricati)
  12. 12. MVC 4 > MVC 5 • Aggiornare il web.config
  13. 13. MVC 4 > MVC 5 • Aggiornare il web.config nella cartella Views • Tools -> Library Package Manager -> Package Manager Console • • Unload Project -> Edit ProjectName.csproj e rimuovere il Guid dell’elemento «ProjectTypeGuids»
  14. 14. #WebAndBeyon d
  15. 15. Grazie 

×