Accélérer vos développements Web grâce aux frameworks , toolkit & applications
description
Transcript of Accélérer vos développements Web grâce aux frameworks , toolkit & applications
2
Accélérer vos développements Web grâce aux frameworks, toolkit & applicationsRIA203
Pierre et DavidMicrosoft France
3
›Au programme de la session
4
de l'ASP.NET
5
du MVC
6
du RAZOR
7
des nuggets
8
de l'IIS Express
9
de l'Outillage
10
des Contrôles
11
De l'Html 5
12
des addin
13
de la productivité
14
du T4
15
du
16
du
17
des Frameworks
18
des applications
19
on a forcement oublié des choses
Ne pas oublier
ça !
20
Mais avec David on va zoomer
21
›ASP.NET v4
22
Demos• Razor• NuGet : http://nuget.org/
• http://weblogs.asp.net/scottgu/archive/2010/10/06/announcing-nupack-asp-net-mvc-3-beta-and-webmatrix-beta-2.aspx
• IIS Express (Avec VS2010 SP1)• EF Feature CTP5
• Code First• http://
blogs.msdn.com/b/adonet/archive/2010/12/14/ef-feature-ctp5-code-first-walkthrough.aspx
• Fluent API• http://
blogs.msdn.com/b/adonet/archive/2010/12/14/ef-feature-ctp5-fluent-api-samples.aspx
23
Annotations EF CodeFirst CTP5• KeyAttribute • StringLengthAttribute • MaxLengthAttribute • ConcurrencyCheckAttribute • RequiredAttribute • TimestampAttribute • ComplexTypeAttribute • ColumnAttribute
Placed on a property to specify the column name, ordinal & data type • TableAttribute
Placed on a class to specify the table name and schema • InversePropertyAttribute
Placed on a navigation property to specify the property that represents the other end of a relationship
• ForeignKeyAttribute Placed on a navigation property to specify the property that represents the foreign key of the relationship
• DatabaseGeneratedAttribute Placed on a property to specify how the database generates a value for the property (Identity, Computed or None)
• NotMappedAttribute Placed on a property or class to exclude it from the database
24
›Les contrôles
25
Contrôles• MS
• AjaxControlToolkit (plus MS) http://ajaxcontroltoolkit.codeplex.com/
• Toolkit• http://www.asp.net/community/control-gallery/• Bag-o-Tricks https://github.com/thinkpixellab/bot
• MVC• http://demos.telerik.com/aspnet-mvc • http://mvcdemo.chiplex.com
• Html5• http://
www.deanhume.com/Home/BlogPost/asp-net-mvc-html5-toolkit/29
• Editeurs• http://tinymce.moxiecode.com/• http://premiumsoftware.net/cleditor/index.html
26
›Les addins
27
Addin VS• HTML5
• VS2010 SP1• VS2008, VS2010
http://visualstudiogallery.msdn.microsoft.com/d771cbc8-d60a-40b0-a1d8-f19fc393127d/
• Productivity PowerTools• AddRef• Ctrl 3• http://msdn.microsoft.com/fr-fr/vstudio/dossier.vs2010.aspx
• T4 editor (demo a faire)• Reflector• Resharper
28
T4
29
R# ReSharperhttp://www.jetbrains.com/resharper/index.html
30
›Silverlight
31
Silverlight• Control Toolkit
• http://silverlight.codeplex.com/ • Telerik
• http://www.telerik.com/products/silverlight.aspx • RIA Services
32
›Framework / Application
33
Framework• jQuery
• www.jquery.org• JavaScript InfoVis Toolkit
• http://thejit.org/ • Helper
• http://blogs.msdn.com/b/erikreitan/archive/2010/07/12/webmatrix-helpers.aspx
• MVVM Lite
34
Applications• WebPI
• WebMatrix• BlogEngine• Orchard (CMS)
• Site• Addin