| Lausanne
Quoi de neuf dans ASP.NET avec Visual Studio 2013 ?
Julien COQUERET
Agenda
Agenda
Présentation 5’
Nouveautés ASP.NET 20’ One ASP.NET ASP.NET MVC 5 OWIN
Visual Studio 2013 20’ Browser Link Editeurs HTML / CSS / JS
Conclusion 5’
Questions / Réponses 5’
| Lausanne
Présentation
Chapitre 1/5
Exakis
En quelques mots: Création en 2001
300 consultants et experts
7 agences en France et 2 en Suisse
350 certifications Microsoft pour 12 domaines de compétences Gold & Silver
Membre du « Microsoft Apps Circle »
Exakis, première Entreprise de Services du Numérique MicrosoftNotre
positionnement 1er Partenairepure-player de Microsoft
Notre objectif
Vous apporterdes solutions technologiquesqui vous permettront d’améliorer vos performances
Notre métier
Intégration de solutions pour l'entreprise basée surla plateforme Microsoft
| Lausanne
Nouveautés ASP.NET
Chapitre 2/5
Nouveautés ASP.NET
NuGet 2.7
One ASP.NETWeb Forms, MVC, OData dans le même projetAuthentification configurable
ASP.NET IdentityAuthentification Twitter, Google, Microsoft, Facebook out of the box
OWIN (Open Web Interface for .Net)Portabilité et extensibilité de vos Web App
ASP.NET
Nouveautés ASP.NET
ASP.NET MVC 5BootstrapAttribute routingAuthentication filtersFilter overrides
ASP.NET Web API 2Attribute routingOAuth 2.0OData ($select, $expand, …)CORSOWIN
SignalR 2.0CORSClient .NET PortableOWIN
One ASP.NET
One ASP.NET
One ASP.NET
SitesServic
es
Web Form
s
Web Page
s
Single
Page Apps
MVCWeb API
SignalR
ASP.NET
One ASP.NET
One ASP.NET
One ASP.NET
Les avantages de One ASP.NET: Un seul point d’entrée pour créer une application web
Cohabitation des Framework au sein d’un même projet (MVC, Web API, …)
ASP.NET Identity : nouveau système d’authentification
OWIN (Open Web Interface for .NET)
DémoOne ASP.NET
ASP.NET MVC 5Nouveautés du Framework
ASP.NET MVC 5
Authentication filter Vient s’ajouter en complément des 4
autres types de filtres Intervient avant l’étape d’autorisation Interface : IAuthenticationFilter
Filter overrides Exclut une Action ou un Controller des
filtres [OverrideActionFilters],
[OverrideAuthentication], … Interface : IOverrideFilter
Attribute routing Annotation des Action et Controller Visibilité des routes au plus près de la
fonctionnalité
DémoAuthentication Filter et Attribute Routing
OWINLa portabilité et l’extensibilité de vos applications
OWIN
Web Application
Middleware
Server
Host
SystemWeb
IIS
HttpListener
Console App
Architecture OWIN
WebListener
OwinHost.exe
Owin pipeline
OWIN
Spécifications OWINDélégué d’application
Simplification de l’interface d’échange pour une compatibilité maximaleDictionnaire d’environnement:
« owin.RequestProtocol » « owin.RequestQueryString » …
OWIN
Katana : Implémentation OWIN par Microsoft
Microsoft.Owin.Host.SystemWeb : Intégration OWIN et IISMicrosoft.Owin.Host.HttpListener : Server OWIN out of the boxMicrosoft.Owin.Hosting : boîte à outil du self hostingOwinHost : Exécutable stand-aloneMicrosoft.Owin : Librairie de HelperMicrosoft.Owin.Security.XXX : Composants d’authentification
SignalR 2.0
NouveautésRespect des spécifications OWIN Agit comme un OMC (OWIN Middelware Component) Self-Hosting
Client .NET portable .Net 4.5, Silverlight, WinRT, WP8
CORS Support
Broadcast vers des listes de groupes/clients
DémoOWIN et SignalR 2.0
| Lausanne
Visual Studio 2013
Chapitre 3/5
Browser LinkCommunication entre Visual Studio 2013 et vos navigateurs
Browser Link
Connexion bidirectionnelle
Browser Link
Met à jour en un seul clic tous les navigateurs connectésGrande compatibilité avec les navigateursFacilite l’intégration multi-navigateurs/plateformes
Extensible via les API Visual Studio
PrérequisMinimum .NET 4.0Configuration : debug = true (<compilation> web.config)Application exécutée en localhost
DémoBrowser Link
Editeurs HTML / CSS / JS
Editeurs HTML / CSS / JS
Amélioration des IntelliSense
Support des Frameworks Front-End
Web Essentials 2013
DémoEditeurs HTML / CSS / JS
| Lausanne
Conclusion
Chapitre 4/5
Conclusion
Visual studio 2013 Amélioration des éditeurs Rapidité du développement avec de nouveaux outils Extensible
ASP.NET One ASP.NET : 1 projet, plusieurs Frameworks Cap sur la portabilité avec Bootstrap Nouvelle architecture OWIN
| Lausanne
Questions / Réponses
Chapitre 5/5
| Lausanne
Merci
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a
commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a
commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Top Related