New and improved ASP.NET MVC 5
-
Upload
maurice-beijer -
Category
Software
-
view
1.635 -
download
1
description
Transcript of New and improved ASP.NET MVC 5
Laat ons weten wat u vindt van deze sessie! Vul de evaluatie in via www.techdaysapp.nl en maak kans op een van de 20 prijzen*. Prijswinnaars worden bekend gemaakt via Twitter (#TechDaysNL). Gebruik hiervoor de code op uw badge.
Let us know how you feel about this session! Give your feedback via www.techdaysapp.nl and possibly win one of the 20 prizes*. Winners will be announced via Twitter (#TechDaysNL). Use your personal code on your badge.
* Over de uitslag kan niet worden gecorrespondeerd, prijzen zijn voorbeelden – All results are final, prices are examples
New and improved ASP.NET MVC 5Maurice de Beijer
New and improved ASP.NET MVC 5Deze sessie geeft je een overzicht van de vernieuwingen in MVC 5, waaronder CORS support, Attribute based routing, de verbeteringen in testbaarheid, het ASP.NET identity model en de scaffolding.
New and improved ASP.NET MVC 5
•One ASP.NET•OWIN/Katana• Identity•WebAPI 2•Scaffolding•Bootstrap
Agenda
One ASP.NET
ASP.NET
WebForms
Sites
WebPages
Single
PageApps
MVCWebAPI
SignalR
Services
One ASP.NET
One ASP.NET
OWIN
•A common interface that decouples web applications from web servers
•Katana• System.Web• System.Net.HttpListener
Open Web Interface for .NET
DemoOWIN & Katana
Identity
• Individual User Accounts• Google• Facebook• etc
•Organizational Accounts• Windows Identity Foundation
•Windows Authentication• Windows Authentication tegen Active Directory
IdentityGoogle
DemoIndividual User Accounts
WebAPI 2
•Maakt het makkelijk om specifieke URLs te maken
Attribute based routing
WebAPI 2
•Roep services op een andere server aan• Veel krachtiger en makkelijker dan JSONP
Cross-Origin Resource Sharing
WebAPI 2
• IHttpActionResult maakt testen veel makkelijker• Ook voor async functies
•Helper functies maken leven makkelijker• Ok()• NotFound()• BadRequest()• etc
Unit testing
DemoWebAPI 2
Scaffolding
•MVC• Area• Controller• View
•WebAPI• Controller• OData controller
DemoScaffolding
Bootstrap
•Templates gebaseerd op Bootstrap• 12 columns layout• Responsive by default
•Veel templates beschikbaar• http://bootswatch.com/• https://wrapbootstrap.com• En veel meer
DemoBootstrap
Vragen?
•De source code staat (straks) op GitHub• https://github.com/mauricedb
Laat ons weten wat u vindt van deze sessie! Vul de evaluatie in via www.techdaysapp.nl en maak kans op een van de 20 prijzen*. Prijswinnaars worden bekend gemaakt via Twitter (#TechDaysNL). Gebruik hiervoor de code op uw badge.
Let us know how you feel about this session! Give your feedback via www.techdaysapp.nl and possibly win one of the 20 prizes*. Winners will be announced via Twitter (#TechDaysNL). Use your personal code on your badge.
* Over de uitslag kan niet worden gecorrespondeerd, prijzen zijn voorbeelden – All results are final, prices are examples